[OPEN-ILS-DEV] Heating up search

Duimovich, George George.Duimovich at NRCan-RNCan.gc.ca
Tue May 24 08:34:39 EDT 2011


Hello Robin,

Seems like the attached script didn't come through - possibly scrubbed
by 'spam' filters ?

Anyways, could you post a URL link to the script and/or re-send please. 

Thanks,

George
NRCan Library

-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of
Robin H. Johnson
Sent: May 23, 2011 14:07
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Heating up search

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


More information about the Open-ils-dev mailing list