nimbus-eth1/nimbus/db/core_db
Jacek Sieka 84a72c8658
Use zstd compression in bottommost layer (#2582)
Tested up to block ~14m, zstd uses ~12% less space which seems to result
in a small:ish (2-4%) performance improvement on block import speed -
this seems like a better baseline for more extensive testing in the
future.

Pre: 57383308 kb
Post: 50831236 kb
2024-08-30 17:32:13 +02:00
..
backend Use zstd compression in bottommost layer (#2582) 2024-08-30 17:32:13 +02:00
base Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
README.md Core db reorg (#2444) 2024-07-03 15:50:27 +00:00
TODO.md Core db reorg (#2444) 2024-07-03 15:50:27 +00:00
base.nim Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
base_iterators.nim Separate config for core db and ledger (#2479) 2024-07-12 13:12:25 +00:00
base_iterators_persistent.nim Separate config for core db and ledger (#2479) 2024-07-12 13:12:25 +00:00
core_apps.nim Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
memory_only.nim Separate config for core db and ledger (#2479) 2024-07-12 13:12:25 +00:00
persistent.nim Coeredb related clean up and maint fixes (#2360) 2024-06-14 11:19:48 +00:00

README.md

Core database

Layout of CoreDb descriptor objects

Objects dependence:

    CoreDbRef                           -- Base descriptor
     | | |
     | | +--- CoreDbCtxRef              -- Context descriptor
     | |       | | | |
     | |       | | | +--- CoreDbKvtRef  -- Key-value table
     | |       | | |
     | |       | | +----- CoreDbMptRef  -- Generic MPT
     | |       | |
     | |       | +------- CoreDbAccRef  -- Accounts database
     | |       |
	 | |       +--------- CoreDbTxRef   -- Transaction handle
     | |
     | +----- CoreDbCtxRef
     |         : : : :
     |
     +------- CoreDbCtxRef
               : : : :