sybod

command module
v0.0.0-...-31d1cff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2019 License: MIT Imports: 3 Imported by: 0

README

sybod

Shrink Your BoltDB: it helps to shrink your BoltDB file to fit the real size.

When you are testing CRUD operation on your BoltDB file and it only grows and never will adapt to the real size even if you delete all data inside, then this tool will help you to copy all the data to a new BoltDB file with the exact size.

This project is based on bbolt as the boltdb's author suggest.

Installing

To start using sybob, install Go and run go get:

$ go get github.com/cydside/sybod

Usage

sybod data.db

It will create a copy of data.db named:

shrank_data.db

Try it and let me know!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL