EPrints Technical Mailing List Archive
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
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] generate_views
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Wed, 5 Jun 2019 10:06:33 +0100
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,*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-techThe 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
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- Follow-Ups:
- Re: [EP-tech] generate_views
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] generate_views
- References:
- [EP-tech] generate_views
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] generate_views
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] generate_views
- Prev by Date: Re: [EP-tech] generate_views
- Next by Date: Re: [EP-tech] generate_views
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):