[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Reducing Swap file and performance tweak in SQL Server cluster ?

Posted on 2012-03-12
2
Medium Priority
?
493 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

649 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