Solved

Microsoft Access 2007 table unusually large

Posted on 2013-06-03
11
226 Views
Last Modified: 2013-06-25
I have a customer that has an Access backend database that has reached the 2GB limit.  The table has approx 80,000 records and has a field that embeds scanned PDF documents.  Is there any way to tell which field or fields is causing the table and database to be so large.  There are about 250 fields in the table but the math doesn't add up from what he tells me.  The bottom line is we are not sure why the database is so big and how can we figure out why?
0
Comment
Question by:PhilR714
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 21

Expert Comment

by:oleggold
ID: 39217539
The math is probably problematic here since PDFs can be stored as image/lob in the database which takes huge amount of space
0
 
LVL 21

Expert Comment

by:oleggold
ID: 39217541
since it's " scanned PDF documents" they're probably images so it doesn't matter that they're in pdf format
0
 
LVL 15

Expert Comment

by:gplana
ID: 39217542
try to identify the fields with image datatype.If possible remove these fields or replace them by a text field and save the pdf file on the file system and put the path to this file on the text field. You should also change the programs that access to this field to get data from file instead that getting it from the field directly.

Also, an alternative should be migrate from Access to SQL-Server, which allows more data.
0
 
LVL 75
ID: 39217555
Has you done a Compact & Repair on the database ?
0
 

Author Comment

by:PhilR714
ID: 39217586
All good suggestion which we will try.  A repair and compact has been done with no file size change.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 75
ID: 39217607
You might want to consider this or at least be aware of if you are dealing with images in an Access database ... and I can totally vouch for this program.  

http://www.ammara.com/dbpix/access.html

It does *all* the work for you. Examples show how to add a simple 'control' panel to Load, Save, Zoom In/Out, Size To Fit and much more.  AND ... virtually eliminates BLOAT associated with storing images in an Access MDB. I have 3 clients who sell commercial run-time products that use DBPix.

Note. I have no connection with DBPix ... except I have used it many times ...

mx
0
 
LVL 57
ID: 39218778
<<I have a customer that has an Access backend database that has reached the 2GB limit.  The table has approx 80,000 records and has a field that embeds scanned PDF documents.  Is there any way to tell which field or fields is causing the table and database to be so large. >>

  Not directly.  What you do is make a copy of the DB, then in table design, drop a field, do a compact and repair, and see the resulting size.

  As the others have said, the culprit is probably the PDF file.   *Especially* if by embedded you mean that you used Access to create an embedded object.   When you do this, Access puts its own OLE wrapper around an object which basically doubles it size.

  That's why the new attachement data type was created.

<<
 There are about 250 fields in the table but the math doesn't add up from what he tells me.  The bottom line is we are not sure why the database is so big and how can we figure out why?
>>

  250 fields in a table?  Doesn't sound like it's designed well unless this is some kind of temp or import table.

Jim.
0
 

Author Comment

by:PhilR714
ID: 39219670
MX
My customer likes the idea of DBPix.  I went on the site with the link you sent but I cannot tell if it will work with scanned documents in PDF format.  Have you ever worked with it with PDFs?

Phil
0
 
LVL 75
ID: 39219793
"Have you ever worked with it with PDFs?"
No.  But I have used the product several times, and 3 clients I have have incorporated it into their commercial applications.

mx
0
 

Accepted Solution

by:
PhilR714 earned 0 total points
ID: 39263329
Thanks to all who posted.  Unfortunately the owner/user has not attempted to make any changes at this point.
0
 

Author Closing Comment

by:PhilR714
ID: 39274174
No solution was tried by the owner/user.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now