Quote:
Originally posted by rabbit
thank you gertk,
I think my logfile is not large enough. But i don't know how can i define a larger logfile. I have no experence for this. Can you give me any suggestions? (new configuration?)
thank you very much and greeting from germany!
rabbit
|
You can change the log with the 'db2 update database configuration ' command (or 'db2 update db cfg').
Some examples from my Windows Command prompt:
With 'db2 get db cfg for sample|find "(LOG" ' you can get the current log settings:
Log buffer size (4KB) (LOGBUFSZ) = 8
Log file size (4KB) (LOGFILSIZ) = 250
Number of primary log files (LOGPRIMARY) = 3
Number of secondary log files (LOGSECOND) = 2
Log retain for recovery enabled (LOGRETAIN) = OFF
Things you can change are the LOGFILSIZ (the size of one log file), LOGPRIMARY (the number of primary logs) and LOGSECONDARY you can guess
The log 'behaviour' is fully documented in the information center, check the third option after searching for logprimary.
Hope this helps.
Greetings from the Netherlands.