[Osiris-devel]osiris data store

Brian Wotring brian at shmoo.com
Mon Mar 25 09:43:25 EST 2002


With all past versions of osiris, GDBM has been used to store 
information about each file scanned.  The full path to the file was used 
as a key to retrieve the scan structure.   The good thing about GDBM is 
that is is small and easy to interface with.  It's basically a hash 
table written to disk.  The database is stored in one flat file that can 
be moved around easily.  It's also easy to encrypt and sign.

The biggest problem with GDBM, in this case, is that access is slower 
than a real database.  With osiris-1.5, db storage was modularized.  
Users are given the choice of using GDBM, or MySQL, or writing their own 
db module.  This is a good idea, but I don't know how practical it will 
be given that we now are planning on restricting access to this data, 
encrypting/signing the databases, etc.  GDBM still looks like a fair 
solution, or at least the lazy one.

Any thoughts on this?

--
   Brian Wotring ( brian at shmoo.com )
   PGP KeyID: 0x9674763D





More information about the osiris-devel mailing list