LiteDB is an embedded NoSQL database for .NET applications. It stores BSON documents in a single database file and does not require a separate database server.
The database is designed for applications that need local persistent storage while retaining the querying and indexing capabilities of a document database. It provides an API similar in concept to MongoDB, allowing developers to work with collections containing BSON documents.
LiteDB can map application classes directly to database records. Developers can use ordinary .NET objects rather than manually constructing document structures for every database operation.
The database supports transactional updates and includes recovery mechanisms for interrupted write operations. Its storage engine allows multiple readers to access data while coordinating modifications to preserve consistency.
LiteDB also offers query facilities that integrate with .NET development practices. Applications can use expressions to select records or execute SQL-like queries for more complex retrieval operations.
It is particularly suitable for desktop applications, small services and tools that need a self-contained document database.
This is free and open source software.
Key Features
- BSON document storage with flexible schemas.
- Single-file database persistence.
- ACID transactions.
- Write-ahead logging and recovery.
- Document collections with unique identifiers.
- Secondary indexes for faster queries.
- LINQ-based queries.
- SQL-like commands for filtering and transforming data.
- Object mapping with attributes and fluent configuration.
- References between documents and collections.
- Binary file storage with streaming support.
- Thread-safe database access.
- Multiple concurrent readers.
Website: github.com/litedb-org/LiteDB
Support:
Developer: Mauricio David and contributors
License: MIT License
LiteDB is written in C#. Learn C# with our recommended free books and free tutorials.
Related Software
| Document-Oriented Databases | |
|---|---|
| SurrealDB | Scalable, distributed, collaborative, document-graph database |
| Couchbase | Distributed key-value database management system |
| CouchDB | Scalable, fault-tolerant, and schema-free written in Erlang |
| ArangoDB | Native multi-model database |
| eXist-db | Database management system entirely built on XML technology |
| RethinkDB | Scalable database built for realtime applications |
| BaseX | XML database engine |
| OrientDB | Document Database supporting ACID Transactions, SQL and Native Queries |
| Aerospike | Key-Value Store and high performance real-time NoSQL (flex-schema) database |
| RavenDB | Fully-transactional NoSQL ACID database |
| FerretDB | Database proxy that offers an open-source alternative to MongoDB |
| DocumentDB | MongoDB-compatible document database engine |
| Jackrabbit | Open-source content repository for Java |
| TerminusDB | Knowledge graph and document store |
| Kinto | Minimalist JSON storage service |
| CrateDB | Distributed SQL database management |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.