RaptorDB
discontinuedby 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.
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
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
Ecosystem
Alternatives to RaptorDB
Serverless single-file NoSQL document database for .NET, in the spirit of SQLite.
raptordb vs litedb →ACID document database for .NET and beyond, with auto-indexing, Corax search and multi-master replication.
raptordb vs ravendb →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
raptordb vs sqlite →Object-oriented mobile database whose MongoDB sync service is gone; the local engine survives as open source.
raptordb vs realm →Embedded transactional table-style document database for Java and .NET, including Android and Unity.
raptordb vs iboxdb →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.



