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 |
|
amsqlguy
Yak Posting Veteran
89 Posts |
Posted - 2008-08-11 : 14:53:59
|
| Guys,I am trying to shrink tempdb which is up to 100gb by the following command, but it doesnt seem to release unused space.dbcc shrinkfile (tempDEV, 100)Also is there any way to find out all open cursors and close them which might also potentially contirbute to tempdb growthThanks |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2008-08-11 : 15:06:44
|
| Also posted here:[url]http://www.sqlservercentral.com/Forums/Topic550552-146-1.aspx[/url]--Gail ShawSQL Server MVP |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-08-11 : 15:10:40
|
| "Also is there any way to find out all open cursors and close them which might also potentially contirbute to tempdb growth"DBCC OpentranDBCC inputbuffer<spid>KIll<spid> |
 |
|
|
|
|
|