Ticket #3564 (closed defect: invalid)
Screen plugin EPrint::Messages inefficient?
| Reported by: | tmb | Owned by: | |
|---|---|---|---|
| Priority: | Customer Report | Milestone: | EPrints 3.2.2 |
| Component: | - | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by tmb) (diff)
Effectively executes the following query everytime an EPrint::View screen is displayed:
SELECT DISTINCT T0.historyid FROM history T0 WHERE (T0.datasetid = 'eprint');
Although the query executes fairly quickly, for very large history datasets it can take a few seconds to read in the list of IDs returned and then merge them with the accumulated list of IDs..
EPrint::Messages::can_be_viewed calls get_messages which searches the history dataset.
Change History
Note: See
TracTickets for help on using
tickets.
