7

Specific to Geth the database used is LevelDB. But what is the database used for parity?

Susmit
  • 1,804
  • 2
  • 14
  • 29

2 Answers2

13

I'm one of parity devs. We use Rocksdb. It's a key-value database developed by Facebook. We chose it mostly because of it's performance. In our benchmarks it was faster than LevelDB

From their webpage:

RocksDB is optimized for fast, low latency storage such as flash drives and high-speed disk drives. RocksDB exploits the full potential of high read/write rates offered by flash or RAM.

debris
  • 861
  • 7
  • 12
3

The answer here is slightly out of date. Parity has migrated to use blooms db which is an implementation of a Bloom Filter to reduce overall disk reads.

The blooms are a db layer before the kvdb RocksDB.

forgetso
  • 163
  • 6