Article View: comp.databases.ms-access
Article #388Re: How to reduce page fault
From: Desmond Leung
Date: Wed, 20 May 1998 00:00
Date: Wed, 20 May 1998 00:00
36 lines
2082 bytes
2082 bytes
Yes, I want to reduce the chance of locking multiple record on the same memory page Desmond Leung Replace with CA wrote in message <6jsqv7$leu$1@sue.cc.uregina.ca>... >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:
<6ju1e8$1gn$1@dover.cityu.edu.hk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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> <6jsqv7$leu$1@sue.cc.uregina.ca>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: 102b1d,f0f2f7b5feee8544 X-Google-Attributes: gid102b1d,public X-Google-Thread: ff0ac,f0f2f7b5feee8544 X-Google-Attributes: gidff0ac,public From: "Desmond Leung" <ckkleung@cs.cityu.edu.hk> Subject: Re: How to reduce page fault Date: 1998/05/20 Message-ID: <6ju1e8$1gn$1@dover.cityu.edu.hk> X-Deja-AN: 354885488 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> <6jsqv7$leu$1@sue.cc.uregina.ca> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: City University of Hong Kong Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,es.comp.bd.ms-access