Initial commit: SRDB - High-performance LSM-Tree database

- Core engine with MemTable, SST, WAL
- B+Tree indexing for SST files  
- Leveled compaction strategy
- Multi-table database management
- Schema validation and secondary indexes
- Query builder with complex conditions
- Web UI with HTMX for data visualization
- Command-line tools for diagnostics
This commit is contained in:
2025-10-08 06:38:12 +08:00
commit ae87c38776
61 changed files with 15475 additions and 0 deletions

10
go.mod Normal file
View File

@@ -0,0 +1,10 @@
module code.tczkiot.com/srdb
go 1.24.0
require (
github.com/edsrzf/mmap-go v1.1.0
github.com/golang/snappy v1.0.0
)
require golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect