How to solve the problem about the active log is full

This is a discussion on How to solve the problem about the active log is full within the db2-udb forums in Other Databases category; I got error message from event viewer of windows about the active log is full. Please advise me, how to solve it ? Thank you....

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-17-2007, 11:35 PM
Default How to solve the problem about the active log is full

I got error message from event viewer of windows about the active log is full.
Please advise me, how to solve it ?
Thank you.
Reply With Quote
  #2  
Old 09-19-2007, 01:44 AM
Default Re: How to solve the problem about the active log is full

Thank you for your comment.

I cannot modify program. In this case, can we do anything to solve the problem ?

Thank.
Apinya W.
Reply With Quote
  #3  
Old 09-21-2007, 05:09 PM
Default Re: How to solve the problem about the active log is full

If you cannot have the application changed to COMMIT their units-of-work better, than you will have to make alterations to the Database cfg to accommodate it. I'd start with increasing the number of secondary logs (LOGSECOND). That will allow the log files to increase dynamically (to a limit).

If you see the secondary logs are always being allocated, then it would appear that you should increase the number of primary logs (LOGPRIMARY). Finally, depending on the work that is being done, you may want to increase the size of the log files themselves. But first, I'd go with increasing the number of secondary logs.

- Bill -
Reply With Quote
  #4  
Old 09-24-2007, 04:52 AM
Default Re: How to solve the problem about the active log is full

Thank you in advance.

There are OS information :
OS : Microsoft Windows Server 2003 Standard Edition
Service : Service Pack 2
Ram : 3.75 GB
Disk space : C: 4.33 GB
D: 177 GB


There are some current database configuration :
Log buffer size (4KB) (LOGBUFSZ) = 99
Log file size (4KB) (LOGFILSIZ) = 1000
Number of primary log files (LOGPRIMARY) = 20
Number of secondary log files (LOGSECOND) = 10

Could you please to advise me how to increase it ?


Thank you.
Apinya W.




Reply With Quote
  #5  
Old 09-24-2007, 05:16 AM
Default Re: How to solve the problem about the active log is full


Hi,

"UPDATE Database CFG FOR USING LOGSECOND ". For more infos, check the DB2 documentation, it's really good!

Greetings from Stuttgart,
Bogdan
Reply With Quote
  #6  
Old 09-25-2007, 05:16 AM
Default Re: How to solve the problem about the active log is full

Thank you.

Sorry for my mistake.

I mean, :
There are some current database configuration :
Log buffer size (4KB) (LOGBUFSZ) = 99
Log file size (4KB) (LOGFILSIZ) = 1000
Number of primary log files (LOGPRIMARY) = 20
Number of secondary log files (LOGSECOND) = 10

New configuration :
Number of primary log files (LOGPRIMARY) = 50
Number of secondary log files (LOGSECOND) = 30

Is it OK ?

Thank you.
Apinya W.
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:47 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.