Oracle PGA Target Advice Report

Displays PGA memory tuning recommendations and predicts how changes to PGA_AGGREGATE_TARGET may impact cache hit ratio and memory overallocation. Useful for PGA sizing and performance tuning.

oraclesqlperformance-tuningv1.0.0
0 stars0 downloads12 views0 comments
By OracleDba • Created

Code

(13 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- -----------------------------------------------------------------------------------
-- File Name    : https://oracle-base.com/dba/monitoring/pga_target_advice.sql
-- Author       : Tim Hall
-- Description  : Predicts how changes to the PGA_AGGREGATE_TARGET will affect PGA usage.
-- Requirements : Access to the V$ views.
-- Call Syntax  : @pga_target_advice
-- Last Modified: 12/02/2004
-- -----------------------------------------------------------------------------------

SELECT ROUND(pga_target_for_estimate/1024/1024) target_mb,
       estd_pga_cache_hit_percentage cache_hit_perc,
       estd_overalloc_count
FROM   v$pga_target_advice;

General Comments(0)

Tip: Click on a line number in the code to add a line-specific comment

No general comments yet. Be the first to comment!