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 (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 347
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
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28162 Visits: 11495
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 (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 347
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
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1750 Visits: 1899
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 (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 347
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
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1308 Visits: 1070
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?!?!
The future of the DBA role...
SQL Security Model in Plain English
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 347
The tempdb has 20 datafiles and no symptoms of contention.
The application database has extensive patch latch waits (due to table scans).
Kevin3NF
Kevin3NF
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1308 Visits: 1070
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?!?!
The future of the DBA role...
SQL Security Model in Plain English
GoWithTheFlow
GoWithTheFlow
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 347
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
SSCertifiable
SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)

Group: General Forum Members
Points: 5956 Visits: 10172
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