![]() |
#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 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,522
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Why on earth do people persist in placing calibre libraries on network drives....
|
![]() |
![]() |
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
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. |
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
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 |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,079
Karma: 14079267
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). |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,522
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
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? |
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
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.
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2012
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
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. |
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
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 |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#15 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
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 |
|
![]() |
||||
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 |