DB2 - Archive mode - large number of logs in logarchmeth1 folder
-
02-11-2019 - |
题
maybe for someone this is begginner's questions. I read lot of documentation and set:
`LOGPRIMARY 6
LOGSECOND 4
LOGFILSIZ 4096
logarchmeth1 Disk - C:\archive
logpath C:\active`
Number of logs in C:\active is 6 which is ok. But current number of logs in C:\archive is 40. How is that possible? I thought that maximum number of primary logs in C:\archive will be 6 and then 4 LOGSECOND (if needed, they are not preallocated).
Allowed log space is breached but new logs are created constantly in C:\archive. How is that possible? I will be thankful if someone can explain me this. On this way I do not see how can I get Transaction log full (except if I run out of total disk space) because new logs in C:\archive are created.
I am beginner so please sorry for simple question I did not find answer on Internetenter code here
.
When those files will be deleted after the new online backup or when? logarchmeth1 is the destination for archive logs I set them on 6 for PRIMARY how then I have 40 logs? Thank you
没有正确的解决方案