directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Chu <...@symas.com>
Subject Re: [DRS] thoughts about implementation
Date Tue, 03 Feb 2009 19:47:15 GMT
David Boreham wrote:
> Hi, just a voice from the trenches, having done this a few times and
> made some mistakes:
>
> Do not invent a new kind of database for the change log. Instead use the
> one you already have
> for entries, with some appropriate indexing enhancements to support the
> change log semantics required.
> i.e. each change log record is in fact an entry. (there may be a way to
> do it where the change log
> data is actually stored in the entries themselves, and absolutely no
> additional records are
> required, but this seems to take an extra high level of cunning to pull
> off).

Agreed. Which is why we have
http://highlandsun.com/hyc/drafts/draft-chu-ldap-logschema-xx.html

> But, please don't make work for yourself by doubling the kinds of
> database you have.
> Two databases also makes it hard to ensure transactional integrity
> between the main
> db and the change log (which is important to have).

Yep.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Mime
View raw message