Solved

Can Increasing SGA size cause paging !

Posted on 2009-05-14
4
707 Views
Last Modified: 2013-12-18
The SGA size was 5GB and database was running very fine with no performance issues. we changed to the new server with 16 GB of RAM on AIX 5.3 and we allocated 12 GB for SGA MAX SIZE. and allocated 10GB to shared pool. we are experiencing high paging when running RMAN backup's and even a simpleselect statement takes 2-3 minutes(like select name from v$database). As I allocated this memory to the new server and is in production I am  not sure that sga can be a problem.

when we run backup's the disk IO is more and the server is paging.
0
Comment
Question by:ballioballi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Expert Comment

by:Franck Pachot
ID: 24393126
Hi,

First I don't understand why you increased the SGA as it was running very fine with no performance issues...
10GB for the shared pool is so huge ! Do you expect to have 1GB of sql statements (not data, statements) frequently used ?

An oracle server should not swap. You need to have all memory structures (SGA but also PGA) in physical memory.

Regards,
Franck.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 24411319
Hi,
if it's AIX, use 'vmo -a'  to examine the minperm%, maxperm% and maxclient% settings.
From IBM -

minperm% specifies the point below which the page-stealer will steal file or computational pages regardless of repaging rates.  
Can be useful to decrease this parameter if large number of file pages in memory is causing working storage pages to be replaced
.  
maxperm% specifies the point above which the page-stealing algorithm steals only file pages. Reducing this value may reduce or eliminate page replacement of working storage pages caused by high number of file page accesses.
maxclient% specifies maximum percentage of RAM that can be used for caching client pages. Same as maxperm.
In other words - decreasing minperm% and maxperm% leads to working storage pages ('COMP' in topas. e.g. SGA) being left in memory for a longer time, because primarily file pages will be paged out. Thus paging to swap will be reduced, as file cache shrinks.
You can experiment with minperm%/maxperm%/maxclient% by beginning with e.g  'vmo -o minperm%=15 -o maxperm%=25 -o maxclient%=25' and watch the outcome. Reduce it further, e.g. to 10%/20%/20% if needed. Leave maxperm%/maxclient% roundabout 5%-10% higher than minperm%
To keep the new values permanently across reboots, issue e.g. 'vmo -p -o minperm%=10 -o maxperm%=20 -o maxclient%=20'
I have systems here running at a minperm% value of as low as 3% with no huge adverse effect on file I/O performance.
wmp
 
 
0
 

Author Closing Comment

by:ballioballi
ID: 31581769
did not get the exact answer
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 25363382
What would have been the exact answer then?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question