Oracle Tuning Memory: differenze tra le versioni

Da Emigar.
Vai alla navigazione Vai alla ricerca
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
 
(6 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:
Incrementare o decrementare <code>shared_pool_size</code> dinamicamente:
Riga 7: Riga 22:
oper_type,
oper_type,
oper_mode,
oper_mode,
initial_size/1024/1024 "Initial",
initial_size/(1024*1024) "Initial",
TARGET_SIZE/1024/1024 "Target",
TARGET_SIZE/(1024*1024) "Target",
FINAL_SIZE/1024/1024 "Final",
FINAL_SIZE/(1024*1024) "Final",
status
status
from
from
Riga 16: Riga 31:
select
select
component,
component,
current_size/1024/1024 "CURRENT_SIZE",
current_size/(1024*1024) "CURRENT_SIZE",
min_size/1024/1024 "MIN_SIZE",
min_size/(1024*1024) "MIN_SIZE",
user_specified_size/1024/1024 "USER_SPECIFIED_SIZE",
user_specified_size/(1024*1024) "USER_SPECIFIED_SIZE",
last_oper_type "TYPE"
last_oper_type "TYPE"
from
from

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