Forums Register Login

database fail out of log space

+Pie Number of slices to send: Send
the process is implemented in Spring Framework. i have DbCleanUpLauncher.java file which will invoke DbCleanUpHandlerBean. after that it looks in to rt-cleanup-application.xml file. This xml file consists of all the beans to delete existing records from the CleanUP table. Apart from that it fetches the tradeids to be deleted and stores in the Clean up table. For deleting process it looks in to rt-cleanup-sql.xml file. So based on this tradeids it will try to delete records from other 7 different tables. so, it deleting millions of records hence the database will fail out of log space.
i need to enhance this by removing the database records in smaller chunks.
Can anyone has a solution for this?
+Pie Number of slices to send: Send
"Cool Buddy",

We're pleased to have you here with us in the JDBC forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender
Can't .... do .... plaid .... So I did this tiny ad instead:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 909 times.
Similar Threads
Delete operation as small chunks on records?
Deleting/adding records.
After deleting 14 records, application hanging
Deleting bulk records from some history tables using hibernate/JDBC?
Could you please go through the problem and suggest solution to solve this problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:56:19.