![]() |
#1 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Causes for library updates to be slow
What would cause the "journal-db metadata" file to idk how to put it, but when I am trying to import a list sometimes when the list takes way too long to import and update this file shows up in the library folder and indicates each book being updated (i assume). I noticed that when I am doing a lot of mass updates (like importing lists) that unless I give it a break and let the metadata for the books catch up then the import list ends up being very slow, and that journal-db metadata file shows up.
I just imported a simple list of titles/authors/dates/source with only updates to the source and date. However it took a very long time. I know the metadata was up to date (I checked using preferences), so, my question is, what would cause Calibre to slow down like that when all the metadata in the books is caught up (with the exception of the changes I was making)? ALso, I know this seems like a plugin question, but it's really about that file that that indicates Calibre is running slow to update. |
![]() |
![]() |
![]() |
#2 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,954
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
metadata.db-journal is a rollback journal for sqlite. If something goes wrong mid-change (e.g. power interuption - FAT32 filesystems were known for corrupting after them) it can restore and prevents things from breaking. It deletes itself when done.
Could be a number of things causing slowness. Overly complex composite columns needing to be calculated, a database that hasn't been vacuumed in a while, the drive being stored on a slow (or failing) hard drive. Last edited by ownedbycats; 12-22-2020 at 07:24 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Have a look at this post in the Import List plugin. It outlines the two issues affecting speed and how to deal with them.
There is a tip for people using linux that dramatically increases the speed of importing lists. If you can somehow have ramdisk in Windows —I don't know how because I don't use Windows— you can replicate the steps. |
![]() |
![]() |
![]() |
#4 | |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Quote:
Oh, well, it is transient, so I was just wondering. |
|
![]() |
![]() |
![]() |
#5 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,954
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Freeware versions are limited in size, but you're only copying metadata.db so you'll only need a fraction of what they offer you. Last edited by ownedbycats; 12-22-2020 at 08:28 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,258
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Quote:
2. I have no clue how that ramdisk works, and I have no idea how to import a list from the command line, so I guess I am stuck with the occasional bottlenecking. |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
You will not import the books from the command line. You simply will copy one command to the command line, after which a dialog will popup where you can complete the process. The instructions for this is detailed in the linked post. Note that the path in the first step applies to linux and should be replaced by the path to your ramdisk in Windows, if you somehow managed to setup that.
I cannot offer any guidance on how to make ramdisk in Windows as I don't use it. Edit: Also make sure you not using the same library you importing to in calibre gui. And that you have the latest version of the Import List plugin. Edit2: If you cannot setup a ramdisk in Windows and want to just prevent the speed deterioration over time, you skip the step of copying your metadata.db to ramdisk, and simply copy the command and start from there. In that case, you will leave the override db checkbox unchecked, and make sure you tick the checkbox for re-initialize the db (lowering the number to 500 if you are not using ramdisk). Last edited by capink; 12-23-2020 at 11:50 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Slow with large library | luoto | Calibre | 17 | 02-06-2020 04:44 PM |
Onyx Library very slow | dnastase | Onyx Boox | 2 | 09-23-2014 08:11 AM |
app updates and syncing under iOS 6 extremely slow | jswinden | Apple Devices | 14 | 10-31-2012 01:01 PM |
Live library updates | Shadewing | Library Management | 0 | 08-07-2012 10:01 AM |
Slow Library Functions. | Brianrh | Kobo Reader | 3 | 04-02-2012 03:01 AM |