[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 at 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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9ad9effc1ffc4983b2b608d6e99522ee%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=EswD0cXs08oMcTx8ekyrUDLrhtBWlJ6KMvyiLjXdMSE%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9ad9effc1ffc4983b2b608d6e99522ee%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FWkg7bEnstp8Zgl81UdcRPzvP%2B0SvBU7efQWkcBhr%2F8%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9ad9effc1ffc4983b2b608d6e99522ee%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=4zYBrRiq3krb2uTW8CDXFISH%2B8gdM0cTTD5SfP9GjvQ%3D&amp;reserved=0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190605/eb1a40ea/attachment-0001.html