[LUNI] file system limitations
elickerman at ameritech.net
Wed Nov 20 18:15:13 CST 2002
I'm not sure I understand the question. BerkelyDb, and every other kind of
database I know of, ultimately store data in files on disk. The only issue
is whether you partition your data by known characteristics, such as one
patient per database, or whether you put it all in one large database and
let the database handle things for you.
Also I am not storing text. I am storing the data-members of objects, some
of which are text.
As for your last point, if I understand it correctly, you are saying that
given that BerkeleyDb has a B-Tree mechanism built in, what is the point to
using a similar mechanism from the filesystem. My answer is, that I suppose
they are functionally equivalent except when it comes to moving patient
charts around geographically. If you have the patient chart tree handled at
the BerkeleyDb level, you are responsible for writing such an administrative
tool yourself, while if you keep each patient's info in a separate
directory, I think you could leverage any of several existing filesystem
admin tools to do it.
From: luni-admin at luni.org [mailto:luni-admin at luni.org]On Behalf Of
Sent: Wednesday, November 20, 2002 2:53 PM
To: luni at luni.org
Subject: RE: [LUNI] file system limitations
-- Erik Lickerman <elickerman at ameritech.net>
> There is no call to remove the kid gloves.
> I think this is an interesting discussion. For my application I wouldn't
> expect to take a huge performance hit from the journaling because most of
> my file requests are reads. The writes tend to come all at once when a
> note is signed. As one of you pointed out, I need to make sure
> everything gets flushed to disk. BTW, I didn't mean to be misleading but
> I am using a database, BerkeleyDb. I'm just not using a relational one.
Then why bother with files? You can store (nearly) arbitrary
text easily in DB -- with tree lookup to boot. In that case
just use the BerkeleyDB module with a Perl tied hash and 99%
of the code is already done for you.
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
Linux Users Of Northern Illinois - Technical Discussion
luni at luni.org
More information about the luni