易截截图软件、单文件、免安装、纯绿色、仅160KB

ORACLE parent latch和children latch

         About parent vs child latches. There is no fundamental low level difference between parent and child latches, they are all small regions of memory modified with atomic test-and-set style opcodes.
You see parent (and solitary) latches from x$ksllt where kslltcnm = 0 and child latches have Kslltcnm > 0 (their child number is stored there).
V$LATCH_PARENT shows all latches with kslltcnm 0, V$LATCH_CHILDREN shows all latches with cnm > 0. V$LATCH just summarizes & groups all statistics up using the latch number, it doesn't care about parent vs child latches.
It's up to Oracle, how it uses the child and parent latches, normally when child latches are used, parent latches don't get used much (or at all), since all resources to be protected have been spread between child latches already.
 
今天看到书中讲LATCH的时候提到了两个视图V$LATCH_CHILDREN和V$LATCH_PARENT ,不太清楚两者的区别,去百度了一下,还没百度到,GOOGLE了才找到一篇相关的文章。
看了上面的讲解,我个人理解就是二者其实没什么区别,完全取决于ORACLE如何使用。


相关文档:

Oracle 数据库管理脚本 命名规范


    
      Oracle 中的数据字典是数据库中的非常重要的一部分,提供了相关数据库的信息,它是所有 Oracle 用户(从应用的最终用户、应用的设计开发者到数据库管理员)的非常重要的信息来源。数据字典的创建,是在 Oracle 数据库创建完毕后,运 ......

Oracle 聚集

聚集(cluster)是存储表数据的可选择的方法。一个聚集是一组表,将具有同一公共列值的行存储在一起,并且它们经常一起使用。这些公共列构成聚集码。
经常被同时访问的表在物理位置上可以存储在一起。为了将它们存储在一起,就要创建一个簇( c l u s t e r )来管理这些表。表中的数据一起存储在簇中,从而最小化必须执行的I ......

在Oracle中创建视图,提示无权限 ORA

 今天在对表创建视图的时候,用户提示 ORA-01031用户权限不足 
使用system用户对其分配dba等权限,依然无法创建视图。 
继续赋予权限 
grant select any table to AAA; 
授予用户询所有表的权限 
grant select any dictionary to AAA; 
再次授取用户select任何字典的权限 
......

Oracle快照

 --名词说明:源——被同步的数据库
            目的——要同步到的数据库
前6步必须执行,第6以后是一些辅助信息.
--1、在目的数据库上,创建dblink
drop public database link dblink_orc92_182;
Create public DATABASE LINK dbl ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号