Solved

sql server and pagefile

Posted on 2011-09-08
6
333 Views
Last Modified: 2012-05-12
if space is available, would you recommend putting a pagefile in each of the sql drives (one for data, one for index, one for tempdb and one for log in each of the respective drives?)
0
Comment
Question by:25112
6 Comments
 
LVL 2

Accepted Solution

by:
awarren85 earned 125 total points
ID: 36507863
I wouldn't worry about it -- if your server runs out of RAM and has to go into the pagefile, your system performance will be so adversely affected it really won't matter if the pagefile is spread out amongst drives.  I would say it would be better to monitor and ensure you don't run out of physical RAM before worrying about the pagefile.
0
 
LVL 59

Assisted Solution

by:Kevin Cross
Kevin Cross earned 250 total points
ID: 36507883
Oy. Spreading of pagefiles should be done across different spindles if you can. If you have the luxury of having distinct IO controllers in your server, then the traditional advice is to split all the IO for SQL. i.e., have data on one set of drives, logs on another, pagefiles on other(s). If you are basically dealing with logical partitions, then it will not matter as said.
0
 
LVL 5

Author Comment

by:25112
ID: 36507898
hmm.. ok..

in our case, we have one drive (100GB)  max of 80 GB TempDB space allotted and 20 GB pagefile.. that is wasted effort?

but if we can afford one complete drive for pagefile as mwvisa1 said, then that one pagefile should suffice for the whole sql server, right?
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 59

Assisted Solution

by:Kevin Cross
Kevin Cross earned 250 total points
ID: 36507920
Operating System edition (and associated limits), amount of memory in system, etc. play into this also; however, it is possible. For example, I have one system where I took the one drive and partitioned it logically to multiple volumes to accommodate the 4GB pagefile limitation of the version of Windows it was built on ... but the IO is isolated to that drive which isn't mirrored or anything whereas actually using RAID on data and log volumes. Not the best configuration conceivable, but worked.

Here is a look at storage in SQL environment.
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/A_1811-SQL-server-Storage-system-Selecting-the-appropriate-RAID-level.html
0
 
LVL 38

Assisted Solution

by:Jim P.
Jim P. earned 125 total points
ID: 36507963
Unless you start getting into semi-exotic setups -- such as having dedicated SANs for SQL, multiple disk controllers, multiple spindles presented as different disks, and you can split them as needed, its finding the major chokepoints and resolving them. The versions of OS and SQL have an effect as well.

Tuning SQL Server is as much an art as a science.

The other issue is having efficient code design. If you have code that scans a whole table to select 25 records that you actually want to update -- no matter how you tune -- scanning a million rows for 25 records is still going to give you crappy performance.
0
 
LVL 5

Author Comment

by:25112
ID: 36537127
good info.. thx
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now