?
Solved

Reducing Swap file and performance tweak in SQL Server cluster ?

Posted on 2012-03-12
2
Medium Priority
?
489 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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 …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

771 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