Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-23-2020, 11:14 PM   #16
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by 93terp View Post
After reloading my Aura One LE, there's virtually no change in the database size, both before Kobo Utilities compression (827MB) and post-compression (822MB). Any idea what could be leading to such a large database size?
Actually, when I quoted my database size, I was probably looking at the wrong device. That one has a lot of short stories and books with only two or three ToC entries. Looking at another device with about 1000 books, mostly novels, the database is about 90MB

In the database, you are looking at:

For each book
- One entry in the content table with the book details. This includes the metadata read from the book plus several timestamps and ids
- One entry in the content table for each entry in the ToC (for all book formats)
- For kepubs, one entry in content table for each entry in the manifest.
- One entry in the volume_shortcovers table for each entry in the ToC (for all book formats)
- The Event table will have a least one entry for each book. More get added as you open, read and finish books. And some have extra data added as you read.

Overall, these can get large. The design is terrible and there is a lot of wasted space. And the more ToC entries or internal files, the more wasted space (a lot of the columns in the content table are not used for these entries). Exporting the data for my current book to CSV, it is about 24KB. It is a sideloaded kepub with 20 internal files and ToC entries. Another with 73 chapters is about 115KB. Multiplying those out over 6000 books, it wouldn't be hard to get a large database size. And that doesn't take into account the "overhead" such as indexes and anything else in the data structures.

The size database size you have immediately after the import is probably as good as it gets. The compress will have reorganized the database and it is probably has the least wasted space it will ever have.
davidfor is offline   Reply With Quote
Old 12-24-2020, 08:58 AM   #17
93terp
Fear The Turtle!
93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.93terp ought to be getting tired of karma fortunes by now.
 
93terp's Avatar
 
Posts: 868
Karma: 4067244
Join Date: Sep 2009
Location: Margaritaville
Device: KV, Kobo Forma, Kobo A1LE, KO3, K3
Quote:
Originally Posted by davidfor View Post
Actually, when I quoted my database size, I was probably looking at the wrong device. That one has a lot of short stories and books with only two or three ToC entries. Looking at another device with about 1000 books, mostly novels, the database is about 90MB

In the database, you are looking at:

For each book
- One entry in the content table with the book details. This includes the metadata read from the book plus several timestamps and ids
- One entry in the content table for each entry in the ToC (for all book formats)
- For kepubs, one entry in content table for each entry in the manifest.
- One entry in the volume_shortcovers table for each entry in the ToC (for all book formats)
- The Event table will have a least one entry for each book. More get added as you open, read and finish books. And some have extra data added as you read.

Overall, these can get large. The design is terrible and there is a lot of wasted space. And the more ToC entries or internal files, the more wasted space (a lot of the columns in the content table are not used for these entries). Exporting the data for my current book to CSV, it is about 24KB. It is a sideloaded kepub with 20 internal files and ToC entries. Another with 73 chapters is about 115KB. Multiplying those out over 6000 books, it wouldn't be hard to get a large database size. And that doesn't take into account the "overhead" such as indexes and anything else in the data structures.

The size database size you have immediately after the import is probably as good as it gets. The compress will have reorganized the database and it is probably has the least wasted space it will ever have.
Copy all, thanks.
93terp is offline   Reply With Quote
Advert
Old 12-25-2020, 06:43 AM   #18
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 978
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
I've just compressed my database, and it went from 486 to 462 Mb.
I have some 5000 books on the Libra, mostly kepubs. There are only 21 PDFs, those who can be read comfortably on 7", the rest of the PDFs are on the Forma.

From what davidfor writes, the nature of the books is responsible: I have as much of my reference library as I can on the readers, complete works with one entry per chapter or per poem, which makes for huge TOCs.
All the books have more or less detailed metadata, and a number are heavily annotated.
anacreon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add large files to calibre database Nadyita Library Management 3 12-15-2017 02:02 AM
PB 626 freezing when updating large library database Zetmolm PocketBook 6 12-04-2015 05:30 PM
Extra-large Database sizes? vibbix Related Tools 8 04-27-2012 09:44 AM
Large Database Issues phil_ga Calibre 28 07-30-2011 12:53 PM
Adding books to a large database Student1 Calibre 31 04-07-2009 06:43 PM


All times are GMT -4. The time now is 01:31 AM.


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