rooch-network/rooch

[perf]: enable rocksdb blobDB

Opened this issue · 0 comments

inscription stats(# export at block height 843911, [0, 843911) ):

1% body > 2KB

1% total size > 3KB

and some body is too large for normal kv pair.

Should I enable blobDB?

total body count: 71334278
Average body size: 302.11 bytes
Min body size: 0 bytes
0 body size count: 786860
Max body size: 3969424 bytes (inscription_number: 70614708)
Percentiles distribution:
|   1.00th=[    0] (count: 713343)
|   5.00th=[   13] (count: 3566714)
|  10.00th=[   50] (count: 7133428)
|  20.00th=[   52] (count: 14266856)
|  30.00th=[   53] (count: 21400283)
|  40.00th=[   54] (count: 28533711)
|  50.00th=[   57] (count: 35667139)
|  60.00th=[   57] (count: 42800567)
|  70.00th=[   58] (count: 49933995)
|  80.00th=[   58] (count: 57067422)
|  90.00th=[  125] (count: 64200850)
|  95.00th=[  211] (count: 67767564)
|  99.00th=[ 2738] (count: 70620935)
|  99.50th=[ 7902] (count: 70977607)
|  99.90th=[49347] (count: 71262944)
|  99.95th=[95269] (count: 71298611)
|  99.99th=[206625] (count: 71327145)

BCS serialized size statisticsi(total count: 71334278):
Average BCS size: 526.10 bytes
Min BCS size: 157 bytes
Max BCS size: 3969771 bytes (inscription_number: 70163025)
Percentiles distribution:
|   1.00th=[  228] (count: 713343)
|   5.00th=[  250] (count: 3566714)
|  10.00th=[  255] (count: 7133428)
|  20.00th=[  259] (count: 14266856)
|  30.00th=[  260] (count: 21400283)
|  40.00th=[  269] (count: 28533711)
|  50.00th=[  275] (count: 35667139)
|  60.00th=[  288] (count: 42800567)
|  70.00th=[  289] (count: 49933995)
|  80.00th=[  294] (count: 57067422)
|  90.00th=[  353] (count: 64200850)
|  95.00th=[  475] (count: 67767564)
|  99.00th=[ 3043] (count: 70620935)
|  99.50th=[ 8219] (count: 70977607)
|  99.90th=[49572] (count: 71262944)
|  99.95th=[95518] (count: 71298611)
|  99.99th=[206828] (count: 71327145)