Skip to content
PowerDNSPublic

About

A terminal UI to inspect LMDB database files

Resources

Stars

34 stars

Watchers

10 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

34 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages