易截截图软件、单文件、免安装、纯绿色、仅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表空间操作详解
  1
  2
  3作者:   来源:    更新日期:2006-01-04 
  5
  6 
  7建立表空间
  8
  9CREATE TABLESPACE data01
 10DATAFILE '/ora ......

Oracle AWR速查

 SQL> SQLPLUS / AS SYSDBA
SQL> exec dbms_workload_repository.create_snapshot
SQL> exec:snap_id:=dbms_workload_repository.create_snapshot
SQL> var snap_id number
SQL> print snap_id
SQL> @?/rdbms/admin/awrrpt.sql
OracleAWR速查
 
1.查看当前的AWR保存策略
select * fro ......

Oracle 客户端连接服务器常见问题之

今天安装软件一直在测试链接不能通过,出现ORA-12154: TNS: could not resolve service name,后来才发现是tnsnames.ora中有误。查找网上的资料,记录下来。
要排除客户端与服务器端的连接问题,首先检查客户端配置是否正确(客户端配置必须与数据库服务器端监听配置一致),再根据错误提示解决。下面列出几种常见的连接问题 ......

在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号