EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07872


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] generate_views


Hi All,

My earlier question still stands, but altered a little bit.

Apparently a "viewID" can be used to stipulate which views should be updated by the generate_views script. Is there any possible way of adding further stipulations to this? For example, I'm unlikely to receive deposits for items earlier than 2017, so there doesn't seem to be a point in updating these every week. I would ideally like to say "update the year view, but only for the sections that have a year value > 2017".

This would remove the vast majority of EPrint records from this particular view generation and maybe speed things up a little bit.

Thanks,
James

On Wed, Jun 5, 2019 at 9:07 AM James Kerwin via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
Hi All,

The generate_views script runs on our EPrints server once a week (early hours of Saturday morning).

It started on Saturday and is still running now. I'm confident that it's still generating views, there are just a lot of records to go through. Has anybody experienced anything similar or have suggestions on how I could decrease how long it takes?

I think my main option is to get rid of some views (not too keen on that) or speak to our computing services department and ask for the server to be given a bit of a boost (likely to be rejected unless our EPrints instance is running so slowly it goes backwards).

I suppose I could run the script every two weeks etc. but I already feel as though a week is quite a long time between the views being updated. Plus a minimum of 4 days is a long time for this script to be running.

Does anybody have experience with this and any advice on what I could do?

Thanks,
James
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/