input-output-hk / iodb

Multiversioned key-value database, especially useful for blockchain
Creative Commons Zero v1.0 Universal
95 stars 13 forks source link

Remove Main Log, add Journal, make shards durable #9

Closed jankotek closed 7 years ago

jankotek commented 7 years ago

Main Log is suppose to be central component, where all data are stored and which provides durability. Shards are suppose to provide faster lookups.

However there is design flaw; if all data are in single Log, it becomes large and impossible to compact/clean in reasonable time.

It also leads to data duplication. Data are stored twice; in Main Log and in Shards.

So we need to:

jankotek commented 7 years ago

Fixed in 0.2 release