473,387 Members | 1,611 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,387 software developers and data experts.

Calculating Access 97 size and handling of text fields

Hi everybody!

After searching newsgroups for a couple of hours, I now try asking
directly (running the risk of asking again the same question). My
problem is to predict when the size of the database (1GB I expect) is
over 1GB by calculating the maximal number of data sets (tuple) added:

1. Is the following calculation for estimating the mdb file size in
Access 97 correct:
1 integer field = 4 Byte
1 text field (10 characters only permitted) = 10 x 1 Byte (Assumption:
Unicode 2 Byte after compression only 1 Byte) = 10 Byte
+ a certain amount of Access overhead (that's not my problem by the
way)

2. What happens to text fields internally when there is not all memory
used? E.g. text field (size: 255 characters) with no entry or only one
character. Is the full memory reserved anyway or does Access 97
recognise that no data is in and doesn't use all the memory?

THANK YOU SO MUCH!

All the best,
Stephan Kuhnert
Nov 13 '05 #1
2 2488
Access only uses as much space for text fields as is required. This is
easily proven. Create a table that has 10 text fields, each of 255 bytes. In
theory, that exceeds the allowable row size, however, you won't get an error
until after you try to store the 2001st character.

Yes, an Integer in Access is 4 bytes.

I don't believe Access 97 supports Unicode, so that's a non-issue.

Don't forget that indexes take up part of the 1Gb.

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

"kuhni" <st************@gmx.de> wrote in message
news:88**************************@posting.google.c om...
Hi everybody!

After searching newsgroups for a couple of hours, I now try asking
directly (running the risk of asking again the same question). My
problem is to predict when the size of the database (1GB I expect) is
over 1GB by calculating the maximal number of data sets (tuple) added:

1. Is the following calculation for estimating the mdb file size in
Access 97 correct:
1 integer field = 4 Byte
1 text field (10 characters only permitted) = 10 x 1 Byte (Assumption:
Unicode 2 Byte after compression only 1 Byte) = 10 Byte
+ a certain amount of Access overhead (that's not my problem by the
way)

2. What happens to text fields internally when there is not all memory
used? E.g. text field (size: 255 characters) with no entry or only one
character. Is the full memory reserved anyway or does Access 97
recognise that no data is in and doesn't use all the memory?

THANK YOU SO MUCH!

All the best,
Stephan Kuhnert

Nov 13 '05 #2
If you know now that your data will exceed 1 gig, then Jet is not the tool
for you. Try Oracle or SOL.
-Ed

"kuhni" <st************@gmx.de> wrote in message
news:88**************************@posting.google.c om...
Hi everybody!

After searching newsgroups for a couple of hours, I now try asking
directly (running the risk of asking again the same question). My
problem is to predict when the size of the database (1GB I expect) is
over 1GB by calculating the maximal number of data sets (tuple) added:

1. Is the following calculation for estimating the mdb file size in
Access 97 correct:
1 integer field = 4 Byte
1 text field (10 characters only permitted) = 10 x 1 Byte (Assumption:
Unicode 2 Byte after compression only 1 Byte) = 10 Byte
+ a certain amount of Access overhead (that's not my problem by the
way)

2. What happens to text fields internally when there is not all memory
used? E.g. text field (size: 255 characters) with no entry or only one
character. Is the full memory reserved anyway or does Access 97
recognise that no data is in and doesn't use all the memory?

THANK YOU SO MUCH!

All the best,
Stephan Kuhnert

Nov 13 '05 #3

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

Similar topics

25
by: kie | last post by:
hello, i have a table that creates and deletes rows dynamically using createElement, appendChild, removeChild. when i have added the required amount of rows and input my data, i would like to...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
8
by: doomx | last post by:
I'm using SQL scripts to create and alter tables in my DB I want to know if it's possible to fill the description(like in the Create table UI) using these scripts. EX: CREATE TABLE(...
3
by: luscus | last post by:
Thanks for all the responses on my first question. Unfortunately the answers I was given were too complicated for my small brain , and neophite condition to understand. So if you could talk down to...
0
by: TheCoder | last post by:
I am making a D-base with web conectivity for my class project. I have everything working but the subit button sends the data to the correct fields but afterwards it wants to reproduce new blank...
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.