EPrints Technical Mailing List Archive
Message: #06133
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Antwort: IRStats2: Innodb tables; forks
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Antwort: IRStats2: Innodb tables; forks
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Fri, 16 Dec 2016 14:50:54 +0000
Hi Martin, The changes in
https://github.com/eprints/irstats2/pull/84 seem to help us quite a bit. Out daily stats start run at 06:30, and were still running at 12:00. Implementing this fix yesterday (and with two days of data to process), the stats completed processing just after 09:00. Some of the tables (details in https://github.com/eprints/irstats2/issues/83) are re-created each time the stats are processed. These tables may be using InnoDB as the engine isn't specified in the CREATE TABLE statements (if you're running MySQL >= v5.5.5 the
default engine is InnoDB). The structure of these tables means that the InnoDB engine has to do a lot of work (maintaining the index? moving data?) for each insert
or transaction. If the inserts are in a few transactions, there's a lot less work to be done (so it's quicker!). I'll continue to monitor how quickly our stats process - it looks like it helps us, but it might not help everyone. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of martin.braendle@id.uzh.ch Hi John,
|
- References:
- [EP-tech] IRStats2: Innodb tables; forks
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Antwort: IRStats2: Innodb tables; forks
- From: martin.braendle@id.uzh.ch
- [EP-tech] IRStats2: Innodb tables; forks
- Prev by Date: [EP-tech] Antwort: IRStats2: Innodb tables; forks
- Next by Date: [EP-tech] Query re '/opt/eprints3/bin/lift_embargos script and embargo length
- Previous by thread: [EP-tech] Antwort: IRStats2: Innodb tables; forks
- Next by thread: [EP-tech] Antwort: Re: Antwort: IRStats2: Innodb tables; forks
- Index(es):