Solved

sql server and pagefile

Posted on 2011-09-08
6
337 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
[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
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 60

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 60

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

752 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