File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database fail out of log space

 
cool buddy
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic