Pagefile size on a server with tons of RAM

We have a database server that we're upgrading to 64GB of RAM, but currently it only has small SCSI drives - totaling just over 400GB (192GB after mirroring). Our database is relatively small, but everyone tells us that the pagefile should be 1-1.5X RAM. We need to set some type of max size given our small disk size, but it seems silly to go buy $500 in SCSI disks just for page file storage.


The 1.5 times physical RAM is just a guideline. There are some general pointers about page file sizing in this Technet article which makes the point:

On server systems, a common objective is to have enough RAM so that there is never a shortage and the pagefile is essentially, not used. On these systems, having a really large pagefile may serve no useful purpose.

However for some systems (Domain Controllers, Exchange Servers) totally disabling page files is not a good idea. It's specifically contra-indicated for DC's and it's a very bad idea for Exchange Servers. I've seen the Exchange behaviour described in that article (extreme disk thrashing caused by paging) on an E2K7 Server that wasn't all that busy with 32G of physical RAM where someone set the pagefile size to 1G.

I've never found (or heard of) any specific statements that indicate a paging file is necessary for SQL, apart from the general argument that it helps if something else goes rogue and chews up all physical RAM.


I wouldn't worry about it myself, on our physical MSSQL boxes we specifically turn paging off and some our ours run for quarters at a time without input. That said I'd still be tempted to let Windows manage its own page file, keep an eye on it and it'll tell you how big it needs to be.


The whole goal of properly spec'ing out a dbase server is to provide enough RAM for the entire database/s. The last thing you want are SQL queries causing disk I/O (swapping). Find the MSSQL database folders and check your database/s total disk usage. You should have at least double that amount of RAM in the system - in an ideal world. That leaves enough RAM for dbase growth as well as enough for query caching and the like.

So to answer your question, swap can be 1.5 times memory for systems with low memory and usually be 8GB or less for systems with large amounts of memory. If you start using paging don't increase swap..increase your RAM.