Print

Print


On Wed, Oct 29, 2008 at 09:14:27PM +0200, Cristi Magherusan wrote:

> Hello,
> 
> On Wed, 2008-10-29 at 09:36 +0100, Felix Nikolaus Ehm wrote:
> > Hi Christi,
> > 
> > What's the performance of your BDII without these options? How long does it take to load the db?
> > ( do a ldapsearch -x -t -LLL -h <yourhost> -b o=infosys)
> > 
> > Thanks,
> > 	Felix
> There's no noticeable slowdown. Anyway, according to the db4
> documentation regarding the available configuration options [1], all of
> the disabled items are used for dropping the Durability requirement
> (like in ACID) so data can be lost when the system crashes. Is this what
> we really want to happen?

Considering that nothing ever writes to the database beyond the initial
slapadd and a completely new database is created every few minutes there
is no point to try to preserve ACID semantics especially when the db is
setup as read only. 

In any case performance isn't going to be affected, changing the way
writes are commited to the db when you don't write anything and the
database is setup read only can not speedup the non existing writes.
There is really no point in using DB_TXN_NOT_DURABLE AFAIK.

Kostas