anthony.green (7/4/2012)
What do you get from the below query
select log_reuse_wait_desc, name from sys.databases
When i ran the above query It shows ' ACTIVE TRANSACTION' , So can i go for shrink the data file to get free space in drive. I am going to shrink Tempdb..
And i checked with dbcc sqlperf(logspace) , here the only tempdb data file is large compare to other dbs and logs..
Please suggest me..
Don't shrink TempDB. Leave it be and work out what is requiring so much space, then see if you can fix it.
As for log growth. http://www.sqlservercentral.com/articles/Transaction+Log/72488/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Do not shrink tempdb, you risk corrupting the database and requiring a start of SQL Server to correct.
So what step do i need to take in production environment to get free space in drive.
Please suggest me asap..
Many possible things.
Restart SQL (though if TempDB is sized correctly for its usage that shouldn't reduce it much)
Move files to other drives (TempDB should be separated from user DBs if possible)
Extend the drive
The first question, is this TempDB usage normal or is something wrong today?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Tempdb seems is normal only and it is Production Environment so i could not restart server as of now..
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply