Welcome to SharpCoreDB documentation! Here you'll find comprehensive guides for all features.
Status: ✅ Production Ready
Highlights:
- ✅ INNER, LEFT, RIGHT, FULL, CROSS JOINs
- ✅ Collation-aware string comparisons
- ✅ Binary, NoCase, RTrim, Unicode collations
- ✅ Multi-column JOINs
- ✅ Automatic collation resolution
See Collation Guide for complete documentation.
Status: ✅ Complete (Phases 1-7)
| Phase | Feature | Status |
|---|---|---|
| Phase 1 | Schema support (CREATE TABLE COLLATE) | ✅ Complete |
| Phase 2 | Parser & Storage integration | ✅ Complete |
| Phase 3 | WHERE clause filtering | ✅ Complete |
| Phase 4 | ORDER BY, GROUP BY, DISTINCT | ✅ Complete |
| Phase 5 | Runtime optimization | ✅ Complete |
| Phase 6 | Schema migration (ALTER TABLE) | ✅ Complete |
| Phase 7 | JOIN operations | ✅ Complete |
Status: ✅ Production Ready
- ✅ Gorilla/Delta-of-Delta/XOR codecs
- ✅ Automatic time-range bucketing
- ✅ Downsampling to lower resolutions
- ✅ Retention policies
- ✅ BRIN-style time-range indexes
Status: ✅ Production Ready (v1.1.2+)
Performance: 50-100x faster than SQLite
Highlights:
- ✅ HNSW indexes for fast similarity search
- ✅ Multiple distance metrics (Cosine, Euclidean, Dot Product, Hamming)
- ✅ Scalar & Binary quantization (8-16x memory savings)
- ✅ Flat indexes for exact search
- ✅ SQL integration (
vec_distance()function) - ✅ AES-256-GCM encryption support
- ✅ Fully async API
Quick Links:
Status: ✅ Production Ready
Benefits: 50-100x faster search, 5-10x less memory, 12-30x faster index builds
Highlights:
- ✅ 9-step migration process
- ✅ Data migration strategies
- ✅ Query translation (SQLite → SharpCoreDB)
- ✅ Index tuning and optimization
- ✅ Performance benchmarking
- ✅ Troubleshooting guide
For You If:
- ✅ Currently using SQLite vector extensions
- ✅ Want 50-100x performance improvement
- ✅ Need native .NET vector support
- ✅ Scaling vector search workloads
Quick Links:
- Step 1: Understand Schema
- Step 2: Create Vector Schema
- Step 3: Migrate Data
- Step 4: Update Queries
- Performance Tuning
| Operation | SharpCoreDB | SQLite | Speedup |
|---|---|---|---|
| k-NN search (1M vectors) | 2ms | 100ms | 50x |
| Index build (1M vectors) | 5s | 60s | 12x |
| Memory (1M vectors) | 1.2GB | 6GB | 5x less |
| JOIN Type | Collation Overhead |
|---|---|
| Hash JOIN (Binary) | Baseline |
| Hash JOIN (NoCase) | +1-2% |
| Nested Loop (NoCase) | +5-10% |
- SIMD Analytics: 682x faster than SQLite
- SIMD Analytics: 28,660x faster than LiteDB
Status: ✅ Complete
- CREATE PROCEDURE with IN/OUT/INOUT parameters
- CREATE VIEW and CREATE MATERIALIZED VIEW
- EXEC command with parameter binding
Status: ✅ Complete
- BEFORE/AFTER triggers
- INSERT/UPDATE/DELETE events
- NEW/OLD column binding
- Trigger body execution
- Start here: Main README
- Learn the API: Manual
- Understand features: This page
- Quick start: Vector README
- Configuration: Vector Configuration
- Migration: From SQLite
- Performance: Tuning Guide
- How it works: Collation Guide
- Examples: SQL Examples
- Rules: Collation Resolution
- From SQLite: Vectors Migration
- Storage format: Migration Guide
- Performance tuning: Benchmark results
- Main README overview
- Quick Start examples
- Basic CRUD operations
- First SQL query
- Vector search basics
- JOIN operations
- Collation support
- Performance tuning
- Vector migration strategies
- Time-series compression
- Index tuning
- Scaling to production
| Feature | Status | Version | Performance | Security |
|---|---|---|---|---|
| Vector Search (HNSW) | ✅ Complete | 1.1.2+ | 50-100x SQLite | AES-256 ✅ |
| Vector Quantization | ✅ Complete | 1.1.2+ | 8-16x memory | ✅ |
| JOIN Collations | ✅ Complete | 1.1.2 | +1-10% | ✅ |
| Time-Series | ✅ Complete | 1.1.1+ | 80% compression | ✅ |
| Stored Procedures | ✅ Complete | 1.1.0+ | N/A | ✅ |
| Views & Materialized Views | ✅ Complete | 1.1.0+ | 2-100x | ✅ |
| Triggers | ✅ Complete | 1.1.0+ | 0-5% | ✅ |
- Questions? Check FAQ or open a GitHub issue
- Performance issues? See Tuning Guide
- Troubleshooting? See Vector Troubleshooting
- API reference? See Vector API Docs
Last Updated: January 28, 2025
All Features: Production Ready
Build Status: ✅ Passing