上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 117 下一页

2009年11月27日

db file parallel write,write complete waits

摘要: SQL> select * from v$version; BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 1... 阅读全文

posted @ 2009-11-27 11:01 如果蜗牛有爱情 阅读(166) 评论(0) 推荐(0) 编辑

2009年11月26日

模拟direct path read 等待事件

摘要: 引起direct path read这个等待事件 主要有两个原因,一个是磁盘排序,另外一个是并行查询。这里先做一个磁盘排序引起的 direct path read.另外磁盘排序也会记录direct path write 等待事件。 下面是实验步骤: SQL> select * from v$ve... 阅读全文

posted @ 2009-11-26 22:54 如果蜗牛有爱情 阅读(122) 评论(0) 推荐(0) 编辑

找到引起磁盘排序的SQL

摘要: 下面的这些脚本都可以找到引起磁盘排序的SQL。 SELECT /*+ rule */ DISTINCT a.SID, a.process, a.serial#,TO_CHAR (a.logon_time, 'YYYYMMDD HH24:MI:SS') LOGON, a.osuser,TABLES... 阅读全文

posted @ 2009-11-26 22:45 如果蜗牛有爱情 阅读(116) 评论(0) 推荐(0) 编辑

关于I/O的一些脚本

摘要: 可以使用如下脚本查询某个数据文件单块读的平均时间(摘自OWI) select a.file# "File#",b.file_name "File_Name",a.singleblkrds "Single Block Reads",a.singleblkrdtim "Single Block Re... 阅读全文

posted @ 2009-11-26 16:34 如果蜗牛有爱情 阅读(123) 评论(0) 推荐(0) 编辑

2009年11月24日

free buffer waits

摘要: free buffer waits:当一个session试图将一个block读入buffer cache,或者由于读一致需要构造cr的block找不到free buffer而产生的等待。 SQL> select name,parameter1,parameter2,parameter3,wai... 阅读全文

posted @ 2009-11-24 17:25 如果蜗牛有爱情 阅读(119) 评论(0) 推荐(0) 编辑

direct path read,direct path write

摘要: direct path read这个等待事件表示Oracle读取数据块直接进入PGA,而非SGA中的Buffer Cache中。 SQL> select name,parameter1,parameter2,parameter3,wait_class from v$event_name wh... 阅读全文

posted @ 2009-11-24 16:52 如果蜗牛有爱情 阅读(95) 评论(0) 推荐(0) 编辑

模拟buffer busy waits等待事件

摘要: SQL> create table buffer_busy(id number,name varchar2(20)); 表已创建。SQL> insert into buffer_busy values(1,'robinson'); 已创建 1 行。 SQL> insert into buffer... 阅读全文

posted @ 2009-11-24 14:54 如果蜗牛有爱情 阅读(100) 评论(0) 推荐(0) 编辑

cache buffers chains ,buffer busy waits

摘要: 当一个session想要访问/修改buffer cache的block,首先需要检查该block是否存在于buffer cache,检查该block是否存在于buffer cache中是通过HASH算法来实现的,另外检查相同的SQL语句是否存在于library cache中也是通过HASH算法实... 阅读全文

posted @ 2009-11-24 12:24 如果蜗牛有爱情 阅读(100) 评论(0) 推荐(0) 编辑

2009年11月23日

检查日志文件是否传输到备用数据库

摘要: 例如:我配置归档位置如下: SQL> show parameter log_archive_dest_2 NAME TYPE VALUE-------------------... 阅读全文

posted @ 2009-11-23 11:19 如果蜗牛有爱情 阅读(92) 评论(0) 推荐(0) 编辑

2009年11月21日

找出热点块所属的用户,对象名,类型

摘要: select owner,object_name,object_type from dba_objects where data_object_id in (select obj from x$bh where hladdr in (select addr from (select addr ... 阅读全文

posted @ 2009-11-21 23:20 如果蜗牛有爱情 阅读(115) 评论(0) 推荐(0) 编辑

上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 117 下一页

导航