dbTalk Databases Forums  

Help !! How to clean up transaction log !!

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Help !! How to clean up transaction log !! in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sunny
 
Posts: n/a

Default Help !! How to clean up transaction log !! - 08-21-2003 , 10:56 PM






I'm using the SQL Server 2000 and have 4 datebase on it.
But the transaction log file size about 4GB, how can I
clean up. (because they make the server hang up)

Thanks a lot
Sunny

Reply With Quote
  #2  
Old   
lindawie
 
Posts: n/a

Default Re: Help !! How to clean up transaction log !! - 08-21-2003 , 11:38 PM






Sunny,

Quote:
I'm using the SQL Server 2000 and have 4 datebase on it.
But the transaction log file size about 4GB, how can I
clean up. (because they make the server hang up)
backup log YourDatabase with truncate_only

Refer to Books Online for syntax details.

If you are using full recovery model, you need to back up the
transaction log on a regular basis to keep it down to a reasonable
size. Or switch to simple recorvery model after truncating the log.


Linda




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.