Using TDB for glib/gobject applications
idra at samba.org
Tue Jun 23 16:56:07 MDT 2009
On Tue, 2009-06-23 at 15:42 -0700, Christian Hergert wrote:
> I'm getting ready to start attacking indexes as well. Has anyone
> thought about that, or does something exist already?
> For example, if I'm serializing a GObject (essentially key/value pairs
> in storage) I'd like to index on a given property. Right now, the only
> option that comes to mind is a secondary TDB instance that contains the
> index value as key and potentially multiple values for the data (which
> are really pointers back to keys in the primary TDB instance). This,
> unfortunately, complicates the transaction system further since it would
> require transactions to span multiple physical files.
If you are interested in a more complex scheme based on TDB you may want
to take a look at LDB.
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical