August 18, 2012 at 2:41 pm
I'm creating a database on a server with 3 hard drives. One is mainly for the OS and I shouldn't use it, the second and third are available with enough space for the database expected size. Because the company is not interested on making log backups I'll set the recovery model to Simple.
My question is: should I use one disk for data and another one for the log? or should I divide data in 2 files (one on each drive) and the log in the "less used" drive?
August 18, 2012 at 3:58 pm
Single drives, no RAID? If that's the case (and they're the same size) I'd probably prefer to set them RAID 1 (for redundancy) and put all files on one drive. Not really good choices either way.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 18, 2012 at 11:31 pm
Theoretically speaking and from a performance perspective you should segregate location of
1) Data Files.
and
2) Log files.
This is because the IO associated with a data file for a standard OLTP database is random is nature whereas the IO associated with log files are sequential in nature.
Ideally, you should also place the TempDB files ( both data and log) on separate drives well but then you do not have that option as you do not have sufficient no of drives at this point in time.
But the important thing to note is that the final decision is very subjective to each environment and therefore I would like to mention that I also agree 100% with the earlier post as well regarding RAID suggestion and location of database files.
August 19, 2012 at 1:01 pm
Thank you very much for your answers.
I'm new at administration and I guess I'll have to do some research on RAID and other parts referring to infrastructure of SQL Server.
Any suggestions on anything else I should study?
August 19, 2012 at 2:21 pm
This is decent - http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
Disclaimer: I worked on that book.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply