RaptorDB

discontinued

by Mehdi Gholam · since 2012 · also known as RaptorDB Document Store, RaptorDB-Document

Embedded .NET JSON document store with compiled C# views and automatic bitmap indexes; inactive since 2019.

documentkey-valueembedded libraryopen source (permissive)legacy

discontinued. No commits since October 2019 (v4.0.10). For embedded .NET storage consider LiteDB, RavenDB or SQLite.

Overview

RaptorDB is Mehdi Gholam's open-source document database for .NET, introduced through a long-running CodeProject article in 2012. Applications store plain C# objects as JSON documents and define views as compiled .NET map functions; RaptorDB maintains those views with automatic hybrid bitmap indexes and lets you filter them with LINQ predicates, so queries feel native to C# code. Later versions added a standalone server mode, transactions, backup and active restore, server-side queries, Mono/Android support and headquarters-to-branch replication. The last tagged version, 4.0.10, landed in October 2019 and the project has been dormant since, so it is best treated as a reference design rather than a dependency.

Strengths & trade-offs

Strengths

  • +Views are compiled C# map functions, so indexing logic is type-checked code
  • +Automatic bitmap indexes on view columns make LINQ filters fast
  • +Runs embedded or as a server with the same API
  • +Built-in backup, restore and HQ-to-branch replication

Trade-offs

  • −Single maintainer and no activity since 2019
  • −Targets older .NET Framework and Mono runtimes
  • −No SQL and only a .NET client

Great for

  • +Studying bitmap-indexed document stores in .NET
  • +Maintaining older .NET apps that embed RaptorDB

Think twice for

  • −New .NET projects needing long-term support
  • −Non-.NET stacks
  • −Large distributed datasets

Capabilities

Native or official first-party support · 5 of 25 tracked

✓Transactions
✓Secondary indexes
✓Full-text search
✓JSON
✓Durable persistence
–Joins
–Vector search
–Geospatial
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded, Client server, Primary replica
Query languages
LINQ filters over views

Single process or server; replication is HQ-to-branch copying rather than clustering.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsEmbedded .NET API, TCP server mode
client languagesC#

Alternatives to RaptorDB

Compare all→
LiteDBDocument10.8

Serverless single-file NoSQL document database for .NET, in the spirit of SQLite.

raptordb vs litedb →
RavenDBDocument30.9

ACID document database for .NET and beyond, with auto-indexing, Corax search and multi-master replication.

raptordb vs ravendb →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

raptordb vs sqlite →
Realm (Atlas Device SDK)Object25.2

Object-oriented mobile database whose MongoDB sync service is gone; the local engine survives as open source.

raptordb vs realm →
iBoxDBDocument0.0

Embedded transactional table-style document database for Java and .NET, including Android and Unity.

raptordb vs iboxdb →
WiredTigerKey-Value20.6

MongoDB's default storage engine: MVCC B-tree with compression and snapshot isolation.

raptordb vs wiredtiger →

RaptorDB FAQ

What is RaptorDB?

RaptorDB is a document database by Mehdi Gholam, first released in 2012. RaptorDB is Mehdi Gholam's open-source document database for .NET, introduced through a long-running CodeProject article in 2012. Applications store plain C# objects as JSON documents and define views as compiled .NET map functions; RaptorDB maintains those views with automatic hybrid bitmap indexes and lets you filter them with LINQ predicates, so queries feel native to C# code. Later versions added a standalone server mode, transactions, backup and active restore, server-side queries, Mono/Android support and headquarters-to-branch replication. The last tagged version, 4.0.10, landed in October 2019 and the project has been dormant since, so it is best treated as a reference design rather than a dependency.

Is RaptorDB open source?

Yes. RaptorDB is open source. License: MIT License.

Does RaptorDB support ACID transactions?

Partly. RaptorDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does RaptorDB scale horizontally?

RaptorDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run RaptorDB?

You can self-host it and embed it in your application.

What is RaptorDB best for?

RaptorDB is a strong fit for studying bitmap-indexed document stores in .NET and maintaining older .NET apps that embed RaptorDB. Think twice for new .NET projects needing long-term support.

What are the best alternatives to RaptorDB?

Common alternatives to RaptorDB include LiteDB, RavenDB, SQLite, Realm (Atlas Device SDK) and iBoxDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is RaptorDB still maintained?

RaptorDB is discontinued. No commits since October 2019 (v4.0.10). For embedded .NET storage consider LiteDB, RavenDB or SQLite.

How popular is RaptorDB?

RaptorDB ranks #619 of 844 databases on the WhichDB Score (0.7/100), and #56 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.