[Xapian-discuss] Read accesses through WritableDatabase are slow
Jean-Francois Dockes
jean-francois.dockes at wanadoo.fr
Mon Oct 23 14:16:07 BST 2006
Thanks for the answer. Then there must be a problem in my code. I am going
to dig and will let you know if I find something amusing ...
JFD
Olly Betts writes:
> On Mon, Oct 23, 2006 at 09:45:14AM +0200, Jean-Francois Dockes wrote:
> > Except if I'm mistaken, read accesses (like postlist_begin(),
> > get_document()) through a Xapian::WritableDatabase seem to trigger writes
> > on the database files, which makes them slow (because of the fsync()
> > calls).
>
> It depends on the backend, but in general this shouldn't be true for
> most methods of Database when called on a WritableDatabase.
> [snip]
> ...
More information about the Xapian-discuss
mailing list