Solved

Microsoft Access 2007 table unusually large

Posted on 2013-06-03
11
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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: 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
 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

726 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