Sample Header Ad - 728x90

PRUNE LOGFILE PRIOR TO isn't deleting archived log files

0 votes
1 answer
154 views
DB2 UDB 11.5.7.0 $ db2 get db cfg for PRPT01D | grep LOGARCH First log archive method (LOGARCHMETH1) = DISK:/udb/alogs/ Archive compression for logarchmeth1 (LOGARCHCOMPR1) = OFF Options for logarchmeth1 (LOGARCHOPT1) = Second log archive method (LOGARCHMETH2) = OFF Archive compression for logarchmeth2 (LOGARCHCOMPR2) = OFF Options for logarchmeth2 (LOGARCHOPT2) = $ db2 list history backup all for PRPT01D | head List History File for PRPT01D Number of matching file entries = 1 Op Obj Timestamp+Sequence Type Dev Earliest Log Current Log Backup ID -- --- ------------------ ---- --- ------------ ------------ -------------- B D 20241006050916001 N D S0002434.LOG S0002434.LOG ---------------------------------------------------------------------------- $ db2 "prune logfile prior to S0002323.LOG" DB20000I The PRUNE command completed successfully. Even after running that command, old log files are still in /udb/alogs/udbinst/PRPT01D/NODE0000/LOGSTREAM0000/C0000000. Am I fundamentally misunderstanding something? Can I just rm those archived log files?
Asked by RonJohn (694 rep)
Oct 6, 2024, 12:26 PM
Last activity: Oct 6, 2024, 01:03 PM