Question:
I have 3 hard disks: C, D and E
C contains OS information (Raid 1).
I was thinking of doing this ( in order to optimise performace of my SQL Server):
P.S Its an OLAP server
D: (Raid 1) put all the log files here + create a second filegroup than the "default" one and put here one of the 2 most heavy queried tables
E: put all the data files in one filegroup (Raid 5)
I was thinking that in the Raid 5 i would put the table that cause most problems and the Raid 1 i would put the other table. Any opinions? Any suggestions?
Thanxs
Cl=E1udiaYou should always keep the log on a different drive than the data...
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it community
of SQL Server professionals.
www.sqlpass.org
"Cláudia" <Alphaseusa@.hotmail.com> wrote in message
news:4e6101c356ba$cc02b0a0$a001280a@.phx.gbl...
Question:
I have 3 hard disks: C, D and E
C contains OS information (Raid 1).
I was thinking of doing this ( in order to optimise
performace of my SQL Server):
P.S Its an OLAP server
D: (Raid 1) put all the log files here + create a second
filegroup than the "default" one and put here one of the 2
most heavy queried tables
E: put all the data files in one filegroup (Raid 5)
I was thinking that in the Raid 5 i would put the table
that cause most problems and the Raid 1 i would put the
other table. Any opinions? Any suggestions?
Thanxs
Cláudia|||Claudia,
I'd recommend keeping all your data files off of the log files drive.
Putting data files on the same drive as your log files will greatly slow
down access to the log files.
--
Denny Cherry
DBA
GameSpy Industries
"Cláudia" <Alphaseusa@.hotmail.com> wrote in message
news:4e6101c356ba$cc02b0a0$a001280a@.phx.gbl...
Question:
I have 3 hard disks: C, D and E
C contains OS information (Raid 1).
I was thinking of doing this ( in order to optimise
performace of my SQL Server):
P.S Its an OLAP server
D: (Raid 1) put all the log files here + create a second
filegroup than the "default" one and put here one of the 2
most heavy queried tables
E: put all the data files in one filegroup (Raid 5)
I was thinking that in the Raid 5 i would put the table
that cause most problems and the Raid 1 i would put the
other table. Any opinions? Any suggestions?
Thanxs
Cláudia|||Claudia
The guys are right about log files, for OLTP, but as you said your's is OLAP which can be different. If you are not updating the database or you are doing it at a time when no-users are on the system and there is a large time window, the impact of the transaction logs being on the same drives as the data is reduced to a level where if you can increase performance, during the time users are on the system by spreading the data more, then don't worry about the log location.
You say you have 3 hard drives, I assume that is at the logical level, bit hard to have a one drive raid 5. The main thing that worries me about your proposed use is you say one drive is raid 1 and one is raid 5 that you propose to put the data on. It is not a good idea to mix the raid levels your data files are on.
If you resolve your raid levels, I see no harm in trying to spread the load.
Regards
John
>--Original Message--
>Claudia,
>I'd recommend keeping all your data files off of the log files drive.
>Putting data files on the same drive as your log files will greatly slow
>down access to the log files.
>-- >Denny Cherry
>DBA
>GameSpy Industries
>"Cl=E1udia" <Alphaseusa@.hotmail.com> wrote in message
>news:4e6101c356ba$cc02b0a0$a001280a@.phx.gbl...
>Question:
>I have 3 hard disks: C, D and E
>C contains OS information (Raid 1).
>I was thinking of doing this ( in order to optimise
>performace of my SQL Server):
>P.S Its an OLAP server
>D: (Raid 1) put all the log files here + create a second
>filegroup than the "default" one and put here one of the 2
>most heavy queried tables
>E: put all the data files in one filegroup (Raid 5)
>I was thinking that in the Raid 5 i would put the table
>that cause most problems and the Raid 1 i would put the
>other table. Any opinions? Any suggestions?
>Thanxs
>Cl=E1udia
>
>.
>|||Claudia
Would be easier if you had 8, but lets see what we can do. I don't know the size of your disks or your database, so this might not work.
I am assuming you are a 'classic' olap data warehousing system and not some kind of hybrid.
Leave the operating system as it is, two disks RAID 1. Configure 4 disks as RAID 0 + 1 and put the databases on there. Despite saying you can put the transaction logs on the same disk, put it on the remaining disk with no RAID. (If you had an extra disk, I would have said 6 disk RAID 0+1 and put the lot on it.
Before anyone says, what no RAID for the logs, I was assuming 'classic' olap where the logs are not used, usually the database is set to simple recovery (or trauncate log on checkpoint for 6.5 or 7). For what I see as 'classic' olap it usually quicker and easier to rebuild the database from source than have a backup/DR plan, so no backups and no logs.
Not enough info to know if this would be suitable, what do you think?
Regards
John
>--Original Message--
>I have 7 hard disks:
>2 -- raid 1
>2 -- raid 1
>3 -- raid 5
>any ideas on how to do it best to optimize performance?
>>--Original Message--
>>Claudia
>>The guys are right about log files, for OLTP, but as you >>said your's is OLAP which can be different. If you are >not >>updating the database or you are doing it at a time when >>no-users are on the system and there is a large time >>window, the impact of the transaction logs being on the >>same drives as the data is reduced to a level where if >you >>can increase performance, during the time users are on >the >>system by spreading the data more, then don't worry about >>the log location.
>>You say you have 3 hard drives, I assume that is at the >>logical level, bit hard to have a one drive raid 5. The >>main thing that worries me about your proposed use is you >>say one drive is raid 1 and one is raid 5 that you >propose >>to put the data on. It is not a good idea to mix the raid >>levels your data files are on.
>>If you resolve your raid levels, I see no harm in trying >>to spread the load.
>>Regards
>>John
>>
>>--Original Message--
>>Claudia,
>>I'd recommend keeping all your data files off of the log >>files drive.
>>Putting data files on the same drive as your log files >>will greatly slow
>>down access to the log files.
>>-- >>Denny Cherry
>>DBA
>>GameSpy Industries
>>"Cl=E1udia" <Alphaseusa@.hotmail.com> wrote in message
>>news:4e6101c356ba$cc02b0a0$a001280a@.phx.gbl...
>>Question:
>>I have 3 hard disks: C, D and E
>>C contains OS information (Raid 1).
>>I was thinking of doing this ( in order to optimise
>>performace of my SQL Server):
>>P.S Its an OLAP server
>>D: (Raid 1) put all the log files here + create a second
>>filegroup than the "default" one and put here one of the >2
>>most heavy queried tables
>>E: put all the data files in one filegroup (Raid 5)
>>I was thinking that in the Raid 5 i would put the table
>>that cause most problems and the Raid 1 i would put the
>>other table. Any opinions? Any suggestions?
>>Thanxs
>>Cl=E1udia
>>
>>.
>>.
>.
>