0% found this document useful (0 votes)
20 views1 page

Database Memory

Uploaded by

kitdba81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Database Memory

Uploaded by

kitdba81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

NOTE:

SGA max SIZE and target should be 40% of server RAM


PGA limit shoud be 20% of SGA
PGA target should be half of PGA limit
---------------------------------------------------------------------------------

SQL*Plus: Release 12.2.0.1.0 Production on Fri Feb 3 15:17:07 2023

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> show parameter sga

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
allow_group_access_to_sga boolean FALSE
lock_sga boolean FALSE
pre_page_sga boolean TRUE
sga_max_size big integer 8G
sga_min_size big integer 0
sga_target big integer 8G
unified_audit_sga_queue_size integer 1048576

SQL> show parameter pga

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
pga_aggregate_limit big integer 4G
pga_aggregate_target big integer 2G

SQL> alter system set sga_max_size=26G scope =spfile;

System altered.

SQL> alter system set sga_target=26G scope=spfile;

System altered.

SQL> alter system set pga_aggregate_limit=6G scope=spfile;

System altered.

SQL> alter system set pga_aggregate_target=3G scope=spfile;

System altered.

bounce the database to talke efect.

You might also like