Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

A question about tempDB and performance

$
0
0

Hello

Can someone please help me with the following question.

I am not a DBA but rather have a question related to database performance, as I read a related post and want to understand the relationships involved.

If I have a physical Server with lets say 8 core CPU (possible one CPU with 8 cores or two CPU with four cores each).

I read if you set your database up to have the same number of temp files as CPU cores ( in this case 8) you will achieve better performance, as each temp DB with have its own COU thread and each thread will run on one core, therefore spreading the load across all cores at the same time. It this correct? and if so what about the MDF file, should this also be split up into the same number of files as cores, or it that different as the data are first written to the tempDB before being applied to the database in the background.

Please advise

Thanks

Ernest


AAnotherUser__


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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