Article View: comp.databases.ms-access
Article #399Re: How to reduce page fault
From: Desmond Leung
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
32 lines
1925 bytes
1925 bytes
Hi Jeremy Konopka, I want to know how to count the memory usage of a record? How can I find out this information from MDB file? Many Thanks, Desmond Leung <- Replace with ca wrote in message <6jlbjf$shc$1@sue.cc.uregina.ca>... >In article <355e0514.0@news.piro.net>, Sascha Wostmann <s.w@gmx.de> wrote: >>Desmond Leung wrote on Fri, 15 May 1998 18:09:24 +0800 : >>> Does any one know how to pack an record to >>> the same length as Microsoft jet database engine >>> default memory page(2K) to enhance concurrency >>> and preformance. >> >>just calculate the memory useage of your current records and add >>another (text)field as long as the difference to the next 2k barrier. > >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. > >>That doesn't work if you use memo fields, because their length isn't >>fixed. > >Certainly you're right there. >-- >Jeremy Konopka konopka at cs dot uregina dot ca
Technical Details
Message-ID:
<6jo9o0$8eo$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>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: "Desmond Leung" <ckkleung@cs.cityu.edu.hk> Subject: Re: How to reduce page fault Date: 1998/05/18 Message-ID: <6jo9o0$8eo$1@dover.cityu.edu.hk> X-Deja-AN: 354180943 References: <6jh3rs$ecr$1@dover.cityu.edu.hk> <355e0514.0@news.piro.net> <6jlbjf$shc$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