473,788 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2006
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**@NorthStat e.net> wrote in message
news:7o******** *************** *********@4ax.c om...
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
19995
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
24676
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 gives me the two latest values. I want to test the rate of change of these values. If the top row is a 50% increase over the row below it, I'll execute some special logic.
5
2521
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 code snipit** Dim strCustFullName as string Dim strCustAddr1 as string
19
2115
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 addresses larger words only? Shouldn't sizeof be defined to return the smallest number of 'storage units' required to store an object of the type of its operand? As a general point, is there a guide to what aspects of C would fail if run on a...
1
2830
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. Despite entering the required lines to "my.ini" (the new my.cnf) through notepad AND MySQL Administrator, the cache does not work. So, today I took a peek at the 'Health' tab in MySQL Administrator.
24
14416
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 phone numbers, and emails and addresses even person names. I need to sift through all this data (roughly 300,000+ records and use fuzzy logic to break it down, so that i have only unique records.
62
17858
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(); img.src = ; Then I use the image a few more times by adding it into an Array object:
5
1969
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: <HTML><HEAD><TITLE></TITLE></HEAD><BODY><table width="440" border="1" cellspacing="0" cellpadding="3"><tr><td colspan="2"><em>The following was receved from the General Estimate form</em></td></tr><tr><td colspan="2" style="background-color:#2362ac;...
16
5191
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 Storage_Click() On Error GoTo Err_Storage_Click
0
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.