Oracle 如何判断一个死事务transaction的恢复进度
http://ora110.itpub.net/post/33978/477494
oracle11g ddl trace event事件小记
--oracle11g有个功能,可以trace ddl,具体可见:http://oraclue.com/2009/08/20/tracking-ddl-changes-in-11g/--构建一个针对scott用户的trace ddl的触发器create or replace trigger trace_ddlafter logon on data...
oracle版本升级路线图
http://www.oracleblog.org/its-my-life/road-map-to-upgrade-oracle/
oracle构建索引index后table的10046数据块读取测试
测试目的1,未创建索引前的表的扫描情况 1,扫描哪些数据块 2,数据块之间的关系 3,物理读 4,逻辑读 &n...
oracle index索引结构(一)
--分析索引的构造关系--查询索引的对象号SQL> select object_id from dba_objects where object_name='IDX_T_DETAIL'; OBJECT_ID---------- 69559 --转储索引, 69559即为...
oracle buffer gets=db block gets+consistent gets
SQL> select STATISTIC#,name from v$statname where name like '%db block gets%'; STATISTIC# NAME---------- ---------------------------------------------------------------- &n...
oracle buffer gets=db block gets+consistent gets
SQL> select STATISTIC#,name from v$statname where name like '%db block gets%'; STATISTIC# NAME---------- ---------------------------------------------------------------- &n...
oracle 10046与select table查询表系列(一)
测试目的1,未创建索引前的表的扫描情况 1,扫描哪些数据块 2,数据块之间的关系 3,物理读 4,逻辑读 &n...
zt_oracle一致性读consistent read
http://www.cnblogs.com/caroline/archive/2012/01/13/2322113.html
oracle父存储过程调用子存储过程procedure与输出参数
--建立存储过程SQL> create or replace procedure proc_inner(v_a int,v_out_a out int) 2 as 3 begin 4 v_out_a:=v_a; 5 dbms_output.put_line(v_out_a); 6...
oradebug详解
http://psoug.org/reference/oradebug.html
ORA-12560: TNS:protocol adapter error
--停止oracle服务net stop oracleserviceorcl --连接oracle实例报ora-12560C:\Users\123>sqlplus sys/system as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 14 11:31:50 2013Copyright (c) 1982,...
oracle performance tuning性能优化学习系列(三)_补二
--说明是前后端所有的会话统计SQL> select distinct sid from v$session_event; SID---------- 1 &n...
oracle performance tuning性能优化学习系列(三)_补一
--会话级别的等待事件统计,注意是所有的会话SQL> select * from v$session_event; SID EVENT  ...
oracle performance tuning性能优化学习系列(三)
oracle性能优化学习系列(三)自动化收集性能统计信息Automatic Performance Statistics1,统计信息存储在v$sysstat and v$sesstat2,重启库后,统计信息会重置3,awr会定时收集统计,存储在相应的表中4,metric度量是...
sqlplus之prompt_&&_&_new_value
--sqlplus之提示,用于功能注解SQL> promptSQL> prompt choose a valuechoose a valueSQL>SQL> desc t_sqlplus; Name ...
oracle sqlplus中column格式化命令之heading用法
SQL> create table t_sqlplus(a int,b int);Table created.--格式化a列为列宽4且标题为a_headingSQL> column a for 9999 heading 'a_heading'SQL> column b for 9999 heading 'b_heading'--插入数据方可看到colum...
oracle performance tuning性能优化学习系列(五)
oracle性能优化学习系列(五)awr概述1,如配置statistics_level=typical or all,自动启用awr2,如配置为basic,使用dbms_workload_repository手工收集;但可能收集的统计信息不全;3,awr收集统计信息包含: &nb...
oracle performance tuning性能优化学习系列(四)_补
--查询度量参数的含义 SQL> select * from v$metricname mt where mt.METRIC_NAME='Database CPU Time Ratio'; GROUP_ID GROUP_NAME  ...
oracle performance tuning性能优化学习系列(四)
CPU Statistics1,获取整个系统的cpu使用情况2,获取多处理器环境的每个独立cpu的使用情况3,大多os关于cpu usage用时在user space or mode and kernel space or mode(即用户和内核模式)4,当然还有一些额外的信息体现,...