🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #387

Re: How to reduce page fault

#387
From: Replace with CA
Date: Tue, 19 May 1998 00:00
26 lines
1806 bytes
Hi Desmond,

In article <6jo9o0$8eo$1@dover.cityu.edu.hk>,
Desmond Leung <ckkleung@cs.cityu.edu.hk> wrote:
>I want to know how to count the memory usage of a record?

Well, if you can have a fixed text field then it's going to be 
1 character=1 byte so it's easy.  Things like integers will be 4 bytes, so
what you then basically do is add it up.  I don't know how practical this
would be..  Certainly I've never done it.

>How can I find out this information from MDB file?

You've got me there.  Since Access scrunches everything inside one big file,
you'd have a tough time figuring it out...

You're probaby just going to have to live with multiple records being locked
at one time.

>>AFAIK, Access normally stores text null terminated so this won't work.  Ie.
>>a 2048 byte record with only "Hi Bob" in it won't be stored as 2K.  You
>>may be able to specify this behaviour somewhere, or worst come to worst
>>you'll just have to write your own padding routine.
--
Jeremy Konopka             konopka at cs dot uregina dot ca
Technical Details
Message-ID: <6jsqv7$leu$1@sue.cc.uregina.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6jh3rs$ecr$1@dover.cityu.edu.hk> <355e0514.0@news.piro.net> <6jlbjf$shc$1@sue.cc.uregina.ca> <6jo9o0$8eo$1@dover.cityu.edu.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111a5a,f0f2f7b5feee8544
X-Google-Attributes: gid111a5a,public
X-Google-Thread: ff0ac,f0f2f7b5feee8544
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 102b1d,f0f2f7b5feee8544
X-Google-Attributes: gid102b1d,public
From: konopka@cs.uregina.AC (Replace with CA)
Subject: Re: How to reduce page fault
Date: 1998/05/19
Message-ID: <6jsqv7$leu$1@sue.cc.uregina.ca>
X-Deja-AN: 354734962
References: <6jh3rs$ecr$1@dover.cityu.edu.hk> <355e0514.0@news.piro.net> <6jlbjf$shc$1@sue.cc.uregina.ca> <6jo9o0$8eo$1@dover.cityu.edu.hk>
Organization: University of Regina, Dept. of Computer Science
Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,es.comp.bd.ms-access