[OPEN-ILS-DEV] Heating up search
Robin H. Johnson
rjohnson at sitka.bclibraries.ca
Mon May 23 14:06:56 EDT 2011
On Mon, May 23, 2011 at 01:24:04PM -0400, Duimovich, George wrote:
> Regarding Dan Scott's blog post on heating up Evergreen search:
> http://coffeecode.net/archives/165-Heating-up-Evergreen-search.html
I wrote the attached script as a refactor of some inherited past code and the
linked post. Hopefully it helps some folks.
If you don't have enough RAM to fit all of your indices in, tweak the SQL query
to exclude the ones that aren't needed.
The readahead-list package is used for the actual reading, as it outperforms
cat, and explicitly informs the kernel that other processes will be using the
data after it's loaded. It used to be included w/ Ubuntu, but got removed due
to politics.
--
Robin Hugh Johnson
SITKA: Sysadmin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 330 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110523/4aae88d6/attachment-0001.pgp
More information about the Open-ils-dev
mailing list