- 博客(18)
- 收藏
- 关注
转载 About idle event
--关于SQL*Net message from client or SQL*Net more data from client一,第一个原因就是网络存在问题导致客户端和DBMS之间的网络通信存在问题,这里不过多讨论。二,SQL...
2011-08-19 09:03:11
197
转载 关于多个会话引起唯一键冲突
关于多个会话引起唯一键冲突发生唯一键冲突时会发生TX锁争用,进程a执行insert后,若进程b执行insert会引发唯一键冲突,进程b要以shared 模式获取TX锁,发生等待,进程b会等到进程a提交或者回滚为止,若进程a上完成...
2011-08-18 09:11:01
236
转载 关于Bitmap index冲突引起的TX锁争用
*Tree索引的叶节点以排序形式存储索引条目,每个索引条目指向各自的一个Rowid,所以唯一键冲突外,索引条目之间不发生争用。而Bitmap index的叶子节点具有‘Column+Start rowid+End rowid+b...
2011-08-18 09:05:01
248
转载 Shared pool latch测试
关于shared pool latch,它起到保护共享池堆结构的作用,为了查找到共享池中的free chunk,检索空闲列,分配适当的chunk都只能在获得shared pool latch后才能操作。比如hard parse,...
2011-08-17 10:19:30
157
转载 Buffer bysy wait By the select
要描述下修改行的过程,便于理解buffer busy wait。1.为了查找要修改的行相应的块存在的位置,请求cache buffer chains latch。2.对载入块的缓冲区请求buffer block,释放cache ...
2011-08-16 12:44:48
123
转载 RAC中LISTENER.ORA和TNSNAMES.ORA
天搞了点笑话,总结一下:Oracle® Database Net Services Administrator’s GuideOracle® Database Net Services ReferenceDo not set t...
2011-08-12 13:33:10
99
转载 BTree索引dump
一,创建测试表并且收集统计信息。SQL> create table test as select*from sales;Table created.SQL> create index test_inx1 on tes...
2011-08-06 20:54:40
142
转载 Flush a single statement from the shared pool ----From DBA Village
Sometimes, you need to invalidate a statement, for example because the current execution plan is not the right one...
2011-08-04 14:38:39
86
转载 事务执行的学习和dump
对与DML操作oracle在内部按如下顺序执行:1,相应事务分配回滚段(undo segment).2,分配回滚段后,在回滚段头上创建事务表slot(transaction table slot).ROWID ...
2011-08-03 09:19:04
133
转载 CBO基数估算错误导致sql低效
原SQL语句如下:select ((v.yvalue * 300) / (u.xvalue * 50)), u.xtime from (select x.index_value xvalue, substr(x.update_...
2011-08-02 11:39:02
164
转载 关于library cache的一点点总结
库高速缓存的基本结构是hash table-bucket-chain-handle-object。oracle对库缓存中的对象生成hash函数,对相同hash值的对象分配bucket,并且通过chain来管理[@more@]库高...
2011-08-02 11:34:19
336
转载 Oracel并行(parallel execution)
先看个SQL:SQL> set pagesize 200SQL> set linesize 400SQL> col plan_table_output for a200SQL> explain plan ...
2011-07-29 12:54:37
166
转载 Soft parse and Hard parse(Oracle 软解析和硬解析)
SQL语句执行的几个步骤:1.parsing 解析 2.optimization 优化 3.row source generation 产生行源4.execution 执行[@more@]SQL语句执行的几个步骤:1.parsi...
2011-07-25 09:49:36
205
转载 Row Prefeching(行预取)
行预取(Row Prefetching),当客户端从数据库获取数据的时候,可以一行一行的读取,也可以同时读取多行。[@more@]行预取(Row Prefetching),当客户端从数据库获取数据的时候,可以一行一行的读取,也可...
2011-07-19 15:11:56
156
转载 Oracle CBO Semi Join(半连接)
半连接的定义A semi-join is a join between two sets of data (tables) where rows from the first set are returned, basedon ...
2011-07-18 09:13:43
505
转载 Oracle Implicit Convert
/*绑定变量对执行计划的影响及隐式转换对索引的影响探索There are three things to keep in mind about using EXPLAIN PLAN that make it susceptibl...
2011-07-17 12:07:36
157
转载 ORACLE Opetimizer Transforming Queries:Subquery Unnesting
一,先看看官方文档的解释:Often the database can improve the performance of queries that contain subqueries by unnesting the su...
2011-05-26 17:39:02
105
转载 Oracle clustering_factor
Historically it has been common practice to say that a good index has a low clustering_factor, and a badindex has ...
2011-05-26 03:09:13
106
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人