首页


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 (Page 31 of 47)



August 21, 2005

Undocumented secrets-- 一场新的争论

Jonathan Lewis 又开始找 Don Burleson 的麻烦了! Don Burleson 在 Techtarget 发表了一篇 Undocumented secrets for super-sizing your PGA,给出了很多关于 PGA 的 Undocument 的信息,针对这篇文章的一些错误观点,Jonathan 还是使用拿手的"构建例子" .有的时候,看到 Undocument 之类的字样的确会吸引很多爱好者的眼球,可是看到类似 Don 的 pga_max_size – this hidden parameter defaults to 200 megabytes, regardless of the setting for pga_aggregate_target 这样的说法,还是要保持警惕.不能全盘拿来主义.

这次 Jonathan 也不是孤军奋战,和他同盟的是 Tom,呼应 Jonathan 的文章,Tom 写了一篇Getting Credible Information 的 Blog

Continue reading "Undocumented secrets-- 一场新的争论" »

August 13, 2005

OCFS2

Oracle宣布发布 OCFS2. OCFS2 正式支持SuSE Linux Exterprise Server 9 (SP2+) 和 RHEL 4 ,都是 Linux Kernel 的2.6 核心,对 2.4 kernel 不支持。OCFS2 比 OCFS 来说是一个大进步。但是高版本居然不兼容低版本,给使用 OCFS 的用户升级带来了很大的难度。

  • Node and architecture local files using Context Dependent Symbolic Links (CDSL)
  • Network based pluggable DLM (distributed lock manager)
  • Improved journaling / node recovery using the Linux Kernel "JBD" (journaled block device) subsystem
  • Improved performance of meta-data operations (space allocation, locking, etc)
    改进了元数据操作的性能
  • Improved data caching / locking (for files such as oracle binaries, libraries, etc)

Continue reading "OCFS2" »

August 10, 2005

Buffer gets increase on the same SQL

同样一条SQL ,有的时候 buffer get 会暴增?! Oracle-L 中有人提了一个这样的问题

I have a batch process that executes individual transactions, normally a transaccion e.g. a simple select would take 8-10 buffer gets but in the batch processing it takes 45 buffer gets.

Zhu Chao (Chao_ping,这家伙现在一篇文章都不写,只能从邮件列表里看到他的踪迹) 给了一个解释

the job is processing some very hot blocks. So it always need to reverse back and find the CR block from buffer, so it will generate some more buffer gets for that execution.

如果是因为Hot Block 的原因,那么主要的症状应该是 Wait. 如果这个 SQL 在运行的时候数据已经发生了变化,那么为了维持一致性不可避免的会生成回滚,所以这个解释更为准确一些:

If a query does a consistent get on a block that has been changed since that query began or that had uncommitted changes at the time that that query began, then it is necessary to rollback those changes for read consistency. The consistent changes statistics counts the number changes rolled back. However, most consistent gets do not require any such rollback, and so it is normal for the number of consistent gets to be much greater than the number of consistent changes. This is reflected in the no work - consistent read gets statistic

我们不妨来做个例子.假定我们现在有两个Session,首先在第一个窗口做如下操作

Continue reading "Buffer gets increase on the same SQL" »

August 5, 2005

AIX 上影响 Oracle 的参数

其中一个是 maxclient 参数

增强 JFS 文件系统为它的缓冲区高速缓存使用客户机文件,这不受 maxperm 和 minperm 阈值的影响。为了在增强 JFS 文件系统的高速缓存中建立硬性限制,您可以调谐 maxclient 的参数。该参数代表了可用于缓冲区高速缓存的客户机页面的最大值。要更改这个值,可以使用 vmo -o maxclient 命令。maxclient 的值显示为实内存的百分比。

在到达 maxclient 阈值后,LRU 开始取用最近尚未访问过的客户机页面。如果没有足够的客户机页面可以被窃取,LRU 会替换掉其它类型的页。通过减少 maxclient 的值,您可以帮助阻止增强 JFS 文件页的访问不要替换掉工作存储页面,最小化调页空间的页面调度。maxclient 参数也影响 NFS 客户机和压缩的页面。另请注意 maxclient 通常应该设置为一个小于或等于 maxperm 的值,特别是在启用了 strict_maxperm 的情况下

Continue reading "AIX 上影响 Oracle 的参数" »

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 (Page 31 of 47)