![]() |
#1 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
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. |
![]() |
![]() |
![]() |
#2 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
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 | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,474
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
Sent from my Nexus 7 using Tapatalk |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,323
Karma: 27111242
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.
|
![]() |
![]() |
![]() |
#5 | |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
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 | |
|
![]() |
#6 | |
Fear The Turtle!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,996
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
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:
|
|
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,031
Karma: 60358908
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. |
![]() |
![]() |
![]() |
#10 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 516
Karma: 2268308
Join Date: Nov 2015
Device: none
|
Putting a database inside an unseekable, noneditable container like ZIP pretty much defeats its purpose.
|
![]() |
![]() |
![]() |
#11 |
Fear The Turtle!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
|
![]() |
![]() |
![]() |
#12 |
Fear The Turtle!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |