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 > Log_dir & log_archive issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-10, 01:50
manikandank_1984 manikandank_1984 is offline
Registered User
 
Join Date: Oct 2008
Posts: 65
Log_dir & log_archive issue

Hi All,

I am facing a critical issue in DB2.The online log files creating in log_dir folder and transfering to log_archive folder.In my case the log_dir files are transferring to log_archive folder but the log_dir files are still reming in same place.

Finally the same online log files exist in both log_dir & log_archive folder.what is the isssue..

Quick response will be appriciated...

Regards,
Raj
Reply With Quote
  #2 (permalink)  
Old 09-22-10, 03:50
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Don't worry about that. DB2 sometimes has this behavior.
My guess: The Logfile was filled and copied to archive log-directory, but not all Transactions in the Logfile are commited. If everything is comitted the logfile will be recycled.
Also sometimes DB2 can't recycled logfiles, because there's a lock on the Files from a Virusscanner or a Backuputility. If the Logfile is a lot older than the other logfiles in the directory and it was copied to the Archive-Directory you could delete it without problems.

Cheers
nvk
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