If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Clear Database Log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-04, 22:11
carmenlei carmenlei is offline
Registered User
 
Join Date: Jun 2004
Posts: 24
Clear Database Log

I want to Removes the inactive part of the log without making a backup copy of it and truncates the log to free spaces. That's like the statement "BACKUP LOG db-name WITH TRUNCATE_ONLY " in SQLServer. Is there any statements/method to do that? Thanks in advance!

Last edited by carmenlei; 08-02-04 at 22:18.
Reply With Quote
  #2 (permalink)  
Old 08-02-04, 22:13
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
I think it will help if you can explain clearly what that command does exactly in SQL server...otherwise you are limiting yourself to only those individuals who knows both SQL and DB2!!! Please read "must read before posting"

dollar
Reply With Quote
  #3 (permalink)  
Old 08-02-04, 22:19
carmenlei carmenlei is offline
Registered User
 
Join Date: Jun 2004
Posts: 24
sorry, coz I didn't know about what should I do clearly. But I've try my best to explain now~
Reply With Quote
  #4 (permalink)  
Old 08-03-04, 06:16
vidyaraok vidyaraok is offline
Registered User
 
Join Date: Aug 2004
Posts: 15
truncating active log

can use command:

archive log for database db-alias
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On