Estimating the Size of a Table or Database

You can estimate the size of a Microsoft Jet table or database. You cannot determine the exact size of a table or database for the following reasons:

Consider the following when you estimate the size of a Microsoft Jet table or database:

The following table estimates the size of a table in a Microsoft Jet 3.5 database. The table has 10,000 records.

Field Data type/Overhead description Size in bytes Overhead bytes
1 Text 25 1
2 Text 25 1
3 Number/Double 8 1
4 Date/Time 8 1
Record Overhead N/A 6
Totals 66 10

The total size of the table is 66 + 10, or 76, bytes per record. Because the table has 10,000 records, the total size of the table is 760,000 bytes (76 x 10,000). Because this example takes into account the maximum size of the text fields, this is only an estimate of the table size. The actual size of the values in the text fields determine the actual size of the table.

The following table estimates the size of the Customers table in the Microsoft Jet 3.5 Northwind.mdb sample database. The Customers table has 91 records.

Field name/Overhead description Data type Size in bytes Overhead bytes
CustomerID Text 5 1
CompanyName Text 40 1
ContactName Text 30 1
ContactTitle Text 30 1
Address Text 60 1
City Text 15 1
Region Text 15 1
PostalCode Text 10 1
Country Text 15 1
Phone Text 24 1
Fax Text 24 1
Record Overhead N/A N/A 6
Overhead for >256 bytes of text N/A N/A 1
Totals 268 18

The total size of the Customers table is 268 + 18, or 286, bytes per record. Because the table has 91 records, the size of the table is 26,026 bytes (286 x 91). Again, because the actual sizes of the text field values aren’t known, this is only an estimate.