Skip to content

0xcb9ff9/goleveldb-analyze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analyze leveldb

This is a simple tool to analyze leveldb.

subcommand:

  • kvsize: get all key/value pair size, save in sqlite database
  • stats: print goleveldb stats

script tool:

  • ./scripts/kvsize.py: analyze key/value size statistics

goleveldb issues reproduce

Build

requirement:

glibc env:

  • go 1.19
  • gcc

Alpine linux env:

  • gcc
  • go 1.19
  • musl-dev
  • sqlite-dev
  • sqlite-static (optional, if static link)
$ go build

static link:

$ CGO_ENABLED=1 go build -ldflags '-extldflags "-static"'

About

goleveldb database analyze tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published