09-06-2017, 02:41 PM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2012
Device: Sony PRS-T1
|
Poor performance with large library
I have not been using calibre for a while, but since maybe version 3.2, the database performance has severely degraded with large databases.
Previously, the size of the database did not seem to be important, but now I have to wait 5 minutes or more for a single change. OK, we have a ridiculous large database, over 30000 entries. I am running calibre 3.7, on a Core i7 laptop with plenty memory, The database resides on a file server with a Gb ethernet connection. With an (almost) empty database, performance is excellent. Of course I am willing to provide more info if requested. TIA, Bart |
09-06-2017, 05:02 PM | #2 |
Grand Sorcerer
Posts: 12,177
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Why on earth do people persist in placing calibre libraries on network drives....
|
Advert | |
|
09-06-2017, 05:11 PM | #3 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
09-06-2017, 06:11 PM | #4 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
. That is not a particularly large library. I have over 45000 in mine and Performance is fine, but all files are on a local HDD.
Quote:
I used to run with the Books in the Calibre library on my NAS and the database on a local drive. That gives nearly as good performance as having everything local. I would then periodically sync the database back to the Calibre library on the NAS. |
|
09-06-2017, 07:04 PM | #5 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@BartZorn - see following sections of the Calibre User Manual Ψ²
Frequently Asked Questions ==>> Do not put your calibre library on a networked drive. Customising Calibre ==>> Environment variables - specifically CALIBRE_OVERRIDE_DATABASE_PATH BR |
Advert | |
|
09-07-2017, 06:32 AM | #6 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2012
Device: Sony PRS-T1
|
OK, I did a test. I am absolutely sure that nobody else is using the library.
Calibre is version 3.7, both on the fileserver and my laptop. Startup time on the server (Windows Server 2016): 4:18 Startup time on my laptop (Windows 10 Pro) : 2:36 To me it seems that a library on a network drive is faster than a local drive. Anyway, I will have a look at the other tips, and also at the content server solution. Thanks, Bart |
09-07-2017, 09:59 AM | #7 | |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
My library is far larger than yours (230K entries, metadata.db alone is over 500MB) and Calibre 3.7 64bit starts in about 40 seconds. This on a Win10-64 Home, Core i7 laptop with SATA HD (no SSD). |
|
09-07-2017, 11:11 AM | #8 |
Grand Sorcerer
Posts: 12,177
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
One thing we've seen in the past is slow downs caused by custom column definitions.
Do you have any custom columns defined, and if so would you like to share their definitions? |
09-07-2017, 11:38 AM | #9 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Roughly 30,000 entries all doing calculations for custom columns can slow things down locally or networked.
|
09-07-2017, 12:28 PM | #10 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2012
Device: Sony PRS-T1
|
|
09-07-2017, 01:56 PM | #11 |
Zealot
Posts: 106
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
|
When "testing" my backup over the network, I've seen poor performance in later versions Calibre and FreeNAS. Slow open, several minutes to edit metadata, can't delete, etc.
Probably bad Samba defaults. For example I switched to Turnkey Linux Filesever and have no more issues. |
09-07-2017, 04:40 PM | #12 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-07-2017, 04:55 PM | #13 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Bartzorn - Have you tried running calibre with no optional plugins - calibre --ignore-plugins?
How big is the database (metadata.db)? BR |
09-08-2017, 03:56 AM | #14 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2012
Device: Sony PRS-T1
|
metadat.db is about 61 MB.
Ignoring plugins did not make a noticeable difference. Initializing User Interface takes by far the longest time. Bart |
09-08-2017, 06:29 AM | #15 | |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Could you run calibre at the server in debug mode and post the log here? That it is so slow when run from server suggests the server itself is the bottleneck, rather that anything related to the network. What file system is the server running (NTFS or ??), how much memory does it have, and what other applications run at the server? Have you tried relocating the database, as suggested in posts 3 and 4. BR |
|
Tags |
performance |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large Library Performance Comparisons | Down South | Calibre | 9 | 06-08-2013 11:37 AM |
Performance issue with large library | audeojude | Calibre | 25 | 12-07-2011 04:44 PM |
DX performance on large (>100MB) pdf files? | Blackguard | Amazon Kindle | 6 | 06-16-2009 06:57 PM |
Library size and performance | MrFinch | Calibre | 4 | 01-01-2009 04:11 AM |
Performance with large Libraries? | itimpi | Calibre | 3 | 12-14-2008 02:46 PM |