?
Solved

Reducing Swap file and performance tweak in SQL Server cluster ?

Posted on 2012-03-12
2
Medium Priority
?
496 Views
Last Modified: 2012-03-25
Hi People,

I have SQL Server 2008 R2 SP1 which runs on top of Windows Server 2008 R2 SP1 and set as Cluster.

This VM has got 16 GB vRAM and 4vCPU so I wonder if I reduce the Windows swap file can give my VM more disk space and performance ?

I have also enabled the "Lock pages in memory" security policy and added the Service Account that this SQL server is using to imporver performance (http://blogs.technet.com/b/askperf/archive/2008/03/25/lock-pages-in-memory-do-you-really-need-it.aspx)

Can i reduce the swap file into just 1 GB ?
0
Comment
2 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 total points
ID: 37716180
That could be an option however if you try to gain a few extra GB from pagefile then better find a bigger disk system (SAN?) for your SQL cluster and move DB files there.
Of course before you do that you must be 100% sure that you don't need/use more than that for your image. If you need and/or if the swap file USAGE in Windows shows the paging file is high, like 50% or more of the paging file then that's a definite sign of RAM starvation and you must add more physical RAM.
Otherwise start up all of your applications that you think will be run on that VM image (or wait a decent amount of time until the system has had good usage), then launch Process Explorer and go to the view menu and select System Info look at the Commit Charge | Peak, set the paging file to be this number minus the amount of ram in your system.
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 37735853
yes, that's sounds great to me man,
so I'll go on and reduce the PageFile into just 1 GB and then restart the passive node, fail over and then do the same.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

807 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