Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2008-08-11 : 14:50:58
|
| Am I correct in folloiwng statements, 1. Even though tempdb gets created at every server restart, the growth parameters like (initilial size, autogrowth settings) won't reset. 2. At restart growth parameters for tempdb are NOT taken from model db. Thank you.------------------------I think, therefore I am - Rene Descartes |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-08-11 : 14:57:22
|
| 1)It should reset (8MB for data file and 1MB for log file)2) Yes, they are not taken . They are 2 different system databases. |
 |
|
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2008-08-11 : 15:01:38
|
quote: 1)It should reset (8MB for data file and 1MB for log file)
I just checked this. It is not behaving as you told. Are you sure? I changed the initial growth, after restarting the server, the new settings exist!quote: 2) Yes, they are not taken . They are 2 different system databases.
My point is any new user DB gets the templare from MODEL. If we create a object in model that gets copied in new DB, also in tempdb when it gets recreated. The new Dbs get the growth parameter from MODEL, so why not the tempdb gets the growth parameters from MODEL?------------------------I think, therefore I am - Rene Descartes |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-08-11 : 15:13:52
|
| 1)Well I am talking about the default value after restarting .It will if you change the settings.2) Model database has default full recovery model but not TempDB. |
 |
|
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2008-08-11 : 15:48:40
|
| So am I correct in my first post?------------------------I think, therefore I am - Rene Descartes |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-08-11 : 16:33:27
|
| 1)It will reset unless you change settings.2)TempDB gets template from Model . |
 |
|
|
|
|
|
|
|