[Koha] Koha indexing - files

Robin Sheat robin at catalyst.net.nz
Fri Feb 20 13:26:48 NZDT 2015


Chad Roseburg schreef op do 19-02-2015 om 15:14 [-0800]:
> We are currently setting up a server and have a question about the location
> of the zebra indexes.
> Is /var/lib/koha/instancename/biblios/ the only place zebra keeps the index
> files it writes to during the indexing process?

It puts temporary files in /tmp during the indexing process, and
authority indices in /var/lib/koha/instancename/authorities/

> We are considering mounting the index files to a separate high-performance
> disk array in hopes of improving performance during the indexing process --
> has anyone experimented with something like this?

It'd be worth seeing where the slowdown in the indexing actually is: is
the exporting the slow part, or the merging into the index?

Though, I've never tried with zebra indicies on a high speed disk, I'd
be interested to see some real benchmarks. Also, more RAM might be
useful for disk caching, and you could experiment with disk fsync()
commit options (i.e. by making it not require data to be written back
before returning.) This has risk though, but if you're careful, it could
well be acceptable, for example just needing to a full reindex in case
of a power outage.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF



More information about the Koha mailing list