KalamDB Documentation
September 5, 2026 ยท View on GitHub
Welcome to KalamDB documentation! This folder is organized into the following sections:
๐ Documentation Structure
getting-started/
Quick start guides for new users and contributors.
- quick-start.md โ Build and run your first query
- cli.md โ Using the
kalamcommand-line client
reference/
Core reference documentation for SQL syntax and behavior.
- sql.md โ Complete SQL syntax reference
- identifiers.md โ Case sensitivity and naming rules
- timestamp-formatting.md โ Timestamp handling
api/
HTTP and WebSocket API documentation.
- api.md โ Quick API overview
- api-reference.md โ Complete REST API reference
- websocket-protocol.md โ WebSocket subscription protocol
sdk/
Client SDK documentation.
- sdk.md โ TypeScript/JavaScript SDK guide
architecture/
System architecture and design decisions.
- decisions/ โ Architecture Decision Records (ADRs)
- manifest.md โ Manifest file format and flush architecture
- hot-cold-storage-unification.md โ Hot/cold tiers, DataFusion provider scan path, and MVCC merge
- release-downloads.md โ CLI update, installer, and managed local server release download flow
- conversion-architecture.md โ Data type conversion
- pg-extension-grpc-connectivity.md โ PostgreSQL extension gRPC transport, session lifecycle, liveness, and improvement path
- vector-search-architecture.md โ Vector index hot staging, cold snapshots, and query path
development/
Contributor guides for building and developing KalamDB.
- build.md โ Build guide (start here)
- development-setup.md โ Full development setup
- macos.md / linux.md / windows.md โ Platform guides
- testing-strategy.md โ Testing approach
- how-to-add-sql-statement.md โ Adding new SQL statements
- docker-idle-resource-baseline.md โ Why idle Docker CPU/memory is non-zero and how to tune it
plans/
Decision-complete implementation plans for major initiatives.
- 2026-09-01-kalamdb-0.7.md โ 0.7 program: implement serialization, scalar secondary indexes, and functions V1 together
- 2026-02-14-flatbuffers-flexbuffers-vortex-migration-plan.md โ One
kalamdb-serializationcrate; nestedSTRUCT/List; Vortex as design reference only - 2026-08-30-scalar-secondary-indexes.md โ Unified indexing core (optional
kalamdb-indexcrate); scalar USER/SHARED indexes; vector search extends the core;system.schemas+ CLI schema-diff - functions-v1-implementation.md โ SQL procedures, generated SDKs, typed
CALL, topic triggers (design)
API-Kalam/
Bruno API collection for testing endpoints.
๐ฏ Quick Links by Role
New Users
- Quick Start โ Get KalamDB running
- SQL Reference โ Learn the SQL syntax
- CLI Guide โ Use the command-line client
API Developers
- API Reference โ REST endpoints
- WebSocket Protocol โ Real-time subscriptions
- SDK Guide โ TypeScript/JavaScript client
Contributors
- Build Guide โ Build the project
- Development Setup โ Full environment setup
- Architecture Decisions โ Understand design choices
- Plans โ Execution-ready project plans
๐ก Common Questions
How do I get started with development?
Follow the Quick Start Guide for your platform. If you encounter issues, see the Troubleshooting section in the full setup guide.
Why do I need LLVM/Clang?
KalamDB depends on native libraries (RocksDB, Arrow, Parquet) written in C++. The Rust build process needs LLVM/Clang to compile these dependencies. See the Build Guide for details.
What's the table-per-user architecture?
KalamDB stores each user's messages in isolated storage partitions instead of a shared table. This enables massive scalability for real-time subscriptions. Read more in the Main README.
๐ Related Documentation
- AGENTS.md โ AI/Agent coding guidelines
- Backend README โ Backend project structure
- Main README โ Project overview
Last Updated: September 2026
KalamDB Version: 0.6.x (0.7 program: serialization + scalar indexes + functions V1)