Pagefile size on a server with tons of RAM

pagefilewindows-server-2003

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.

Best Answer

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.

Related Topic