Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
|
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2004, 07:31 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compact a Ms Access Database with Java

Hai,

In my program i populate tables in an Ms access Database. The database is huge sometimes (aroung 600 MB). When this Database is Compacted through Access it becomes around 80 MB.
How do i perform the same compact operation through Java code.
Note: Without using zip...

Thanks,
Safi

 
Old October 20th, 2004, 02:36 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you referring to 'compact and repair database' option in Access?
If so I wouldnt have thought you would be able vsll it from Java as it is part of the access application as opposed to part of the database itself (the mdb file).

There may be a java api that performs a similar function, but I am not aware of one but Im still a beginer so its worth looking.

Would be interested if there were tools available to do this






Similar Threads
Thread Thread Starter Forum Replies Last Post
Compact and Repair Access Database raguapk VB How-To 8 May 23rd, 2013 10:00 AM
Compact Access Database tang_moor VB Databases Basics 1 February 10th, 2007 04:10 PM
Compact Access Database tang_moor Access VBA 0 January 30th, 2007 02:38 PM
Compact Access Database lai_ccca Access VBA 0 January 9th, 2004 08:41 PM
compact access database hellobookus Access VBA 2 January 5th, 2004 06:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.