![]() |
#1 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
calibredb slowness: is it expected?
Hi,
my program to automatically transport metadata to Clibre seems to work ok (kudos to Calibre developers!). Remaining issue (side from the, apparently harmless, exception seen yesterday) is a relative slowness of calibredb. It takes several seconds to process an entry (I am already cumulating several field updates in a single "calibredb set_metadata"). I am less 1/8 through my large lib (24000+ books) after 12 solid hours. If this is the pace I need more than four days for a full pass! Is this "as expected" or am I doing something wrong? I am currently using:
Is there some way to speed up operations? TiA Last edited by ZioNemo; 02-06-2014 at 07:05 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,211
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
every time you call calibredb, the entire database has to be read from disk and loaded into memory (that is the way calibre works). Therefore, calling calibredb repeatedly is never going to be very fast.
The only way to speed it up is to use the calibre db interface directly via a python script, which will avoid re-reading the db each time. But since your import is a one time operation, if I were you. I'd just let it chug away, it'll get htere eventually. Do something else in the meantime. |
![]() |
![]() |
![]() |
#3 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
The most obvious way to speed things up would be to use a fast computer with plenty of memory for disk caches and fast hard drives. SSD or even a RAM-drive. Especially the temp folder.
Also try to disable everything not needed, like unplug the network and disable antivirus, while the program is running. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Yup!
It IS chugging away... I just hope I didn't forget something essential and I'll have to redo it ![]() Obvious solution for calibredb slowness would be to use it to "pass over" commands to a running Calibre (GUI or server), but that would mean a lot of work and I'm unsure it would be worthwhile. I know a lot of programming languages, but Python is not among them, unfortunately... perhaps it's time to correct this oversight ![]() Thanks, for the time being |
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Quote:
It is now almost bearable ![]() Good catch Adoby! |
|
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,798
Karma: 68407974
Join Date: Dec 2011
Location: Australia
Device: Kobo Libra 2, iPadMini4, iPad4, MBP; support other Kobo/Kindles
|
Just another voice on this one - Calibre used to be a little slow on my ~5 yo laptop; not horribly so, but startup and big imports/conversions chugged away for a while. Upgraded to a 1yo laptop with SSD and now most operations happen in a few seconds or less.
|
![]() |
![]() |
![]() |
Tags |
calibredb, slow |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre slowness on Webdav | madeira | Calibre | 4 | 12-19-2012 06:05 AM |
Calibre slowness as library expands | microcity | Library Management | 10 | 06-14-2012 03:59 PM |
PRS-950 Help for terrible slowness/lagging problems with ebooks | sun surfer | Sony Reader | 5 | 02-05-2012 11:21 PM |
Slowness of e-book reader | mst | Calibre | 5 | 12-19-2010 06:11 PM |
Overall slowness | iharley | Calibre | 2 | 07-06-2010 12:29 AM |