forked from geekcomputers/Oracle-SQL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpga_cache_advice.sql
More file actions
25 lines (19 loc) · 592 Bytes
/
pga_cache_advice.sql
File metadata and controls
25 lines (19 loc) · 592 Bytes
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
REM Filename : pga_cache_advice.sql
REM Author : Craig Richards
REM Created : 26-March-2009
REM Version : 1.0
REM Modifications :
REM
REM Description : Shows whether or not to change the setting for PGA_AGGREGATE_TARGET
SET ECHO OFF
SET FEEDBACK OFF
SET PAGESIZE 50
SET LINESIZE 200
COLUMN estd_extra_bytes_rw FORMAT 999,999,999,999
COLUMN bytes_processed FORMAT 999,999,999,999
SELECT pga_target_for_estimate/1048576 pga_target,bytes_processed,estd_extra_bytes_rw
FROM v$pga_target_advice;
SET FEEDBACK 6
SET PAGESIZE 24
CLEAR COLUMNS
REM End of Script