SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSD Drive


SSD Drive

Author
Message
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)

Group: General Forum Members
Points: 112 Visits: 328
My SQL Server has a local SSD drive and regular SAN storage. Should I put the
tempdb on the SSD and my databases on the SAN
or
tempdb on SAN and databases on SSD?
Eric M Russell
Eric M Russell
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12094 Visits: 10634
How big is your SSD compared to the size of your database?


"The universe is complicated and for the most part beyond your control, but your life is only as complicated as you choose it to be."
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)

Group: General Forum Members
Points: 112 Visits: 328
SSD drive is 1.5 TB
Database is 50 GB
tempdb is 85 GB. Last week it filled up and crashed the server.

The database has performance issues due to table scans in stored procedures. Manager wants to throw hardware at the issue instead of tuning. (He has been advised otherwise)
frederico_fonseca
frederico_fonseca
Mr or Mrs. 500
Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)Mr or Mrs. 500 (596 reputation)

Group: General Forum Members
Points: 596 Visits: 1544
If the server is Clustered then only TEMPDB can be on the local SSD
If it isn't then placing the DB on SSD could be an option.
And regular backups (every 5 min or less to SSD then copy to SAN) to SAN if reason for being on the SAN is DR/Data safety. A backup of a DB that size split into 4 files should only take 1-2 min to finish.
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)

Group: General Forum Members
Points: 112 Visits: 328
I placed the database file on the SSD drive with 5 minute transaction log backups to a san drive.

A manager from another dept. told my manager that placing the tempdb on the SSD would have been a better decision.

I'm looking for any research to support either one.
Kevin3NF
Kevin3NF
SSC-Addicted
SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)

Group: General Forum Members
Points: 446 Visits: 619
It totally depends on the IOPS of each storage, and your performance testing.

Have you allocated files properly for tempdb, etc?

------------------------------------------------------------------------------------------------
Standing in the gap between Consultant and Contractor
Kevin3NF
DallasDBAs.com/Blog
Why is my SQL Log File HUGE?!?!
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)

Group: General Forum Members
Points: 112 Visits: 328
The tempdb has 20 datafiles and no symptoms of contention.
The application database has extensive patch latch waits (due to table scans).
Kevin3NF
Kevin3NF
SSC-Addicted
SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)SSC-Addicted (446 reputation)

Group: General Forum Members
Points: 446 Visits: 619
20 seems high, but your real issue is the scans (as you already know).

Are the indexes and stats being created, maintained, reviewed and altered as appropriate?

------------------------------------------------------------------------------------------------
Standing in the gap between Consultant and Contractor
Kevin3NF
DallasDBAs.com/Blog
Why is my SQL Log File HUGE?!?!
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)SSC-Enthusiastic (112 reputation)

Group: General Forum Members
Points: 112 Visits: 328
The server has 64 logical processors. 20 is a bit of overkill but not much.

Stats are updated nightly. Indexes are defragmented nightly.
Performance issues are truly caused by poorly written stored procs.
The application database has twice the IO as the TempDB

So, which is it better to put on the SSD drive? The application database or the TempDB?
ZZartin
ZZartin
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2751 Visits: 9043
Just curious but what other databases are on that server? That sounds like a lot of hardware for only a 50GB database.

Not that that would be related to bad table scans.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search