xdb

command module
v0.0.0-...-29f3474 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Xdb

Xdb is a B+Tree based storage engine with a partially implemented query executor.

Features
  • Atomic updates
  • Durable to process crashes and power failures
  • Point queries in O(logn) time
  • Range queries in O(k * logn) time
  • Secondary Indexes
  • Transactions
Implementation
  • B+trees
  • Copy-on-write
  • Mmap and fsync
Installation
git clone https://github.com/vanshjangir/xdb
cd xdb
go build -o xdb
./xdb
Usage (full of bugs)
Command Description
db create <database_name> Create new database
db ls List all databases
db show Show all tables
db use <database_name> Initialize/select database
db begin Start transaction
db commit Commit transaction
db rollback Rollback transaction
References

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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