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 10-07-2015, 12:01 PM   #16
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I just remembered Chaley's answer in this thread:

https://www.mobileread.com/forums/sho...39&postcount=8

I was wondering, doesn't that mean that my custom columns are stored in the metadata.db?
Tanjamuse is offline   Reply With Quote
Old 10-07-2015, 12:56 PM   #17
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I see no indication there one way or another.

Custom columns haven't changed -- insomuch as they have always bee stored in the database.
custom columns built from other columns -- those store the template once for the entire column, then calculate the value for each row dynamically.
Performing functions on all the metadata columns in order to get the value of a custom column built from other columns is slow.

If you use custom columns built from other columns, then calibre will be slower -- no matter what. Sometimes a lot slower -- it depends how many you have.
eschwartz is offline   Reply With Quote
Advert
Old 10-07-2015, 01:13 PM   #18
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Would it help if I removed them from the library I download to?
Tanjamuse is offline   Reply With Quote
Old 10-07-2015, 01:14 PM   #19
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Suggestions

@Tanjamuse:

Not a half-million, but sufficiently large enough to give me a lot of personal experience that I can share with you in the form of suggestions derived from what I have had to do:

(1) Create a new empty "pattern" Calibre Library that has all of the custom columns and plugin configurations that you can foresee needing or wanting.

(2) Create new Calibre Libraries using your "pattern" metadata.db and its associated .json.

(3) Create one new Calibre Library for each forseeable high-level "Genre". For example, as a minimum, 3: Fiction; Factual; Poetry.

(4) Based on your anticipated book-count by high-level "Genre", create more detailed new Calibre Libraries using your "pattern" metadata.db and its associated .json.

(5) Move your books in your original 9,000 book library into their new homes, and then eliminate duplicates.

(6) Count what remains in each Library, and create new "pattern" Libraries as needed to further break down the "Genre" represented in a particular Library if it is too voluminous. Example: You may need to create separate Libraries for "Factual:History", "Factual:Autobiographies&Biographies" etc.

(7) Create new Virtual Libraries based on the final metadata in each of your pattern Libraries. Example: VLs of "Factual:Autobiographies" and "Factual:Biographies" for the "Factual:Autobiographies&Biographies Library.

(8) You will want to compress the metadata.db files frequently. I suggest using .bat files that invoke the calibredb command-line utility to "check_library", which not only tells you of any corruption, but also vacuums/compresses/defragments a Library. You can create a single .bat file that sequentially executes calibredb for each of your libraries in turn. See: http://manual.calibre-ebook.com/cli/calibredb.html

Personally, I would not put all of the libraries on a single physical hard-drive unless it was a reliable RAID device. Too risky. Backing up 500,000 metadata.opf files plus 500,000 cover.jpg files, which are "small" files, takes a very long time. Obviously you need to back up everything initially. I back up all of my metadata.db files daily to multiple external devices, since "small" files take much too long to do, and Calibre generates new metadata.opf files automatically regardless of whether you want it to or not.

Good luck.



DaltonST
DaltonST is offline   Reply With Quote
Old 10-07-2015, 01:40 PM   #20
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Would it help if it's 250.000 books and no custom columns build from other columns?
Tanjamuse is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library Size and Performance Hampshire Nanny Library Management 7 06-12-2014 09:10 AM
Library size limits? BeccaPrice Library Management 3 09-14-2012 09:38 AM
Pratical Library Size Motomaggot Library Management 23 03-02-2012 09:41 AM
Maximum size of library? crossi Library Management 1 02-22-2012 04:35 PM
Library size and performance MrFinch Calibre 4 01-01-2009 04:11 AM


All times are GMT -4. The time now is 06:56 PM.


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