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 03-10-2016, 05:35 PM   #1
Torpido
Junior Member
Torpido began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Kindle Fire HD
Dealing with very large library

I've just passed 150,000 ebooks in my calibre library. I moved the database to my local SSD drive, so it starts up fairly quickly (about 30-45 seconds), but I'm starting to have a problem with the actual ebook files. The problem is that there are over 65,000 directories in my calibre folder. It's getting impossible to manage that many subdirectories. It's taking longer and longer to batch add more ebooks. (I've managed to speed up the conversion by a factor of 50 by just making the 'temp' drive a ram disk (16GB), so I can convert them all to MOBI (I have a kindle fire), but the process of adding another 5000 books today took almost 2 hours. I've been thinking of moving the calibre folder to my NAS device, because it can handle millions of files without slowing down, but I did a test, and estimate it would take me close to 100 hours to move them all, don't want to waste 5 days if I don't see a good speed improvement.
Torpido is offline   Reply With Quote
Old 03-11-2016, 01:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I doubt filesystem access times are the limiting factor. When adding, the entire existing library has to be searched for duplicates, which is likely the biggest thing slowing down adds as library size grows.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-11-2016, 02:42 AM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by Torpido View Post
I've been thinking of moving the calibre folder to my NAS device, because it can handle millions of files without slowing down, but I did a test, and estimate it would take me close to 100 hours to move them all, don't want to waste 5 days if I don't see a good speed improvement.
Running Calibre off a NAS or any sort of networked drive is an unsupported configuration Many, including myself, have made it work but if things go wrong in that configuration you will not get much support.

I have in the past successfully had Calibre running with the database held locally and the main library files on the NAS. However in my experience it was significantly slower than holding all the files locally. I now run with the library held locally and make regular use of FreeFileSync to back it up to my NAS instead, and like you I use a RAM disk for temporary files.
itimpi is offline   Reply With Quote
Old 03-11-2016, 01:49 PM   #4
Torpido
Junior Member
Torpido began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Kindle Fire HD
True

That's my fear. Since I have 50,000+ folders on the local hard drive, it's going to take forever to move them all.
But, I did come across what appears to be a great solution.
atpalca/docker-rdp-calibre.

I've got a DS3615 with 11x8TB drives. (about 75TB). Problem is my local storage HD is only 1TB, and my library is already over 300GB. It's not the fastest drive (I use SSD for system drives), but I'm almost out of space. Since I'm about to import 2015 (about 100GB) into the library, I wanted to find a fix before I do that. (I estimate about 75,000-100,00 ebooks).

So far, apart from a weird permissions problem I'm having on docker-rdp-calibre (I can't seem to point calibre to the folder I want to use as a library, it keeps showing me 'nobody', and 'nobody' can't browse to the volume that has the directory I created to store all the books.

The storage array has plenty of CPU power (think it's like a dual core 3Ghz, and 16GB of ram AND a 500GB SSD 'cache' drive, so I always get 100MB/sec transferring to and from it)
Torpido is offline   Reply With Quote
Reply

Tags
large library, slow, storage array


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintenance large library tomcooke General Discussions 11 06-11-2018 03:23 PM
How Many have a large Audiobook Library? auntykatkat General Discussions 32 11-21-2013 01:18 PM
Best way to get a large Calibre library into the PE library? Filark enTourage Archive 0 04-20-2011 10:18 PM
Networked db/large library a no-go? concern Calibre 3 02-03-2010 09:11 PM
How large is your Calibre library? radius Calibre 28 10-12-2009 01:14 AM


All times are GMT -4. The time now is 09:54 AM.


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