上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页
  2011年6月28日
摘要: 一. 官网说明Memory Architecturehttp://download.oracle.com/docs/cd/B28359_01/server.111/b28318/memory.htm#i10221 The database buffer cache is the portion of the SGA that holds copies of data blocks read from datafiles. All users concurrently connected to the instance share access to the database buffer ca 阅读全文
posted @ 2011-06-28 19:40 springside例子 阅读(1207) 评论(0) 推荐(0) 编辑
  2011年6月27日
摘要: 一. B-Tree Index 原理官网说明: No index structure can satisfy all needs, but the self-balancing B-tree index comes closest to optimizing the performance of searches on large sets of data. Each B-tree node holds multiple keys and pointers. The maximum number of keys in a node supported by a specific B-tree 阅读全文
posted @ 2011-06-27 19:50 springside例子 阅读(1443) 评论(0) 推荐(0) 编辑
  2011年6月26日
摘要: 一. Bug 问题表现 2011年安装Oracle 10.2.0.4 和10.2.0.5 版本时,在配置OEM的时候会报错。 忽略这个错误后,DB 可以成功创建或者升级。 MOS 上关于这个bug的说明,参考:[ID 1222603.1] 该bug 的表现为DBCA和DBUA 配置失败: Database Configuration Assistant (DBCA) and Database Upgrade Assistant (DBUA) will report the following error in the console:Could not complete the Enterp. 阅读全文
posted @ 2011-06-26 16:02 springside例子 阅读(431) 评论(0) 推荐(0) 编辑
  2011年6月25日
摘要: 一. 说明 如果对大表进行大规模的delete 和update,那么可以注意一下如下说明: (1) 查看执行计划,如果说删除的记录很多,走索引的成本会比全表扫描更大,因为更新数据时还需要做一些约束校验和创建index entry。而且对于多CPU 情况,全表扫描还可以使用并行的特性。 Oracle Parallel Execution(并行执行) http://blog.csdn.net/tianlesoftware/archive/2010/09/01/5854583.aspx (2)如果表上有索引,B-Tree 索引可以unusable索引,函数索引则disable 索引,等操作结束之后在 阅读全文
posted @ 2011-06-25 15:40 springside例子 阅读(293) 评论(0) 推荐(0) 编辑
  2011年6月24日
摘要: 从AWR报告里发现一个SQL存在大量的version_count. SYS@xezf(qs-xezf-db1)> select sql_id,version_count from v$sqlarea where version_count> 500 order by 2 desc ;SQL_ID VERSION_COUNT------------- -------------9rwd4wkwm4bsy 3046cpqsn8zak6sw4 298566x4djqka2ppy 9760z7n7sst85222 617 在v$sqlarea 中保存了SQL的cursor,当有大量的ver 阅读全文
posted @ 2011-06-24 22:01 springside例子 阅读(1494) 评论(0) 推荐(0) 编辑
  2011年6月22日
摘要: 一. 官网说明1.1 v$session_longops V$SESSION_LONGOPS displays the status of various operations that run for longer than 6 seconds (in absolute time). These operations currently include many backup and recovery functions, statistics gathering, and query execution, and more operations are added for every Or 阅读全文
posted @ 2011-06-22 21:42 springside例子 阅读(2069) 评论(0) 推荐(0) 编辑
摘要: 一. Recursive Calls 说明在执行计划的统计信息里有如下信息:SYS@anqing2(rac2)> set autot trace statisticsSYS@anqing2(rac2)> select * from ta,tb where ta.id=tb.id and ta.id <10; 9 rows selected.Statistics---------------------------------------------------------- 5 recursive calls 0 db block gets 2081 consistent g 阅读全文
posted @ 2011-06-22 17:15 springside例子 阅读(3812) 评论(0) 推荐(0) 编辑
摘要: 一. Shared Pool 概述 在之前的blog对Oracle 的内存架构也做了一个概述,参考: Oracle 内存 架构 详解 http://blog.csdn.net/tianlesoftware/archive/2010/05/15/5594080.aspx 在网上搜到一篇介绍shared pool 非常详细的pdf资料。 原文链接以找不到,但还是要感谢作者Kamus的辛勤劳动。 结合Kamus 的pdf和csdn 网友的blog,重新整理了一下,链接如下: http://blog.csdn.net/robinson1988/archive/2010/11/26/6037925... 阅读全文
posted @ 2011-06-22 14:30 springside例子 阅读(969) 评论(0) 推荐(0) 编辑
  2011年6月20日
摘要: 有关Oracle 的执行计划说明,参考我的Blog: Oracle Explain Plan http://blog.csdn.net/tianlesoftware/archive/2010/08/20/5827245.aspx一. 查看当前session 的SID SYS@anqing1(rac1)> SELECT USERENV('SID') FROM DUAL; USERENV('SID')--------------137SYS@anqing1(rac1)> SELECT SID FROM V$MYSTAT WHERE ROWNUM =1;S 阅读全文
posted @ 2011-06-20 17:48 springside例子 阅读(143) 评论(0) 推荐(0) 编辑
  2011年6月19日
摘要: 在IBM DBA 小荷的blog上看到一个用Logminer 做数据恢复的例子。 虽然对Logminer 也了解一点,但是用Logminer 做恢复还真没用过,所以也测试一下。 原文链接地址如下: 客户的一次疏忽,DBA的一次噩梦 http://www.oracleblog.org/working-case/dba-always-bad-luck-with-careless-customer/一. 在测试之前讲一点理论知识1.1. 补充日志(supplemental logging)先看一下补充日志都包含哪些信息和特性: (1)索引簇、链行和迁移行; (2)直接路径插入; (3)摘取LogM. 阅读全文
posted @ 2011-06-19 14:52 springside例子 阅读(1421) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页