Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 06:29 AM   #16
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 641
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by BetterRed View Post
The Shelf 'pages' calculator uses the book format file size to compute its value… that generates disk i/o

But that information is already available in the 'data' table of metadata.db. If the bookshelf 'page' calculator used that information I suspect it would speed up the initial scan by quite a lot… especially if that table is already loaded into calibre's in memory rendition of the database.

Attachment 220757

BR
Calibre precisely does that.
And the format file size in 'pages' table is not used to compute the value, but as a guard: If you trigger the pages recount for this book, Calibre will compare the file size in the 'data' table to the size saved in the 'pages' table, and if their a equal, it skip the effective recount because it assume that the book is identical to the last time than the count was done.

This lead that if you request a recount of the entire library (and that you don't check the force option), the second scan will be even faster and will generates less disk i/o because unchanged books are skiped.

Last edited by un_pogaz; Today at 06:37 AM.
un_pogaz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre accessing my floppy drive? Wim Kreuger Calibre 1 05-17-2014 10:08 AM
hard drive and Calibre??? sleepster69 Calibre 1 10-22-2012 11:42 PM
New Hard Drive and Calibre taxesed Library Management 6 03-24-2012 01:39 AM
started today: Calibre accessing FLOPPY drive rheostaticsfan Calibre 2 07-04-2011 04:01 PM
Easy hard drive data archiving with a USB hard drive adapter Bob Russell Lounge 24 02-20-2007 05:15 PM


All times are GMT -4. The time now is 04:32 PM.


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