I am not DBA ,but I need to check on the size of database files . my database log files earlier was around 32 GB but from last few days it starts increasing and finally reached to 70 GB . first I thought it was natural , but soon I realized that I was wrong .
For shrinking the size of log file ,firstly I used to determine the % of space occupied in log file by using .
DBCC SQLPERF(logspace)
Result was :- log size(MB) > 70 and Log Space Used > 94% with
DBCC LOGINFO
I found more than 700 transactions having Status = '2'
After that I took "log as well as full backup" and run above query again but still got >700 transactions having Status = '2' detached and reattached , but still no difference in size .
Then I went for Shrinking log files and for testing purpose I gave the size 60GB . Then run following query again
DBCC SQLPERF(logspace)
and result was :- log size(MB) > 66 and Log Space Used = 99.1258%.
Question is : How can I bring the size of log files near to earlier size i.e. around 32 GB or near by and how to keep check on it so that its size does not change dramatically .
** Recovery Mode :- FULL
Thanks in advance ....