Hi all,
I have "some" OJT in DB2 v7.2 and have to support a db that collects about 100 million records a month. We don't have the disk space to keep all of this data so I have to delete records where Month(datefield) = Month(Current Date) - 2.
I created a very simplistic script that deletes records from my target table one day at a time for the target month, then does a commit, then the next day, etc.
Problem with this is I keep getting an error - The Transaction Log is Full. Up until today, people helping me with this have told me to increase my log file size. I don't think that's the answer - I now have 50 primary log files with log size = 50000... and I still get the Log File Full message.
Any suggestions?
I have "some" OJT in DB2 v7.2 and have to support a db that collects about 100 million records a month. We don't have the disk space to keep all of this data so I have to delete records where Month(datefield) = Month(Current Date) - 2.
I created a very simplistic script that deletes records from my target table one day at a time for the target month, then does a commit, then the next day, etc.
Problem with this is I keep getting an error - The Transaction Log is Full. Up until today, people helping me with this have told me to increase my log file size. I don't think that's the answer - I now have 50 primary log files with log size = 50000... and I still get the Log File Full message.
Any suggestions?