PC Review


Reply
Thread Tools Rate Thread

Comparing Databases Before/After Compact & Repair

 
 
Tony
Guest
Posts: n/a
 
      8th Nov 2007
Hi All,

Does anyone have any suggestions on how to compare a database to a copy of
itself, compacted vs. uncompacted? I have a vendors product that is
currently balooning their included .mdb. I've got a copy of the original
(116MB) and a copy I compacted (1.6MB). I'd like to see if I can identify
which objects might be at issue.

Any suggestions are definitely appreciated.

Ciao


 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      9th Nov 2007
On Thu, 8 Nov 2007 12:05:51 -0600, "Tony" <|(E-Mail Removed)|>
wrote:

There are no tools that I know of that can report the size of
uncompacted objects.

Typically the bloat is in tables where many records are repeatedly
added and removed, for example temp tables and report tables.

Fortunately you can buy 116GB hard drives for less than USD116, so it
may not be worth worrying too much about.

-Tom.


>Hi All,
>
>Does anyone have any suggestions on how to compare a database to a copy of
>itself, compacted vs. uncompacted? I have a vendors product that is
>currently balooning their included .mdb. I've got a copy of the original
>(116MB) and a copy I compacted (1.6MB). I'd like to see if I can identify
>which objects might be at issue.
>
>Any suggestions are definitely appreciated.
>
>Ciao
>

 
Reply With Quote
 
Tony
Guest
Posts: n/a
 
      9th Nov 2007
Tom,

Thanks for your reply. I think what's happening is what you've suggested;
records are being queued because they cannot be written correctly to the
database. Because the vendor can't or chooses not to figure it out, I"m
stuck with the task of iguring it out. And, the database in question is
part of our spam filtering application and grows quite quickly because each
time we have to whitelist an address using the vendors UI, the db jumps
1.5 - 2 MB. So, no matter how inexpensive disk space is (and hom many times
we compact/repair) it's still not a good situation.

Anyway, thanks again for the post & I'll forge forward.

Ciao

"Tom van Stiphout" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Thu, 8 Nov 2007 12:05:51 -0600, "Tony" <|(E-Mail Removed)|>
> wrote:
>
> There are no tools that I know of that can report the size of
> uncompacted objects.
>
> Typically the bloat is in tables where many records are repeatedly
> added and removed, for example temp tables and report tables.
>
> Fortunately you can buy 116GB hard drives for less than USD116, so it
> may not be worth worrying too much about.
>
> -Tom.
>
>
>>Hi All,
>>
>>Does anyone have any suggestions on how to compare a database to a copy of
>>itself, compacted vs. uncompacted? I have a vendors product that is
>>currently balooning their included .mdb. I've got a copy of the original
>>(116MB) and a copy I compacted (1.6MB). I'd like to see if I can identify
>>which objects might be at issue.
>>
>>Any suggestions are definitely appreciated.
>>
>>Ciao
>>



 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      10th Nov 2007
"Tony" <|(E-Mail Removed)|> wrote in
news:(E-Mail Removed):

> Does anyone have any suggestions on how to compare a database to a
> copy of itself, compacted vs. uncompacted? I have a vendors
> product that is currently balooning their included .mdb. I've got
> a copy of the original (116MB) and a copy I compacted (1.6MB).
> I'd like to see if I can identify which objects might be at issue.
>
> Any suggestions are definitely appreciated.


Loop through the TableDefs collection of the MDB before compacting
and record the number of records for each table. After the compact,
do the same thing.

If the compact loses data, Access will tell you, and there will be a
compact errors table.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you Compact and repair databases Timstinks Microsoft Access 4 6th May 2008 04:47 PM
Coding a macro to compact and repair several external databases DonD Microsoft Access Macros 2 8th Apr 2008 01:03 PM
Compact & repair Databases =?Utf-8?B?VHJldmVyIEI=?= Microsoft Access Form Coding 2 9th May 2006 06:46 PM
Stopping Compact and Repair (and Compact on Close) - Records Disappear gee664@gmail.com Microsoft Access 7 25th Apr 2006 05:17 PM
automatically repair and compact databases without user interactio =?Utf-8?B?ZGF3bmVjaWE=?= Microsoft Access VBA Modules 1 26th Oct 2004 08:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:10 AM.