Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

tempdb and different disks speeds, how to optimize?

$
0
0

Hi,

I want to know if there is options available to force SQL Server to use first some tempdb files before some others?

I have SSD drives, SAS and SATA drives.

the SSD is the better, but the smaller. for 90% of the needs, having the tempdb files here is enough.

but sometimes complex queries require more space from the disks, and the SSD drive will be filled.

So I have to use the SAS drives then the SATA drives...

if I create 1 tempdb file per disk, SQL Server use the 3 files at the same time and this reduces the speed of my most common queries.

so if I can force SQL Server to use the files in a sequential order rather then in parrallel it will be great.

is it possible to do this?

can I add a tempdb file when the SSD disk is near full and remove it later? (so add a file to the tempdb database when the disks is used at 90% or if the tempdb file is filled at 90%, and later in the day remove these files created on the SAS drive)

thanks.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>