Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Confusion on tempDB

$
0
0

Hi All,

Every time we restart the sql server service we see tempDB recreated, and tempdb will get created as other database get created i.e from model database. But i see i have 4 datafiles in tempdb and model database has only one datafile. only primary file in tempdb is getting created with size of ModelDB?

So my question is while recreating why tempdb is not dropping remaining 3 data files.

And One more example. I created a test table in model db and restarted the SQL server service. I observed that the same table has also been created on tempdb as well.

Please clarify

Thank you !!!!!!!!!



Viewing all articles
Browse latest Browse all 12963

Trending Articles



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