- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Relating SGA and Swap Memory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 01:01 PM
тАО10-01-2004 01:01 PM
I wanted to know, if there was any thumb rule relationship between SGA and Swap Memory.
i.e.;
1. Given the SGA, would you be able to guess what the optimal Swap Memory settings on that system should have been?
If so,
2. Given the fact that, there are 3 Oracle databases running, with 2 GB SGA each, on an UNIX box, what should have been the Swap Memory ideally?
(would it be an additive result of the answer to question 1?, if not why?)
Thanks in advance,
Abram
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 01:20 PM
тАО10-01-2004 01:20 PM
SolutionYour SGA should be a function of: 1) PRIMARILY -- How much can you afford in terms of RAM use , and 2) what is best for the DB. You should, ideally have LOTS of RAM on an Oracle machine so you can have a sizeable SGA which can make the DBs perform better.
The amount of swap space you have defined is also a function of the amount of RAM on your machine. To be able to fully utilize ALL of your RAM, you must have AS MUCH swap space, of some fashion (ie. device, filesystem (NOT ideal) or pseudo swap (the swapmem_on kernel parm) as you have RAM in your system.
So the relationship really is more like: SGA -> RAM -> Swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 01:34 PM
тАО10-01-2004 01:34 PM
Re: Relating SGA and Swap Memory
Thanks for your reply.
I had read somewhere that Oracle recommends SGA to be approx 1/3rd of Swap Memory.
So, cant we relate the two in any way??
Thanks,
Abram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:54 PM
тАО10-01-2004 02:54 PM
Re: Relating SGA and Swap Memory
The rules are actually very simple; buy enough memory in the first place so that you don't swap and then allocate either 1X memory for swap if you disable pseudoswap and have at least 0.25x memory as swap if you are running pseudoswap. In modern systems with lots of memory (16GB and up), it's very common to have perhaps 512MB-1GB of primary swap (you must have some), enable pseudoswap, and then let the remainder of the .25x RAM be comprised of filesystem swap. Since, you aren't going to beusing the disk anyway, filesystem swap is just fine and that let's the system fully utilize it's physical memory.
PS. Swap space should really have nothing to do with dump space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2004 02:48 AM
тАО10-02-2004 02:48 AM
Re: Relating SGA and Swap Memory
Cheers,
Abram