We have DB2 on Windows XP.
I have archived logs stored in a different directory using LOGARCHMETH1 and LOGARCHMETH2 parameter. Backups are also stored on local disks. I would like to create a script to delete all unnecessary files for restore older than 3 days. I know that log files can be deleted with PRUNE HISTORY command.
I have also one question about log size. We have log file size so big that all logs from one are stored in a single log file. What are the recommendations? Is it better to have smaller files, so that logs are archived more frequently?
Thank’s for your time,
Ales