Solved

Best config for Sql 2008 x64 on Windows 2003 x64

Posted on 2008-10-25
5
409 Views
Last Modified: 2012-05-05
I need some help building out this system.
I built it out with two 8 drive ADG Logical drives.
I put Data on one logical drive and OS,Logs,Backup on the other.
It was my understanding that ADG would be faster than Raid 10, regardless I didn't have enough drive space to do raid 10 at the time.
I plan to move an existing MSA 500 with 14 146 gig 15K drives to this machine, with a dedicated controller (the one that comes with the msa500.
Is it best to create a new ADG Logical drive or a raid 10 drive.  What should I put on that drive (data or logs or both?
Should I Reconfig the non OS partition back to raid 10?
BTW, all the sas drives are DP.
Both P400's have 512 BBWC
The MSA 500 has 512 BBWC
My perfmon shows low use of the current data logical drive, but high use of the log logical drive.
0
Comment
Question by:superbrian
  • 3
  • 2
5 Comments
 

Author Comment

by:superbrian
Comment Utility
The drives in the MSA 500 are U320 drives.
Yes, this server really has 6 cores x 4 processor.  I called HP for support and they guy said they didn't make such a thing.  It' brand new.
0
 
LVL 4

Expert Comment

by:DJDecay
Comment Utility
In your case I would put the

OS on a RAID 1 (2 drive set) separate from the database.
Make a RAID 10 Logical for DATA
Make another RAID 10 Set for Logs with lower stripe sizes.

Take the OS storage and Swap out from your DB storage.

0
 

Author Comment

by:superbrian
Comment Utility
I can't afford the down time to rebuild the OS so Array 0 can't be changed.

Array 1 can be changed since I can be down long enougth to move data/logs around.

Array 2 will be the new 14 Drive U320 Array.

Array 0 - 8 drive ADG SAS has:
C:   OS
D:   SQL
E:   Backups
J:   Logs
I was planning to conbine E: and J: as a new larger E: for just backups.

Array 1  - 8 Drive ADG SAS has:
F:   Data
G:   Data
H:   just some extra space

Array 2 will be a new 14 Drive U320 array on the MSA 500  
Should this be ADG or Raid 10  Which will offer the most safety and speed.
Should I put logs or data on the new Array 2?
It will be a waste of space to use it for logs, but that would seem to offer the best performance.
0
 
LVL 4

Accepted Solution

by:
DJDecay earned 500 total points
Comment Utility
I would strongly recommend you analyze where the disk-slices (partitions) on the Logical Volume 0 are.

Closer each partition is to the center of each disk spindle the more performance you'll receive on spin speed alone.

Here are some assumptions on my part.

C:  - Server OS and Its Swap File
D:  - SQL Server Binaries etc
E:  - SQL Server Maintanace Plan \Backups directory container.
J:  -  SQL Server transaction Logs

J: is all the way at the end of the Logical Volume so has the _SLOWEST_ spindle speed,

My first recommendation  would recommend swapping J: and E: volumes places (unless the partitions are issued differently.

F: SQL Server \DATA containers with the real tables in them.
G: SQL Server \DATA containers with the real tables in them.
H: Lef over Space


Okay So on the Same IO Backplane

C:\ is going to get alot of SWAP hits and fragmentation as you update packages via Windows Installer.

D:\ SQL Server Binaries could have stayed on C: (You can still migrate that) rapid access to binaries is not needed.  It's only used during SQL Start/Stop upgrades etc..

E:\ Should be your Logs

J:\ Should be your backups

----
F and G can merge together (slice 0 and slice 1)



Now database files grow in strides just like logs, you need set the DB growth from the beginning and make sure each start at the begining of the volume.

Your DB logs should be closest to the centre spindle slices.  Either on array 1 or array 2
Your High I/O database (not the one thats caching alot, but actually doing alot of INSERTS, DELETES and UPDATES) that Data needs to sit on ARRAY 2 (No need for separate slices)

This is the best that I can give you without knowing the sizing requirements for the afore mentioned database(s) and how many reads, writes, in-memory stored procs and etc will execute on it.

I would always stick with RAID 10 vs. ADG
And pay attention closely to block sizes when formatting NTFS etc..
Default size is not always best for I/O chunks.









0
 

Author Comment

by:superbrian
Comment Utility
Thanks DJDecay, that helps me understand a lot, and I'll make most of those changes.
I'll create array 2 as Raid 10 and recreate array 1 as Raid 10 and I'll put logs and data first on each.

My main database is 35 gigs, whats the recommended block size?  I usually leave this at default since I don't know what's best.  It seems to me it should be quite large if the data is 35 gigs and I want to place it on the new array 2.  The other 10 DB's are 1-4 gigs each
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 5 99
Auditing in Azure SQL Database 3 27
Log Backup 2 11
Sql query 34 14
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now