Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 3.63 KB

File metadata and controls

76 lines (57 loc) · 3.63 KB

SharpCoreDB v2.0 Manual

SharpCoreDB v2.0 — performance-first. An embedded, encrypted, SIMD-accelerated database engine and production gRPC server for .NET 10 / C# 14.

Version 2.0.0.0 · MIT License · GitHub


1. Table of Contents

Getting Started

Core Engine

  • 3. Database Core — storage modes, transactions & WAL, AES-256-GCM, metadata
  • 4. Data Modeling — data types, ULID, auto-rowid, collation, constraints
  • 5. Indexing — hash indexes, B-tree indexes, adaptive/expression/partial indexes
  • 6. Querying — SQL dialect, aggregates, window functions, joins, subqueries

Performance

Deployment & Ecosystem

Reference


2. How to use this manual

Each chapter is self-contained and includes runnable C# examples. Deep-dive documents live in the docs/ tree and are linked from the relevant chapters.

Conventions

Mark Meaning
Fully supported in v2.0
Performance-relevant API — see the Performance Guide
🧩 Optional package (separate NuGet)

Package quick reference

Package Purpose
SharpCoreDB The core engine (this manual covers it)
SharpCoreDB.Data.Provider ADO.NET provider (DbConnection/DbCommand)
SharpCoreDB.EntityFrameworkCore EF Core provider
SharpCoreDB.Functional.Dapper · Functional.EntityFrameworkCore · Functional.Linq2DB functional adapters
SharpCoreDB.Provider.YesSql · SharpCoreDB.Provider.Sync OrchardCore/YesSql + Dotmim.Sync
SharpCoreDB.EventSourcing · Projections · CQRS · Distributed architecture packages
SharpCoreDB.Server · Server.Core · Server.Protocol network server
SharpCoreDB.VectorSearch vector index + similarity search

3. Version history at a glance

Version Highlights
2.0.0 Performance-first release. Zero-allocation StructRow reads, zero-reparse point-lookup fast path, SIMD numeric scan filtering, Native AOT readiness, allocation reduction, compiled regexes, cached DI. See the Performance Guide for measured results (point reads beat SQLite; all operations beat LiteDB).
1.9.x WHERE IN regression fix, EF Core provider hardening, functional adapters, SonarCloud onboarding
≤ 1.8 Security, server, GraphRAG, vector, time-series feature growth

See CHANGELOG.md for the full history.