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 |
frank.svs
Constraint Violating Yak Guru
368 Posts |
Posted - 2011-04-04 : 18:58:43
|
Hi,In SQL Server 2005, At instance level i have changed my default database settings as belowData: D:\sqldataLog: E:\sqldataAlso, i have changed the location of tempdb to F:\ drive for better manageability purpose.Now i have two questions regarding these locations1. If i start the sql server normally, then tempdb is getting created in F:\ drive as expected. I believe, the locations of the tempdb is taken from master database.2. If i start the sql server in minimally configuration mode i.e -f, now tempdb is getting created in default database settings location.Why? I think, here in this case the locations are read from registry and not the master database. please correct me if am wrong. Also,in default database settings i said to create the .mdf file in "D:\sqldata" and .ldf to "E:\sqldata". If that is true,it has to create the tempdb .mdf in D:\sqldata and temp.ldf in E:\sqldata but as per my observation both mdf and ldf are getting created in D:\sqldata. Why it is doing like that, is that a bug in sql server??Thanks in Advance. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
frank.svs
Constraint Violating Yak Guru
368 Posts |
Posted - 2011-04-04 : 20:06:17
|
Thanks Tara. |
|
|
|
|
|
|
|