oracle之内存―鞭辟近里(二)(二)

2014-11-24 14:29:55 · 作者: · 浏览: 2
4)| 00:00:01 | | 6 | TABLE ACCESS FULL | CLASS | 3 | 75 | 2 (0)| 00:00:01 | --------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 5 - access("S"."ID"="C"."ID"(+)) filter("S"."ID"="C"."ID"(+)) Note ----- - dynamic sampling used for this statement (level=2) SQL>

在这个执行计划中可以看出sort order by是在sort area 中的,private sql 中的运行区域在calss表汇总执行了一个全表扫描的进度,这个会话执行了一个left join 在两个表中获取了相应数据。
当work area 工作区域很小的时候,不能够容纳锁执行语句的数据信息,那么就会把执行的数据信息划分为很多的数据piece,然后oracle缓慢的进行处理piece,其他的piece 会被暂时缓存到disk中,因此我们应该保证有足够的内存给予work area一边减小disk 的i/o,以便提高系统系能。
B)pga在共享服务器和专用服务器模式下 组件的不同分配情况。
Memory Area Dedicated Server Shared Server
Nature of session memory

Private

Shared

Location of the persistent area

PGA

SGA

Location of the run-time area for DML/DDL statements

PGA

PGA


++++++++++++++++++++++++++++++++++++++++++++++++ (^ω^) +++++++++++++