[SAMBA4] Where to on the partitions module?

Stefan (metze) Metzmacher metze at samba.org
Sat Jul 29 08:39:33 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simo schrieb:
> On Sat, 2006-07-29 at 08:08 +0200, Stefan (metze) Metzmacher wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Andrew Bartlett schrieb:
>>> I understand your reasoning in wanting a single file (everything in one
>>> file was a founding tennent in ldb), but given the number of ldb
>>> databases we already have, I simply don't see the marginal value.  On
>>> the otherhand, to gain correct semantics with a single database, we will
>>> have to write complex extra code to manipulate each search, to rewrite
>>> the DN of every database entry. 
>> I think that multiple files are ok for now.
>>
>> I was thinking of adding named virtuell databases to tdb.
>> So make it possible to have more than one key table
>> and make it possible for one record to have 2 keys.
>> bdb has also such a feature, so It should be possible to have
>> mutliple views of the data in the tdb, and the default
>> sees all entries.
> 
> Interesting idea, do you think we can do all this without any loss in
> performance?
yes

it would just be 2 pointers to one location

but I haven't looked at the tdb internals in detail

> tdb is also our internal database used for speed sensitive tasks.

this would be optional and not used by default...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEyx5/m70gjA5TCD8RApCOAJwJ8qFiFfFQKbgEcoNvAZGZwILsqgCfYfG/
gUVxnnVzC7QflF4Gskqnmzo=
=rvln
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list