04-14-2018, 11:16 AM | #1 |
Chalut o/
Posts: 410
Karma: 145324
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. |
04-14-2018, 12:06 PM | #2 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, 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. |
Advert | |
|
04-14-2018, 12:14 PM | #3 | |
Grand Sorcerer
Posts: 12,176
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
Sent from my Nexus 7 using Tapatalk |
|
04-14-2018, 01:40 PM | #4 |
creator of calibre
Posts: 43,869
Karma: 22666666
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.
|
04-14-2018, 02:29 PM | #5 | |
Chalut o/
Posts: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
|
Quote:
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. |
|
Advert | |
|
06-01-2019, 04:34 PM | #6 | |
Fear The Turtle!
Posts: 866
Karma: 4035032
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
Quote:
|
|
06-01-2019, 06:40 PM | #7 | |
Bibliophagist
Posts: 35,513
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
06-01-2019, 07:15 PM | #8 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
|
|
06-01-2019, 07:50 PM | #9 |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The size of Comments varies per book, therefore the only comparison would be if the exact same books (and upload) were done.
I also don't think existing (device) metadata auto updates (like can happen with CC WDC mode). You need to send the book again to change what was stored on the device. |
06-01-2019, 11:43 PM | #10 |
Evangelist
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
|
Putting a database inside an unseekable, noneditable container like ZIP pretty much defeats its purpose.
|
06-03-2019, 10:04 AM | #11 |
Fear The Turtle!
Posts: 866
Karma: 4035032
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
|
06-03-2019, 10:07 AM | #12 |
Fear The Turtle!
Posts: 866
Karma: 4035032
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to reduce size of opf file??? | karenbryant | ePub | 28 | 10-10-2022 12:39 PM |
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 do I reduce popup size for cover selection? | lizzielou | Calibre | 2 | 05-06-2012 04:41 AM |