Re: Install SS 2005 - log files best practice
- From: "Steen Schlüter Persson (DK)" <steen@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 15:22:27 +0200
They are definitely not talking about logical drives. Like Andrew said, you won't gain anything by placing your files on different logical drives if these are on the same physical disks.
The reason for placing the files on different physical arrays (and best of all on different disk/RAID controllers), is to split the load to different hardware.
An example is if SQL server are going to write some data to the logfile while at the same time another user is requesting some data. If you have your files on different PHYSICAL arrays, the database array can read the data from the database while at the same time the log file array can write the data to the log file.
If you have both your database- and logfile on the same physical arrays (no mater if it's different logical drives or not..) the array can't both read and write at the same time. One of the operation might have to wait for the other to have finished it's work before it can continue with other tasks.
I know the above is quite simplified and in many cases there are RAID controllers/cache etc. that tries to "limit" these disadvantages but I think you get the big picture?
Depending on the load on the server, there might be cases where you don't see the big performance gain in splitting data on different arrays though. If you are using a SAN as storage, that might also give a different picture, but that another story...:-).
--
Regards
Steen Schlüter Persson
Database Administrator / System Administrator
Sandy wrote:
Hi Kelly -.
Thanks for your response. The following is a direct quote from Microsoft SQL Server 2005 Implementation and Maintenance (MCTS Exam 70-431) Self-Paced Training Kit:
"To configure data and log files for best performance, follow these best practices:
* To avoid disk contention, do not put data files on the same drive that contains the operating system files.
* Put transaction log files on a separate drive from data files. This split gives you the best performance by reducing disk contention between data and transaction log files.
* Put the tempdb on a separate drive if possible, preferably on a RAID 10 or RAID 5 system. In environments in which there is intensive use of tempdb databases, you can get better performance by putting tempdb on a separate drive, which lets SQL Server perform tempdb operations in parallel with database operations."
Are they talking about logical drives?
Would you have any links to articles that support putting everything on a single partition?
- References:
- Re: Install SS 2005 - log files best practice
- From: Andrew J. Kelly
- Re: Install SS 2005 - log files best practice
- From: Sandy
- Re: Install SS 2005 - log files best practice
- Prev by Date: Re: Install SS 2005 - log files best practice
- Next by Date: Re: Install SS 2005 - log files best practice
- Previous by thread: Re: Install SS 2005 - log files best practice
- Next by thread: Re: Install SS 2005 - log files best practice
- Index(es):
Relevant Pages
|