Re: Metakit and disk access.

Dmitrii <[email protected]> Wed, 25 Nov 2009 12:02:11 -0800 (PST)
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
Effectively, Metakit does the "storing a package of data" in memory
for you until you commit. So, perhaps, you should keep the database
open and call commit from time to time to actually persist the data on
disk (the frequency of commits depends on your tolerance to data loss
if something bad happens and the data collecting process dies).

On Nov 2, 10:09=A0am, Jose Brasil <[email protected]> wrote:
> Dear Members List,
>
> I'm using Metakit to store data sent by a lab analyser each 1 second.
>
> I have a doubt if I should open, commit and close the database every time=
 to
> store data or should store data in a variable and store a package of data=
 in
> database to decrease the disk access.
>
> Thanks for any sugestion,
> Jose

--=20
You received this message because you are subscribed to the "metakit" group=
.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to metakit-unsubscribe@googlegro=
ups.com
For more options, visit this group at http://groups.google.com/group/metaki=
t?hl=3Den