Wednesday, November 27, 2019
Changing SGA & PGA memory for Oracle
The following can give good info on target memory advice after your system has been running for some time. It is cleared during restart
select * from V$MEMORY_TARGET_ADVICE ;
BACKUP your SPFILE before doing any radical changes.
Example location ~ D:\oracle\product\12.1.0\dbhome_1\database
To set pga to 1 gb and sga to 3 g, enter the following commands:
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE = SPFILE;
ALTER SYSTEM SET sga_target=3G SCOPE = SPFILE;
You will need to restart your Oracle database.
And, Bob's your uncle, you should have your PGA and SGA set to the new target values.
Subscribe to:
Posts (Atom)
Get Restart log using PowerShell
I'm often curious about a restart on a Windows server system. An easy way to get a list of the restart and what initiated it is to use t...
-
Most of what we're going to want to look at when you're having production issues are available through DMV's. If granti...
-
BibleGateway.com - Passage Lookup: John 10:7, 9-10 9I am the gate; whoever enters through me will be saved.[a] He will come in and go out, a...
-
NOTE: These instruction apply to the connections, reports, menus, etc in Oracle SQL Developer. If you are looking to change the font of you...