A terminal UI to inspect LMDB database files.
This is a tool that we use internally to debug LMDB databases. We decided to open source it, since it can be useful to others.
Contributions are welcome.
From a local source checkout:
$ GOBIN=/path/to/target/bin go install ./cmd/lmdbnav
Or directly, without any local checkout:
$ GOBIN=/path/to/target/bin go install github.com/PowerDNS/lmdbnav/cmd/lmdbnav@latest
$ lmdbnav /path/to/lmdb
To enable support for Lightning Stream headers:
$ lmdbnav --ls /path/to/lmdb
Key bindings:
- Arrow keys are used for navigation
Enter
dives into a subviewEsc
returns to the previous screenR
orr
refreshes the view from the LMDB[
and]
jump 1000 rows{
and}
jump 10000 rowsHome
andEnd
navigate to the beginning and end