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

Re: dbcacheNoWsync



At 09:11 AM 3/10/00 -0800, Dustin Sallings wrote:
>On Fri, 10 Mar 2000, Andrew Davison wrote:
>
># With dbcacheNoWsync on adds go blazingly fast, but as the man says,
># it's not safe. So my question is, when do the syncs happen? Is there a
># timeout ('n' secs??) before buffers get flushed to disk, or some other
># mechanism.
>
>	That is a problem only if you are taking tons of writes (in fact,
>wouldn't dbcacheNoWsync only help you if you're taking tons of writes?).

No. dbcacheNoWsync has a huge impact even on a single LDAP update
operation.

>I
>still think the model where the master is not queried, does sync, and
>writes to a stable filesystem, then replicates out is a good one, unless
>you really do need that many updates on a single server.

This is a usage issue.  See the software list archives/FAQ for how
one my safely use dbcacheNoWsync.