如何優化oracle pga
1* select * from v$pga_target_advice
PGA_TARGET_FOR_ESTIMATE PGA_TARGET_FACTOR ADV BYTES_PROCESSED ESTD_EXTRA_BYTES_RW ESTD_PGA_CACHE_HIT_PERCENTAGE ESTD_OVERALLOC_COUNT
----------------------- ----------------- --- --------------- ------------------- ----------------------------- --------------------
65536000 0 ON 269923328 103311360 72 0
131072000 0 ON 269923328 103311360 72 0
262144000 1 ON 269923328 0 100 0
393216000 1 ON 269923328 0 100 0
524288000 1 ON 269923328 0 100 0
629145600 1 ON 269923328 0 100 0
734003200 1 ON 269923328 0 100 0
838860800 2 ON 269923328 0 100 0
943718400 2 ON 269923328 0 100 0
1048576000 2 ON 269923328 0 100 0
1572864000 3 ON 269923328 0 100 0
----------------------- ----------------- --- --------------- ------------------- ----------------------------- --------------------
65536000 0 ON 269923328 103311360 72 0
131072000 0 ON 269923328 103311360 72 0
262144000 1 ON 269923328 0 100 0
393216000 1 ON 269923328 0 100 0
524288000 1 ON 269923328 0 100 0
629145600 1 ON 269923328 0 100 0
734003200 1 ON 269923328 0 100 0
838860800 2 ON 269923328 0 100 0
943718400 2 ON 269923328 0 100 0
1048576000 2 ON 269923328 0 100 0
1572864000 3 ON 269923328 0 100 0
PGA_TARGET_FOR_ESTIMATE PGA_TARGET_FACTOR ADV BYTES_PROCESSED ESTD_EXTRA_BYTES_RW ESTD_PGA_CACHE_HIT_PERCENTAGE ESTD_OVERALLOC_COUNT
----------------------- ----------------- --- --------------- ------------------- ----------------------------- --------------------
2097152000 4 ON 269923328 0 100 0
3145728000 6 ON 269923328 0 100 0
4194304000 8 ON 269923328 0 100 0
----------------------- ----------------- --- --------------- ------------------- ----------------------------- --------------------
2097152000 4 ON 269923328 0 100 0
3145728000 6 ON 269923328 0 100 0
4194304000 8 ON 269923328 0 100 0
14 rows selected.
SQL> show parameter pga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target big integer 500M
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> select * from v$sysstat where name like '%work%';
------------------------------------ ----------- ------------------------------
pga_aggregate_target big integer 500M
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> select * from v$sysstat where name like '%work%';
STATISTIC# NAME CLASS VALUE STAT_ID
------------- ---------------------------------------------------------------- ------------- ------------- -------------
180 no work - consistent read gets 128 2008286 2814375799
332 workarea memory allocated 64 0 2433935387
333 workarea executions - optimal 64 5230 3211650785
334 workarea executions - onepass 64 0 798730793
335 workarea executions - multipass 64 0 3804491469
------------- ---------------------------------------------------------------- ------------- ------------- -------------
180 no work - consistent read gets 128 2008286 2814375799
332 workarea memory allocated 64 0 2433935387
333 workarea executions - optimal 64 5230 3211650785
334 workarea executions - onepass 64 0 798730793
335 workarea executions - multipass 64 0 3804491469
SQL> select * from v$sysstat where name like '%sort%';
STATISTIC# NAME CLASS VALUE STAT_ID
------------- ---------------------------------------------------------------- ------------- ------------- -------------
349 sorts (memory) 64 8463 2091983730
350 sorts (disk) 64 0 2533123502
351 sorts (rows) 64 2844652 3757672740
------------- ---------------------------------------------------------------- ------------- ------------- -------------
349 sorts (memory) 64 8463 2091983730
350 sorts (disk) 64 0 2533123502
351 sorts (rows) 64 2844652 3757672740
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-666266/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 對SGA和PGA的優化建議優化
- Oracle:PGA 簡介Oracle
- Oracle PGA詳解Oracle
- Oracle PGA管理(一)Oracle
- oracle PGA 構成Oracle
- oracle10g PGAOracle
- oracle優化Oracle優化
- pga_aggregate_target 相關總結 -- Oracle PGAOracle
- 對oracle例項的記憶體(SGA和PGA)進行調整,優化資料庫性Oracle記憶體優化資料庫
- Oracle PGA引數的管理Oracle
- ORACLE PGA程式全域性區Oracle
- oracle PGA管理(演算法)Oracle演算法
- Oracle Automatic PGA Memory ManagementOracle
- oracle優化技巧Oracle優化
- oracle EM 優化Oracle優化
- oracle 效能優化Oracle優化
- oracle sql優化OracleSQL優化
- Oracle優化方法Oracle優化
- oracle優化(收藏)Oracle優化
- oracle sql 優化OracleSQL優化
- oracle latch優化Oracle優化
- Oracle效能優化Oracle優化
- Oracle效能優化-SQL優化(案例一)Oracle優化SQL
- Oracle效能優化-SQL優化(案例二)Oracle優化SQL
- Oracle效能優化-SQL優化(案例三)Oracle優化SQL
- Oracle效能優化-SQL優化(案例四)Oracle優化SQL
- ORACLE記憶體管理 之一 ORACLE PGAOracle記憶體
- oracle10g 修改 sga pgaOracle
- 淺說Oracle PGA空間管理Oracle
- Oracle9i中的PGAOracle
- Oracle中的等待事件是什麼?如何理解並優化OracleOracle事件優化
- oracle優化一例之sql優化Oracle優化SQL
- 如何調優 Oracle SQL系列文章:查詢優化器介紹OracleSQL優化
- 如何優化tableView優化View
- 如何優化in操作優化
- Oracle in 查詢優化Oracle優化
- Oracle優化的方法Oracle優化
- ORACLE profile 優化配置Oracle優化