Oracle Tuning Memory: differenze tra le versioni
Jump to navigation
Jump to search
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
| (9 versioni intermedie di uno stesso utente non sono mostrate) | |||
| Riga 1: | Riga 1: | ||
=Controlli= |
|||
SELECT * FROM v$sgainfo; |
|||
set pagesize 200 linesize 200 |
|||
SELECT * FROM v$sga_target_advice; |
|||
SHOW PARAMETER pga_aggregate_target; |
|||
SHOW PARAMETER pga_aggregate_limit; |
|||
=AMM= |
|||
SHOW PARAMETER memory_target; |
|||
=ASSM= |
=ASSM= |
||
SHOW PARAMETER sga_target; |
|||
SHOW PARAMETER sga_max_size; |
|||
Incrementare o decrementare <code>shared_pool_size</code> dinamicamente: |
|||
select |
|||
component, |
|||
oper_type, |
|||
oper_mode, |
|||
initial_size/(1024*1024) "Initial", |
|||
TARGET_SIZE/(1024*1024) "Target", |
|||
FINAL_SIZE/(1024*1024) "Final", |
|||
status |
|||
from |
|||
v$sga_resize_ops; |
|||
select |
|||
component, |
|||
current_size/(1024*1024) "CURRENT_SIZE", |
|||
min_size/(1024*1024) "MIN_SIZE", |
|||
user_specified_size/(1024*1024) "USER_SPECIFIED_SIZE", |
|||
last_oper_type "TYPE" |
|||
from |
|||
v$sga_dynamic_components; |
|||
show parameter shared_pool_size |
show parameter shared_pool_size |
||
Versione attuale delle 07:47, 13 lug 2026
Controlli
SELECT * FROM v$sgainfo; set pagesize 200 linesize 200 SELECT * FROM v$sga_target_advice;
SHOW PARAMETER pga_aggregate_target; SHOW PARAMETER pga_aggregate_limit;
AMM
SHOW PARAMETER memory_target;
ASSM
SHOW PARAMETER sga_target; SHOW PARAMETER sga_max_size;
Incrementare o decrementare shared_pool_size dinamicamente:
select component, oper_type, oper_mode, initial_size/(1024*1024) "Initial", TARGET_SIZE/(1024*1024) "Target", FINAL_SIZE/(1024*1024) "Final", status from v$sga_resize_ops;
select component, current_size/(1024*1024) "CURRENT_SIZE", min_size/(1024*1024) "MIN_SIZE", user_specified_size/(1024*1024) "USER_SPECIFIED_SIZE", last_oper_type "TYPE" from v$sga_dynamic_components;
show parameter shared_pool_size show sga alter system set shared_pool_size=400M scope=memory; show sga alter system set shared_pool_size=0 scope=memory; show sga