Oracle Enterprise Linux swap size


I need some clarification I have been given a brand new server to install OEL 5.5 this server will hold a DR solution for the oracle 10g rac databases.

The system which is 64bit  has 128gb of RAM with a local harddisk = 146gb

From what I understand to determine the swap size if there is more than 8gb of ram which there is you use the formual 0.75 times the size of ram this = 96gb

Is this right am I to allocate 96gb of my 146gb harddisk to swap space

Any Ideas on this

Who is Participating?
ashwin42Connect With a Mentor Commented:
I would be worried about swap space that big too. The server might just lock up due to disk I/O

The only reason I recommend that you go for 97 GB now is that it is way easier to reduce swap space than increase it later.
slightwv (䄆 Netminder) Commented:
Strange config you have...  Never seen a setup where ram almost equaled disk space...

In the old days, you wanted swap to equal ram.  Take a look at the following link.  Oracle Linux is based on RedHat (at least it used to be):
slightwv (䄆 Netminder) Commented:
ohh.... missed 'local disk'. saw it as soon as I clicked 'submit'.
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

As this is a DR site, there "might" be a lot more DB instances on the server than on a normal installation. Since people try to cram backups for all db servers into one.

Which would rapidly use up physical memory in case the primary site does go down.

I would go with the 96GB virtual memory recommendation.

DarrenJacksonAuthor Commented:

You are spot on with your diagnosis this would in the event of a dr run all our DB for the entire company

just thought 96gb was exessive
slightwv (䄆 Netminder)Connect With a Mentor Commented:
Then I would get bigger/more internal disk.  You'll likely fill up 146G pretty quick...  These days, it's also pretty small.

For example:  Are all the DBs ALL on the same version of Oracle?  If not, you'll likely need a couple Gig per Oracle version.
DarrenJacksonAuthor Commented:
local disk space is not my concern as all db are on the SAN. so its just the local installs im just thinking jesus thats a big swap space lol
DarrenJacksonAuthor Commented:
Im actually hoping that the OS never uses any where near that size of swap space. But if it is easier to reduce then im good with that

Thanks for the advice
DarrenJacksonAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.