473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

From within MS Access, would like to 'roughly' estimate bytes of storage required by data in each table

MLH
Precise determinations are not the objective.
I would lke a single button click approach to
creating a report/table/dynaset - whatever -
to display each table name and an approx-
imation of the number of bytes of storage
spaced occupied by the data in each table.

I don't remember seeing any discussion on
this topic over the years since Access 2.0
and up through the more recent releases.
I apologize if I'm rehashing an old topic.
Nov 13 '05 #1
3 1972
MLH
The reason I am exploring this topic is because I
was recently surprised to learn that a single memo
field in a single table in a database comprised over
half my mdb file size. The database has 22 tables.
Its initial compacted size was 42 megs.

I deleted the memo field data in the one table and
compacted the database again. The final size was
20 megs. Of course I had to revert to my backup
copy to restore the data to the memo field because
I do need it there. My heightened awareness of each
table's individual contribution to the total filesize has
resulted in me investigating other MDB's for tables
that may be housing data that isn't critical and can
be purged. I have LOTS of mdb's and many more
tables. Opening every single table in every single
MDB to make a subjective evaluation of the byte
count occupied by its contents is simply not an option.
Nov 13 '05 #2
Such a capability doesn't exist in Access.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"MLH" <CR**@NorthState.net> wrote in message
news:7o********************************@4ax.com...
Precise determinations are not the objective.
I would lke a single button click approach to
creating a report/table/dynaset - whatever -
to display each table name and an approx-
imation of the number of bytes of storage
spaced occupied by the data in each table.

I don't remember seeing any discussion on
this topic over the years since Access 2.0
and up through the more recent releases.
I apologize if I'm rehashing an old topic.

Nov 13 '05 #3
MLH wrote:
The reason I am exploring this topic is because I
was recently surprised to learn that a single memo
field in a single table in a database comprised over
half my mdb file size. The database has 22 tables.
Its initial compacted size was 42 megs.

I deleted the memo field data in the one table and
compacted the database again. The final size was
20 megs. Of course I had to revert to my backup
copy to restore the data to the memo field because
I do need it there. My heightened awareness of each
table's individual contribution to the total filesize has
resulted in me investigating other MDB's for tables
that may be housing data that isn't critical and can
be purged. I have LOTS of mdb's and many more
tables. Opening every single table in every single
MDB to make a subjective evaluation of the byte
count occupied by its contents is simply not an option.


Store this type of large object in its native file format outside of
Access and instead store its file and path so you can refer to it.

This is a common technique in Access to handle binary objects (large and
small).

Jet doesn't have extensive binary support needed to handle these type of
objects in the same manner as a server-based product like Oracle, etc.

Some seasoned pros might also recommend that Memo field values be kept
in separate tables or even seperate .mdb files since they are
susceptible to corruption and doing so may prevent corruption of all
related data and limit it to the memo field store. I don't have the
experience to validate that observation.

--
'---------------
'John Mishefske
'---------------
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
22
by: Bryan Guilliams | last post by:
I'm trying to come up with an elegant, simple way to compare two consecutive values from the same table. For instance: SELECT TOP 2 datavalues FROM myTable ORDER BY timestamp DESC That...
5
by: Gregg | last post by:
Hello all, I have been banging my head over a problem that I am having reading a comma seperated file (CSV) that can contain from 1 to 10,000 records. My code snipit is as follows: **Start...
19
by: James Harris | last post by:
My K&R 2nd ed has in the Reference Manual appendix, A7.4.8 sizeof yields the number of BYTES required to store an object of the type of its operand. What happens if C is running on a machine that...
1
by: Good Man | last post by:
Hi there I've noticed some very weird things happening with my current MySQL setup on my XP Laptop, a development machine. For a while, I have been trying to get the MySQL cache to work....
24
by: cassetti | last post by:
Here's the issue: I have roughly 20 MS excel spreadsheets, each row contains a record. These records were hand entered by people in call centers. The problem is, there can and are duplicate...
62
by: ivan.leben | last post by:
How can I really delete a preloaded image from memory/disk cache? Let's say I preload an image by creating an Image object and setting its src attribute to desired URL: var img = new Image();...
5
by: jsavagedesign | last post by:
I am trying to send and email from a form using php. I got that to work. The problem is that when I receve the email it is a text version with all the html tags showing. looks like this:...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.