Re: SQL Server 2005 disk layout - opinions?
- From: "jlaustill@xxxxxxxxx" <jlaustill@xxxxxxxxx>
- Date: Fri, 28 Mar 2008 07:10:19 -0700 (PDT)
On Mar 27, 11:54 am, aj <ron...@xxxxxxxxxxxxx> wrote:
I'm planning the disk layout for my soon-to-be-live SQL Server 2005 SP2
OLTP database. I've read all of the "best practices" doc I can find,
and have an idea of what I will do. I am looking for any comments and
generally having the experts shoot holes in it. Any help is
appreciated.
I know there are a million more questions that could be asked about the
system -- I'm just trying to define /general/ guidelines for this (or
any other) SQL Server system that I administer.
I have an EMC SAN. I will separate storage into 3 RAID 10 LUNs
(separate spindles):
D: is TEMP
E: is DATA (DATABASES)
F: is LOG
The server has 2 dual-core CPUS, so I will plan on 4 equally-sized DATA
files per user database (I will only use a PRIMARY filegroup). Should I
have 4 equally-sized LOG files per user database as well?
Lets assume I have user databases called A and B, and perhaps 30-40 gigs
of total data. Logs will be ~25% of database size. Here are the drive
contents:
D:\ (TEMP)
tempdb.mdf
tempdb1.ndf
tempdb2.ndf
tempdb3.ndf
templog.ldf
E:\ (DATA)
MSDBData.mdf
model.mdf
master.mdf
a.mdf
a1.ndf
a2.ndf
a3.ndf
b.mdf
b1.ndf
b2.ndf
b3.ndf
F:\ (LOG)
MSDBLog.ldf
modellog.ldf
mastlog.ldf
a.ldf
b.ldf
Is there any good reason to create database sub-folders in the drives?
Like:
E:\msdb\MSDBData.mdf
E:\model\model.mdf
E:\master\master.mdf
E:\a\a.mdf
E:\a\a1.ndf
...and so on....
As I said: any comments appreciated.
A soon-to-be SQL Server DBA..
aj
You have a good start here. The size of your logs is going to be very
important here, and they will depend on many factors. The first is
what recovery model's will you be using? Where will you do your daily
backups to? Will you have enough drive space with that format to do
weekly maintenance such as index rebuilding? Breaking your drives
apart will make things faster, but it comes at a price, mainly wasted
disk space. Think about the above questions and let everyone know
your thoughts :)
Good day,
Joshua Austill
Senior DBA
.
- References:
- Prev by Date: Uninstall SQL 2000 Workstation Components
- Next by Date: Re: help with DDL trigger. Moved from other newsgroup.
- Previous by thread: SQL Server 2005 disk layout - opinions?
- Next by thread: Re: SQL Server 2005 disk layout - opinions?
- Index(es):
Relevant Pages
|