Solved

Maximum records in a MS Access 2003 database?

Posted on 2007-03-30
11
11,057 Views
Last Modified: 2012-08-13
How many records can a Microsoft Access 2003 database handle?

I know there is a 'practical' limit of 2Gb fize size, but for a 4 field per record database can anyone tell me a rough number?  I have between 5 - 10 million records to import.
0
Comment
Question by:helpdesk
11 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 18825017
5-10 million records with 4 fields is no problem, even for access.
0
 
LVL 75
ID: 18825026
** Should ** not be a problem.  Ive' done it before.  Waaay too many variables to venture a guess of a number.

mx
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 125 total points
ID: 18825044
In fact, I've created a test mdb before with 100 mil records to test some index ideas, etc.  AMAZING what indexes can do ... of course, they are a double edged sword!

mx
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 26

Expert Comment

by:jerryb30
ID: 18825131
How big are the fields?  What data types?
What other objects do you have in the db?


0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 18825342
helpdesk ,

If you are concerned about size, just make sure to set the smallest possible datatypes for all of your fields.

For example, most people blindly set all number fields as "Long",  (4 bytes), because that is the default Number DataType in Access.
(-2,000,000 to +2,000,000)

By comparison "Integer" is 2 bytes.
-65,000 to +65,000

(most people will set a persons Age as Long.
I use Byte (0-255)
Even with genetic manipulation, I figure 200 years...tops!)

So difference does the 2 byte difference make?
Not much if you only have one hundred records.
...but if you have 10 Million records!... well you do the math!

Also make sure your database is split (Front-end, Back-End)

Jeff Coachman

0
 
LVL 44

Expert Comment

by:GRayL
ID: 18826235
A long time ago I was told if you do any math on a field such as a sum, you should make sure the sum does not exceed the limits for the number type as Jet will try to use the Numbertype of the field as a first pass.  When it doesn't 'fit', it has to recast the solution and run it again.  I've never heard anything about this again so I'm not sure it's true.  Can anyone comment?
0
 
LVL 75
ID: 18826268
I'm just leaving from LA to San Diego ... will be back later with comments.  You guys and girls hold it down, ok lol.

mx
0
 
LVL 75
ID: 18944402
Do we have a resolution to this question?  Just checking ...

mx
0
 
LVL 44

Expert Comment

by:GRayL
ID: 19642767
I think the answer was: "It depends".  With a file size limit of 2 Gig, of course it will depend on the record length.  DQOTWA.
0
 
LVL 44

Expert Comment

by:GRayL
ID: 21264908
Jeff: "By comparison, Integer is -32,768 to +32767" or maybe the other way round
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Read about achieving the basic levels of HRIS security in the workplace.
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

813 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

16 Experts available now in Live!

Get 1:1 Help Now