Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2015, 04:55 PM   #1
MyNameIsMrBurns
Member
MyNameIsMrBurns began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2011
Device: Nook Simple Touch Reader
Can I store metadata.db separately from the books themselves?

I have a big library full of big files. This makes Calibre slow to start up and search.

I'd like to put the Calibre database on my SSD, to improve this. However I don't want to move the entire library, because it'll eat up a big chunk of my small SSD.

Would it be possible for me to stick metadata.db somewhere on my SSD and create some kind of junction or link connecting it to the library folder? Would there be any risks or downsides?
MyNameIsMrBurns is offline   Reply With Quote
Old 01-09-2015, 05:31 PM   #2
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,677
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@MyNameIsMrBurns - On Windows or Linux you could move metadata.db to your ssd and put a symlink to it in the library folder, but I'm not sure it will improve startup times by as much as you're hoping.

As a test, you could copy the metadata.db to an empty folder on your ssd, and then point calibre at the folder via Switch/Create library and tell it the folder is an existing library - the author/book folders are not mandatory. Then see what startup times are when it is the current library

Here's as 'how to' for Windows & Linux symlinks ==>> Complete Guide to Symbolic Links (symlinks) on Windows or Linux

Apple fans have told me that Symlinks dont work on OS/X, not having a MAC I've no idea if that's true or just an urban myth.

If you do decide to keep the metadata on the ssd, then you'll need to ensure it gets backed up with the rest of the library.

BR

Last edited by BetterRed; 01-09-2015 at 05:34 PM.
BetterRed is offline   Reply With Quote
Advert
Old 01-09-2015, 06:01 PM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,386
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Why use symbolic links? Look at http://manual.calibre-ebook.com/cust...ment-variables
PeterT is offline   Reply With Quote
Old 01-09-2015, 10:34 PM   #4
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,677
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PeterT View Post
@PeterT : Firstly because I clean forgot about the CALIBRE_OVERRIDE_DATABASE_PATH

And that's probably because I have several libraries for which I split the database from the books, in that scenario I found the Env Variable method cumbersome. I keep the database files in a single folder with names that reflect the library folder names thus.

Code:
c:\_CalibreData
    Databases
        _Empty.db <<== d:\_CalibreLibraries\_Empty\metadata.db
        _Journals.db <<== d:\_CalibreLibraries\_Journals\metadata.db
        _Main.db <<== d:\_CalibreLibraries\_Main\metadata.db
        _Media.db <<== d:\_CalibreLibraries\_Media\metadata.db
        _Stage.db <<== d:\_CalibreLibraries\_Stage\metadata.db
        _Test.db <<== d:\_CalibreLibraries\_Test\metadata.db
On Windows/NTFS at least, the source file and the symlink do not have to have the same name. And, IMO, keeping them all in one place is good housekeeping. The end result means I can switch libraries normally.

BR

Last edited by BetterRed; 01-09-2015 at 11:02 PM. Reason: typo
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Google books store, compared to Kobo store Joques Kobo Reader 9 06-11-2014 09:05 PM
Store metadata for multiple libraries using Override Database Path EV jm2 Library Management 15 09-03-2012 05:28 AM
Restrict metadata search to Kindle Store Mayr Calibre 1 05-22-2012 12:37 PM
Library won't store metadata noimporta Library Management 4 05-09-2011 02:42 PM
How does Caliber store MetaData? JGB Calibre 4 12-10-2008 12:53 AM


All times are GMT -4. The time now is 05:16 PM.


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