aspose file tools
The moose likes JDBC and the fly likes database fail out of log space Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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: 26496
    
  78

"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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: database fail out of log space
 
Similar Threads
Delete operation as small chunks on records?
Deleting/adding records.
Deleting bulk records from some history tables using hibernate/JDBC?
Could you please go through the problem and suggest solution to solve this problem
After deleting 14 records, application hanging