07 2013 档案

CHAPTER 1 Architectural Overview of Oracle Database 11g
摘要:Which SGA structures are required, and which are optional? Thedatabase buffer cache, log buffer, and shared pool are required; the large pool,Java pool, and Streams pool are optional.It is not possible to create a log buffer smaller than the default. If you attempt to,it will be set to the default s 阅读全文

posted @ 2013-07-16 10:27 kramer 阅读(444) 评论(0) 推荐(0)

resource manager
摘要:在开始学习resource manager之前,首先得有个概念,这个东西是干什么的,为什么需要。 顾名思义,resource manager是管理资源的。我自己在学习之前就有那么点疑问,资源管理嘛,无非是管理cpu 内存啦什么的这些资源的分发。可是unix linux这些操作系统难道不能做到这些吗? 下面一段话很好的解释了我这个疑问:In a mainframe environment, the operating system itself handles allocating resourcesto tasks. A transaction processing (TP) monitor 阅读全文

posted @ 2013-07-11 11:30 kramer 阅读(434) 评论(0) 推荐(0)

something interesting when read docs
摘要:When you kill a session with "ALTER SYSTEM KILL SESSION '' ".If the session is performing some activity that must be completed, such as waiting fora reply from a remote database or rolling back a transaction, then Oracle Databasewaits for this activity to complete, marks the sessio 阅读全文

posted @ 2013-07-09 16:38 kramer 阅读(182) 评论(0) 推荐(0)

some notes about ADDM and AWR
摘要:Use the sophisticated management and monitoring features of the Oracle DatabaseDiagnostic and Tuning packs within Oracle Enterprise Manager that include theAutomatic Database Diagnostic Monitor (ADDM) and AWR.The above words comes from oracle official document. Oracle 11.0.2.3Oracle Real Application 阅读全文

posted @ 2013-07-08 15:46 kramer 阅读(228) 评论(0) 推荐(0)

Oracle GV$VIEW
摘要:Thecatclustdb.sql script creates the GV$ views. Run this script if you do notcreate your database with DBCA. Otherwise, DBCA runs this script for you.Oracle Real Application Clusters Administration and Deployment Guide 阅读全文

posted @ 2013-07-08 15:36 kramer 阅读(215) 评论(0) 推荐(0)

XA transaction ,JTA , two phase commit , GTX0-j
摘要:本文主要是对以前一直迷惑的几个名字的学习。xa transaction简单查了一下,大概就是 distributed transaction。 相比传统的transaction而言,传统的transaction 一般只发生在一个数据库中。而 xa transaction 可能需要发生在多个数据库或者其它资源中。比如说在某个业务环境下,一个transaction 需要往一个oracle数据库插入一条记录,需要往mysql插入一条记录,需要在MQ中写一条信息,需要往ldap中写一个信息, 只有这四部都完成了,才能说一个transaction成功了。这种情况下一般需要一个程序,比如J2EE服务器坐中 阅读全文

posted @ 2013-07-05 17:07 kramer 阅读(718) 评论(0) 推荐(0)

Oracle RAC load blance
摘要:首先声明 本文基本是阅读 大话RAC 后的笔记。OK, 进入正题。Oracle 10g RAC中采取两种方式提供负载均衡。第一种是connection blance。在用户连接的时候,根据随机算法把用户的连接定向到不同的节点。第二种是通过service,在应用层面上进行负载均衡。打个比方,一个ERP系统中包括多个模块,为多个部门服务。比如销售模块,人力资源管理模块。如果通过service进行负载均衡,我们可以定义一个 sales service代理销售模块,并且该service运行在节点1上,这样使用销售模块的人就会连接到节点1上。同理,定义一个HR service,代理人力资源模块,这样使用 阅读全文

posted @ 2013-07-04 10:23 kramer 阅读(415) 评论(0) 推荐(0)

查看表空间使用率及shrink 表空间
摘要:首先,可以通过下面的sql statement来查看表空间的使用情况。注意,该语句是在10g下测试过。SELECT FREE.TABLESPACE_NAME, FREE.FREE_SPACE/TOTAL.TOTAL_SPACE FROM (select TABLESPACE_NAME,sum(bytes)/1024/1024 AS FREE_SPACE from dba_free_space group by TABLESPACE_NAME) FREE, (select TABLESPACE_NAME,sum(BYTES)/1024/1024 AS TOTAL_SPACE from dba_. 阅读全文

posted @ 2013-07-03 13:42 kramer 阅读(645) 评论(0) 推荐(0)

RAC fail over 测试
摘要:oracle rac 11gr2中提供了多种 failover方式,这里只测试 server side TAF. 也就是说在server端配置的failover。这种配置方式的好处就是,如果有什么改动可以在server端改动,不必去多个client端改。OK 实验步骤如下:首先,创建service[oracle@racnode1 ~]$ srvctl add service -d orcl -s my_service -r "orcl1" -a "orcl2" -P basic然后,启动service并查看状态。 可以看到service启动在了orcl1 阅读全文

posted @ 2013-07-02 17:21 kramer 阅读(333) 评论(0) 推荐(0)

导航