Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2018, 11:16 AM   #1
un_pogaz
Chalut o/
un_pogaz is on a distinguished road
 
un_pogaz's Avatar
 
Posts: 41
Karma: 50
Join Date: Dec 2017
Device: Kobo
Zipped metadata.calibre for reduce size

I know that the metadata.calibre file is used to index the books on our device, and thus to reduce the analysis time of the presents epubs files.
But this has a default, it takes up space, and mine is 31 MB (was huge on a device, compared to 500 KB average of an epub).
Always in search of a gain of disk space, and out of curiosity, I archived my metadata.calibre in a ZIP.

And I went from 31 Mo to 3.5 Mo
...
What ?
I was expecting a result, but not so effective
8 I divided by 8, and it's a so simple idea, that I wonder (almost) how nobody thought about it and that it's not the default working of Calibre?!
(or make it an option)

Okay, I can guess that it will slow down the reading of metadata.calibre slightly, because it will first have to unzipped it to a temporary folder, and when updating data, it will have to remplace the metadata.calibre.zip on the device, but it should be "negligible".
(Or else, read and edit the metadata.calibre directly in the ZIP file, I do not know that is possible.)


So here's my idea: Archived metadata.calibre file in a ZIP.
un_pogaz is offline   Reply With Quote
Old 04-14-2018, 12:06 PM   #2
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 2,800
Karma: 7279194
Join Date: Jan 2009
Location: in the middle of nowhere
Device: Paperwhite 3, iPad 9.7, iPad 12.9
With HDDs at $0.03/GB and SSDs at $0.25/GB, I expect most would find such a change pretty pointless. Besides, there is likely a huge performance penalty for people with very, very large libraries.

Personally, I find deleting per book conversion options and compacting the database saves quite a bit of space already.
ilovejedd is offline   Reply With Quote
Old 04-14-2018, 12:14 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.
 
PeterT's Avatar
 
Posts: 10,309
Karma: 60928025
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Glo HD, Touch, Tolino EPOS
Quote:
Originally Posted by ilovejedd View Post
With HDDs at $0.03/GB and SSDs at $0.25/GB, I expect most would find such a change pretty pointless. Besides, there is likely a huge performance penalty for people with very, very large libraries.

Personally, I find deleting per book conversion options and compacting the database saves quite a bit of space already.
We're not talking about a file on the PC but one on the eReader itself.

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 04-14-2018, 01:40 PM   #4
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: 33,198
Karma: 10200000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not worth the performance code complexity overhead to me. If you have a 30MB metadata.calibre file on your device that means you are storing thousands of books on the device, comared to that the size of metadata.calibre is negligible.
kovidgoyal is offline   Reply With Quote
Old 04-14-2018, 02:29 PM   #5
un_pogaz
Chalut o/
un_pogaz is on a distinguished road
 
un_pogaz's Avatar
 
Posts: 41
Karma: 50
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
Not worth the performance code complexity overhead to me. If you have a 30MB metadata.calibre file on your device that means you are storing thousands of books on the device, comared to that the size of metadata.calibre is negligible.
Yes
Not fault
Point taken
(but a need more )

Thanks for the answer, the proposal will have been made (all I wanted).
Good continuation o/

Last edited by un_pogaz; 04-14-2018 at 02:32 PM.
un_pogaz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
possible to reduce size of Sigil window? Notjohn Sigil 5 09-02-2016 12:57 PM
can't reduce font size of headline using extra css scissors Recipes 5 12-23-2013 03:45 AM
How to reduce size of image files? HC9 Library Management 22 07-01-2013 06:40 AM
How to reduce size of opf file??? karenbryant ePub 14 07-06-2012 03:59 AM
How do I reduce popup size for cover selection? lizzielou Calibre 2 05-06-2012 04:41 AM


All times are GMT -4. The time now is 02:57 PM.


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