FileDB

discontinued

by Mauricio David · since 2010 · also known as Numeria FileDB

Tiny C# library that stores many files inside a single archive file, keyed by GUID; LiteDB's predecessor.

key-valueembedded libraryopen source (permissive)legacy

discontinued. No development since the 2015 move from CodePlex; the author's LiteDB (with FileStorage) is the successor.

Overview

FileDB is a small MIT-licensed .NET 3.5 library by Mauricio David that stores, retrieves and deletes files of any size inside one container file on disk, so an application can keep uploads or attachments organised without a database server or thousands of loose files. Each stored file gets a GUID plus metadata (name, length, MIME type), and the API offers Store, Read, Delete, ListFiles, Shrink to reclaim space and Export, either as static helpers or through an instance, with ASP.NET MVC examples. It began on CodePlex and moved to GitHub in 2015 with no further development; the author went on to build LiteDB, whose FileStorage feature covers the same need inside a full embedded document database.

Strengths & trade-offs

Strengths

  • +Keeps many files in one container file: easy to back up, copy or ship
  • +Dead-simple API with no server or configuration
  • +MIT licence and a codebase small enough to read in an afternoon

Trade-offs

  • −Unmaintained and targets .NET Framework 3.5
  • −No transactions, locking for concurrent writers or search by anything but GUID
  • −Superseded by the same author's LiteDB

Great for

  • +Bundling attachments or uploads for small desktop or intranet apps
  • +Reading a minimal single-file blob store implementation

Think twice for

  • −Concurrent multi-user writes
  • −Large-scale file serving
  • −New projects (use LiteDB or SQLite)

Capabilities

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

✓Durable persistence
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–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
None
Consistency
Strong
Schema
Schemaless
Architecture
Embedded
Query languages
.NET API (store/read/delete by GUID)

Deployment

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

Ecosystem

apis & protocols.NET API
client languagesC#

Alternatives to FileDB

Compare all→
LiteDBDocument10.8

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

filedb vs litedb →
SQLiteRelational75.5

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

filedb vs sqlite →
LMDBKey-Value39.7

Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.

filedb vs lmdb →
ZODBObject22.7

Transparent persistence for Python objects with ACID transactions and history.

filedb vs zodb →
EhcacheKey-Value17.6

The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.

filedb vs ehcache →
libmdbxKey-Value4.9

Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files.

filedb vs libmdbx →

FileDB FAQ

What is FileDB?

FileDB is a key-value database by Mauricio David, first released in 2010. FileDB is a small MIT-licensed .NET 3.5 library by Mauricio David that stores, retrieves and deletes files of any size inside one container file on disk, so an application can keep uploads or attachments organised without a database server or thousands of loose files. Each stored file gets a GUID plus metadata (name, length, MIME type), and the API offers Store, Read, Delete, ListFiles, Shrink to reclaim space and Export, either as static helpers or through an instance, with ASP.NET MVC examples. It began on CodePlex and moved to GitHub in 2015 with no further development; the author went on to build LiteDB, whose FileStorage feature covers the same need inside a full embedded document database.

Is FileDB open source?

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

Does FileDB support ACID transactions?

No. FileDB does not provide ACID transactions; its consistency model is strong.

Does FileDB scale horizontally?

FileDB 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 FileDB?

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

What is FileDB best for?

FileDB is a strong fit for bundling attachments or uploads for small desktop or intranet apps and reading a minimal single-file blob store implementation. Think twice for concurrent multi-user writes.

What are the best alternatives to FileDB?

Common alternatives to FileDB include LiteDB, SQLite, LMDB, ZODB and Ehcache. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is FileDB still maintained?

FileDB is discontinued. No development since the 2015 move from CodePlex; the author's LiteDB (with FileStorage) is the successor.

How popular is FileDB?

FileDB ranks #585 of 844 databases on the WhichDB Score (1.0/100), and #97 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.