You are on page 1of 1

DB size-

select (sga+pga)/1024/1024 as "Total mem used by ORA" from (select sum(value) sg


a from v$sga),(select sum(PGA_ALLOC_MEM) pga from v$process);
DB status-
select status from v$instance;
Checking paramter value-
SQL> show parameter shared_pool_size
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
shared_pool_size big integer 4448M
Getting parameter from v$parameter-
select name, value from v$parameter where name in ('parameter_name1', 'parameter
_name2');
Changing dynamic(online) parameter -
alter system set <paramter_name> = <value> scope = both;
No DB restart reqd.
Changing static parameter -
alter system set <paramter_name> = <value> scope = spfile;
DB restart reqd.
SCQ-
alter system set sga_max_size = 8589934592 scope = spfile;
alter system set shared_pool_reserved_size = 233203302 scope = spfile;
alter system set shared_pool_size = 2147483648 scope = spfile;
alter system set db_cache_size = 4127195136 scope = spfile;
alter system set java_pool_size = 67108864 scope = spfile;
alter system set log_buffer = 24895488 scope = spfile;
alter system set result_cache_max_size = 46661632 scope = spfile;

You might also like