Questions tagged [parity-db]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 views

Db weights in Runtime

I see that the DB weights (Rocks or Parity) are directly imported as constants in the runtime code. This means that whenever the runtime is built, it will use those constants. Why was this approach ...
lime's user avatar
  • 111
1 vote
1 answer
76 views

How are we now able to use the kvdb Rust library with ParityDB as a key-value store abstraction?

At the moment building the Substrate repository requires RocksDB library librocksdb-sys and all its native dependencies to be pulled in, but it also supports testing out the "faster and more ...
Luke Schoen's user avatar
  • 2,292
0 votes
0 answers
36 views

Why can't we pass the path to a database other than RocksDB (e.g. ParityDB) to the Substrate Service?

The Substrate Client has a: Substrate CLI here, where we're given the option to choose to use either RocksDB or ParityDB Substrate Service (sc-service) where here it states: "The RocksDB ...
Luke Schoen's user avatar
  • 2,292
0 votes
1 answer
72 views

Why can we limit the memory the RocksDB database cache can use but not for ParityDB?

In the Substrate CLI why can we limit the memory that the RocksDB database cache can use if we choose to use it here, but we're not given the option to limit the memory that ParityDB uses if we choose ...
Luke Schoen's user avatar
  • 2,292