Groups | Blog | Home
all groups > sql server new users > july 2005 >

sql server new users : Log full



ritta_rex
7/30/2005 6:58:03 PM
hi,

I have this scenario :

My log is full, and nobody can writte into the db, how can I clean it ?
(recovery model is full and I have a backup of log before this problem)

Do you know the steps ?

regards,


--
Hari Prasad
7/31/2005 12:00:00 AM
Hi,

Execute the below command to get the log size and usage

DBCC SQLPERF(LOGSPACE)

The problem can occur due to:-

1. LDF file is restricted to a specific size and file is grown to that limit
2. LDF growth is unrestricted and Hard disk (where LDF resides) is full

Verify both. Incase if the physical LDF is grown very high use DBCC
SHRINKFILE command to shrink the file to a smaller size

Thanks
Hari
SQL Server MVP

[quoted text, click to view]

ritta_rex
8/2/2005 7:09:05 AM
thank you !!!!




--
ritta_rex


[quoted text, click to view]
AddThis Social Bookmark Button