MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

ESSENTIALS: Home | Tips | Search | Categories | Top 10 | Products | Authors | Blogs | Forums | Webcasts | Advertise | About
Properly Sizing the TempDB Database - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

Properly Sizing the TempDB Database

Last post 12-10-2007 7:05 PM by admin. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 12-06-2007 3:23 AM

    Properly Sizing the TempDB Database

    This post is related to this tip: Properly Sizing the TempDB Database

    http://www.mssqltips.com/tip.asp?tip=1388

  • 12-06-2007 11:29 AM In reply to

    Re: Properly Sizing the TempDB Database

    One question. The documentation, even the link recommended on 'Hard Drive Configurations for SQL Server' always say;

    Drive X - System Database data files

    Drive Y - User Database data files

    Drive Z - Transaction log files.

     Where do the log files for TEMPDb go? X or Z?

  • 12-07-2007 11:47 AM In reply to

    Re: Properly Sizing the TempDB Database

    Glynne_smith,

    That is a great question!  For many of the hard drive configurations in the Hard Drive Configurations for SQL Server tip the TempDB database and log file would reside on the System Database disk drive.

    One item that was not covered in that tip is actually splitting the TempDB database (and transaction log) to a separate RAID 1 set when the TempDB database is used frequently.  Depending on the application, TempDB may or may not be used heavily.  For the circumstances when it is used heavily, then splitting the TempDB database (and transaction log) may be a performance improvement.

    Let us know if this answers your question.

    Thank you,
    The MSSQLTips.com Team

  • 12-07-2007 12:15 PM In reply to

    Re: Properly Sizing the TempDB Database

    That makes sense.....thanks

  • 12-10-2007 2:58 PM In reply to

    • aprato
    • Top 10 Contributor
    • Joined on 12-01-2007
    • Greater Boston
    • Posts 263

    Re: Properly Sizing the TempDB Database

     

    One thing I'd like to add....In the past, I have avoided placing tempdb on a RAID-0.  Though tempdb doesn't require the fault tolerance of other RAIDs,  if tempdb is on a RAID-0 and the disk fails,  SQL Server will go down.  Tempdb is required for SQL Server.

  • 12-10-2007 7:05 PM In reply to

    Re: Properly Sizing the TempDB Database

    APrato,

    Thanks so much!  That is a great point!

    Thank you,
    The MSSQLTips.com Team

Page 1 of 1 (6 items)