Skip to content

PowerDNS/lmdbnav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lmdbnav

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.

Installation

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

Usage

$ 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 subview
  • Esc returns to the previous screen
  • R or r refreshes the view from the LMDB
  • [ and ] jump 1000 rows
  • { and } jump 10000 rows
  • Home and End navigate to the beginning and end

Example screenshots

Databases

Data

Inspect

About

A terminal UI to inspect LMDB database files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages