Oracle Wait Interface学习笔记(3) Common Wait Events(5)
(OWI学习笔记索引)Common wait Events in RACGlobal cache cr requestWhen a session is looking for a consistent read (CR) copy of the buffer cached by the remote instance, it waits on the global cache ...
Oracle Wait Interface学习笔记(3) Common Wait Events(4)
(OWI学习笔记索引)Log file switch(archiving needed)当LGWR要切换到下一个redo log group时发现arch进程尚未将该日志组写道archived log file destination,此时就会出现该等待事件。Log file switch(check...
Oracle Wait Interface学习笔记(3) Common Wait Events(3)
(OWI学习笔记索引)Library cache pin当一个Session要更改library cache中的对象,它必须先获取pin, 在这个session编译或者分析PL/SQL存储过程和视图的过程中oracle会提交library cache pin事件。(这段不太明白)Wh...
Oracle Wait Interface学习笔记(3) Common Wait Events(2)
(OWI学习笔记索引)Direct path write同direct path read相对应,是由于direct data loads(inserts with APPEND hint OR CATS)或并行的DML操作需要写入temporary segments引起的。Enqueue某一个Session需要使用数...
Oracle Wait Interface学习笔记(3) Common Wait Events(1)
(OWI学习笔记索引)Common Wait EventsBuffer busy waits当一个session要获取buffer cache中的数据块,而该数据块正在被其他session所使用时这一event就会出现。两种情况下会产生这一事件:l 另一Se...
Oracle Wait Interface学习笔记(2) OWI Componets(8)
(OWI学习笔记索引)l V$EVENT_HISTOGRAM这个动态视图保留了各等待事件的等待时间分布图,统计的依据是wait_time_milli字段,是预定义的:1ms,2ms,4ms,8ms,16ms…2²² msSQL> DESC V$EVENT_H...
Oracle Wait Interface学习笔记(2) OWI Componets(7)
(OWI学习笔记索引)10g开始OWI有了很多功能加强,比如:wait event分类,历史数据等。10g新增了几个动态视图,对V$session的功能也有所加强。l V$SESSION_WAIT_HISTORY保留了每个session最近10个等待事件的...
Oracle Wait Interface学习笔记(索引)
想看这本书很久了,边看边记作了套笔记,拿出来献丑了。因为空间对日志长度有限制,无奈把同一章节拆分了好几段,看起来比较零乱了点,大家讲究把~这里强烈抗议,取消日志字数限制,至少加大字数限制!!!!!!!!!!Ora...
Oracle Wait Interface学习笔记(2) OWI Componets (5)
(OWI学习笔记索引)Trace Event 10046—The Extended SQL Trace前面说的,要跟踪某个session的运行状况,找到其瓶颈,最好的方式就是定期的获取wait event的数据,将这些数据写入trace文件是一个很好的选择。我们可...
Oracle Wait Interface学习笔记(2) OWI Componets (4)
(OWI学习笔记索引)V$SESSION_EVENTSQL> desc v$session_event Name Type ---------------------...
Oracle Wait Interface学习笔记(2) OWI Componets (3)
(OWI学习笔记索引)V$SYSTEM_EVENTSQL> desc v$system_event Name Type -------------------- ---...
Oracle Wait Interface学习笔记(2) OWI Componets (2)
(OWI学习笔记索引)V$EVENT_NAME视图定义如下,其中打*是10G新增的列:SQL> desc v$event_name Name Type --...
Oracle Wait Interface学习笔记(2) OWI Componets (1)
(OWI学习笔记索引) Oracle能做到self-monitoring但是做不到self-tuning,oracle收集了大量的性能数据,包括instance级和session级。WAIT EVENT Session连接到oracle instance后需要获取某些资源来完成它的...
Oracle Wait Interface学习笔记(1) Introduction
(OWI学习笔记索引) 以往性能调整常用的一些指标:l Buffer cache>90%l Data dictionary misses<10%l Sql area gethitratio and pinhitratio>90% (ratio of rel...
学习动态视图(九) v$transaction
动态视图学习计划列表V$TRANSACTION lists the active transactions in the system. When the transaction is complete, (either COMMIT or ROLLBACK), the entry should go away.The v$transaction view lists th...
学习动态视图(八) v$system_event
动态视图学习计划Oracle event wait analysis is an extremely sophisticated part of Oracle system tuning. In order to be effective, an Oracle wait analysis must interrogate v$system_event to look ...
学习动态视图(七) v$latch + v$latch_children
动态视图学习计划列表看完这篇,真的觉得没有什么可整理的了,就这样吧,大师不要算我剽窃哦~~以下部分来自biti_rainy的文章"深度分析数据库的热点块问题",参见http://www.eygle.com/digest/2006/11/hotblock_anal...
学习动态视图(六) v$lock
动态视图学习计划考OCP的时候就对lock这部分内容掌握的比较差,现在看到相关的内容时心里也比较虚。这次整理把文档好好看了看,觉得有些头绪,不过整理的内容还是最初级最常用的一些,并没有深入。Types of LocksD...
学习动态视图(五) v$bh + x$bh
动态视图学习计划列表视图定义SQL> desc v$bh 名称 类型 ---------------...
学习动态视图(三) v$process
动态视图学习计划列表This view contains information about the currently active processes. While the LATCHWAIT column indicates what latch a process is waiting for, the LATCHSPIN column indicates what ...