[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: back-bdb2 in progress

My quick fix for slow add times, which Kurt wasn't too keen on:
I delay all write-syncs, maintaining a "dirty" flag for each cache.
Then on any read operation, cache is flushed if "dirty" is true. This allows
bulk loading of data to occur pretty quickly, and all you need to do is
issue a search command to perform a sync as desired. (Kurt said the right
solution is to get back-bdb2 up to snuff. Yes, true, but my approach
provides immediate relief for a pretty common complaint.)

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

> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Andrew Davison
> Sent: Tuesday, March 14, 2000 7:48 PM
> To: openldap-devel
> Subject: back-bdb2 in progress
> Is anything happening with BACK-BDB2? I haven't seen any mention
> of it for a
> while. The last thing I saw was something about abandoning it and
> restarting, which doesn't bode well as it's supposed to be the panacea to
> slow add times without setting 'dbcacheNoWsync'.