# litedb-org/litedb

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/litedb-org-litedb).**

9,409 stars · 1,320 forks · C# · MIT

## Links

- GitHub: https://github.com/litedb-org/LiteDB
- Homepage: http://www.litedb.org
- awesome-repositories: https://awesome-repositories.com/repository/litedb-org-litedb.md

## Topics

`database` `dotnet` `hacktoberfest` `litedb` `nosql`

## Description

LiteDB is a serverless NoSQL document store and embedded database engine for .NET applications. It persists unstructured documents and binary data into a single standalone disk file, allowing the database to run within the application process rather than as a separate server.

The system supports strongly typed queries through Language Integrated Query and allows the execution of standard SQL commands for data retrieval and transformation. It provides native mapping of plain classes into document formats and secures stored information via symmetric-key file encryption.

The engine includes capabilities for managing atomic transactions and indexing specific document fields to accelerate search performance. It also supports the storage and streaming of large binary files that exceed standard size limits.

## Tags

### Data & Databases

- [Document Stores](https://awesome-repositories.com/f/data-databases/document-stores.md) — Provides a NoSQL document store for .NET applications that manages semi-structured data objects. ([source](https://github.com/litedb-org/litedb#readme))
- [Single-File Persistence](https://awesome-repositories.com/f/data-databases/key-value-stores/single-file-persistence.md) — Persists the entire NoSQL database and metadata within a single standalone binary disk file.
- [Embedded Storage Engines](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/file-based-storage/embedded-storage-engines.md) — Provides a lightweight embedded engine for storing unstructured document data in local files.
- [NoSQL Schema Mappings](https://awesome-repositories.com/f/data-databases/document-format-converters/nosql-schema-mappings.md) — Provides mapping logic to translate typed .NET objects into flexible NoSQL document schemas.
- [Embedded Database Engines](https://awesome-repositories.com/f/data-databases/embedded-database-engines.md) — Operates as an in-process database engine that eliminates the need for a separate database server.
- [Document-Based Single-File Storage](https://awesome-repositories.com/f/data-databases/key-value-stores/single-file-persistence/document-based-single-file-storage.md) — Persists all unstructured documents and binary data into one standalone, portable disk file.
- [Document Indexing](https://awesome-repositories.com/f/data-databases/data-integration-synchronization/local-document-indexing/document-indexing.md) — Creates lookup structures on specific document fields to accelerate search and retrieval. ([source](https://github.com/litedb-org/litedb#readme))
- [Atomic Transactions](https://awesome-repositories.com/f/data-databases/database-management-systems/database-systems-management/connection-transaction-management/atomic-transactions.md) — Ensures data integrity through atomic transactions and a recovery log. ([source](https://github.com/litedb-org/litedb#readme))
- [LINQ-Enabled Stores](https://awesome-repositories.com/f/data-databases/document-databases/linq-enabled-stores.md) — Allows the use of strongly typed LINQ queries to retrieve and filter stored documents.
- [LINQ Expression Translators](https://awesome-repositories.com/f/data-databases/expression-based-data-querying/linq-expression-translators.md) — Converts strongly typed LINQ expressions into an internal query syntax for document filtering.
- [Local Database Security](https://awesome-repositories.com/f/data-databases/local-database-security.md) — Protects sensitive on-device information through database file encryption and access control.
- [Offline-First Persistence](https://awesome-repositories.com/f/data-databases/offline-first-persistence.md) — Maintains a local searchable cache of data for application availability during network outages.
- [SQL Query Execution Engines](https://awesome-repositories.com/f/data-databases/sql-query-execution-engines.md) — Provides an engine to execute standard SQL commands for data retrieval and transformation. ([source](https://github.com/litedb-org/litedb#readme))
- [B-Tree](https://awesome-repositories.com/f/data-databases/storage-engines/b-tree.md) — Implements B-Tree structures to map document fields to disk offsets for efficient data retrieval.
- [Write-Ahead Logging](https://awesome-repositories.com/f/data-databases/write-ahead-logging.md) — Employs write-ahead logging to record mutations and ensure atomic transactions and durability.

### Part of an Awesome List

- [Document Mappings](https://awesome-repositories.com/f/awesome-lists/devtools/object-mapping/document-mappings.md) — Maps plain C# classes into document formats using descriptive attributes or configuration. ([source](https://github.com/litedb-org/litedb#readme))

### Programming Languages & Runtimes

- [Language Integrated Query (LINQ)](https://awesome-repositories.com/f/programming-languages-runtimes/language-integrated-query-linq.md) — Enables document retrieval and filtering using strongly typed Language Integrated Query. ([source](https://github.com/litedb-org/litedb#readme))

### Development Tools & Productivity

- [Application Preferences](https://awesome-repositories.com/f/development-tools-productivity/application-preferences.md) — Provides a local store for saving application state and user preferences directly to disk.

### Security & Cryptography

- [Data Encryption](https://awesome-repositories.com/f/security-cryptography/data-encryption.md) — Secures at-rest data by encrypting the local database file using standard cryptography. ([source](https://github.com/litedb-org/litedb#readme))
- [Symmetric Encryption](https://awesome-repositories.com/f/security-cryptography/symmetric-encryption.md) — Uses symmetric-key cryptography to encrypt the entire data file and secure stored information.
