File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes database fail out of log space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "database fail out of log space" Watch "database fail out of log space" New topic
Author

database fail out of log space

cool buddy
Greenhorn

Joined: Jun 30, 2006
Posts: 1
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

"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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: database fail out of log space
 
Similar Threads
Deleting/adding records.
After deleting 14 records, application hanging
Could you please go through the problem and suggest solution to solve this problem
Delete operation as small chunks on records?
Deleting bulk records from some history tables using hibernate/JDBC?