Access File Size requirements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Was wondeing if anyone could give me some info on access file sizes. I need table overheads and storage requirements for each data type @ various field sizes. i.e. an integer field with a max 10 characters would be how big? etc
 
Was wondeing if anyone could give me some info on access file sizes. I need table overheads and storage requirements for each data type @ various field sizes. i.e. an integer field with a max 10 characters would be how big? etc

You can get these with some difficulty... but they won't help you
accurately determine the size of a .mdb file (other than the absolute
minimum possible size; it will always be bigger).

Why? The data in the tables are NOT the only things there. Each
indexed field will have an Index; there are systems tables, of
undocumented structure, containing large BLOB (Binary Large Objects)
fields of undocumented content; your forms and reports are amongst
these, in compiled form; there are temporary tables created by
queries... All of these will be variable.

In addition, Access allocates disk space in 32KByte chunks. When a
database is at (say) 640KBytes, you can add lots of records without
any change at all to the database size; then you'll add two bytes to a
field and the database will grow to 672KBytes.

Your question made sense in the 1970's when disk was expensive. Now
it's under a penny a megabyte. Just compact your database regularly
and tell the IT troglodytes to buzz off!
 
The Access 97 Developer's Handbook (from Sybex) describes how to estimate
(an estimation is as close as you can get) the space taken up by each
record, including overheads. As far as I'm aware, though, that information
was never updated for later versions of JET. In the Access 97 Developer's
Handbook, it formed part of a discussion on how to force record-level (as
opposed to page-level) locking, and that was no longer relevant in later
versions, as support for record-level locking was built in to those
versions.

--
Brendan Reynolds (MVP)
(e-mail address removed)


James Doyle said:
Was wondeing if anyone could give me some info on access file sizes. I
need table overheads and storage requirements for each data type @ various
field sizes. i.e. an integer field with a max 10 characters would be how
big? etc
 
Back
Top