Closed dangell7 closed 1 month ago
I rewrote the low level db from sqlite3 to lmdb. I wouldn't use this to query anything except for current ledger state.
Here are some numbers and reasoning why I made the decision to try to rewrite it.
Running LMDB test with configuration: Map size: 10485760 bytes LMDB write duration: 0.0651284 seconds LMDB read duration: 0.000178667 seconds
Running SQLite test with configuration: Page size: 512 bytes Max page count: 1073741823 SQLite write duration: 0.158965 seconds SQLite read duration: 0.00546225 seconds
I rewrote the low level db from sqlite3 to lmdb. I wouldn't use this to query anything except for current ledger state.
Here are some numbers and reasoning why I made the decision to try to rewrite it.