Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2022, 04:57 PM   #1
MattMRead
Junior Member
MattMRead began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2022
Device: none
Slow performance on very large library

I'm hoping to use Calibre to manage the metadata (JUST the metadata) for a very large number of books (on the order of a few million), but I find that as the number of entries increases, adding new entries gets slower and slower, eventually becoming so slow that it's unusable, well before reaching a million entries.

Note that most of the entries are empty. They have no formats associated with them.

Is Calibre appropriate for managing this amount of metadata, doing searches, meta-data updates, etc.?
MattMRead is offline   Reply With Quote
Old 01-11-2022, 05:19 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,897
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
A couple of ideas:

Run Library > Library Maintenance > Check library. This'll vacuum your database and check for errors.

If you're using 32-bit Calibre, switch to 64-bit, assuming your system will support that. This'll let it use more memory.

If you use any composite columns ("column built from other column"), check them. Sometimes bad coding in them can slow things down. In that case, either look into improving the template or seeing whether it would work better as a non-composite.

Run a checkdsk (or whatever is similiar for your OS) on the drive holding the library. I had a bad drive causing Calibre slowness.

Last edited by ownedbycats; 01-11-2022 at 05:26 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 01-11-2022, 05:29 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,698
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MattMRead View Post
I'm hoping to use Calibre to manage the metadata (JUST the metadata) for a very large number of books (on the order of a few million), but I find that as the number of entries increases, adding new entries gets slower and slower, eventually becoming so slow that it's unusable, well before reaching a million entries.

Note that most of the entries are empty. They have no formats associated with them.

Is Calibre appropriate for managing this amount of metadata, doing searches, meta-data updates, etc.?
Where are you storing the 'library'?

Even though you have no ebook-format files (EPUB, PDF etc), when you add books calibre will still be creating author and title folders.

Suggested reading ==>> Frequently Asked Questions, especially the Library Management and Miscellaneous sections.

BR
BetterRed is offline   Reply With Quote
Old 01-11-2022, 05:36 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,005
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Another thing to remember is that Calibre has the entire booklist in RAM while running.
theducks is online now   Reply With Quote
Old 01-21-2022, 06:22 AM   #5
spigot7
Junior Member
spigot7 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2019
Device: Kindle Paperwhite
You may need to split your Calibre library, eg authors A-F, G-M, N-Z to make editing more manageable.
If you create smaller virtual libraries for editing purposes you will find this faster.
You can use Calibre as a database for your metadata, then export it's data as a csv file to use with Python and pandas for fast searches and analysis.
spigot7 is offline   Reply With Quote
Advert
Old 01-18-2023, 02:05 PM   #6
TRexReader
Junior Member
TRexReader began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2015
Device: Kindle Keyboard 3
Quote:
Originally Posted by theducks View Post
Another thing to remember is that Calibre has the entire booklist in RAM while running.
Wait, what?? I've been searching for months about why Calibre is killing my RAM, old MacBook Air 4GB RAM, it'll idle at 2.5GB the go red and start compressing and swapping like crazy if I actually do a process, and this is the first time I've heard this Everything else runs like a dream so I can't really justify upgrading over one program.

Is there any way to reduce this without splitting the library?
TRexReader is offline   Reply With Quote
Old 01-18-2023, 02:48 PM   #7
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,897
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If possible (unfamiliar with Apple architecture), add more RAM.
ownedbycats is offline   Reply With Quote
Old 01-18-2023, 05:28 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by TRexReader View Post
Wait, what?? I've been searching for months about why Calibre is killing my RAM, old MacBook Air 4GB RAM, it'll idle at 2.5GB the go red and start compressing and swapping like crazy if I actually do a process, and this is the first time I've heard this Everything else runs like a dream so I can't really justify upgrading over one program.

Is there any way to reduce this without splitting the library?
The problem is not Calibre but your Macbook Air. 4GB on an old MacBook Air is a real slug. You need at least 16GB RAM. 4GB is not enough. My wife has a MacBook Air with 4GB ram and the performance is terrible. Late last year, we bought a refurbish MacBook Air with the M2 chip, 16GB RAM, and 512GB SSD. It runs very well.

So you really do need a new laptop that has enough storage and enough RAM.
JSWolf is offline   Reply With Quote
Old 01-18-2023, 05:28 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ownedbycats View Post
If possible (unfamiliar with Apple architecture), add more RAM.
You can't. He has to buy a new laptop.
JSWolf is offline   Reply With Quote
Old 01-18-2023, 08:15 PM   #10
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,609
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by MattMRead View Post
doing searches
For non-prefixed searches, I find this setting crucial, performance-wise:

Preferences -> Searching -> check "Limit the searched metadata"
Comfy.n is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow with large library luoto Calibre 17 02-06-2020 04:44 PM
Poor performance with large library BartZorn Calibre 34 11-12-2017 07:15 PM
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
Large Library working slow bigbird1227 Library Management 3 11-21-2011 05:14 PM


All times are GMT -4. The time now is 12:10 AM.


MobileRead.com is a privately owned, operated and funded community.