db4o
discontinuedby Actian (formerly db4objects / Versant) · since 2000 · also known as db4objects, Database for Objects
Pioneering embeddable object database for Java and .NET, discontinued by Actian in 2014.
discontinued. Actian stopped development, downloads and support of db4o in 2014; no official successor.
Overview
db4o was an open-source embedded object database for Java and .NET that stored plain objects directly, with no mapping layer, and offered native queries, query-by-example, SODA and LINQ. In the late 2000s it was a common choice for embedded devices and early Android apps. Versant acquired db4objects in 2008, Actian acquired Versant in 2012, and Actian ended development and support in 2014. Only community mirrors of the old code remain. It belongs in the catalogue for history and migrations. Today's closest equivalents are ObjectBox, Realm or plain SQLite.
Strengths & trade-offs
Strengths
- +Stored plain objects with no mapping or schema files
- +Native queries written in the host language
- +Tiny footprint for its era
Trade-offs
- −Discontinued since 2014 with no security fixes or support
- −Incompatible with modern JVM and .NET tooling in places
- −No migration path from the vendor
Great for
- +Maintaining legacy applications that still embed db4o
- +Exporting old db4o files ahead of a migration to a supported store
Think twice for
- −Any new project
- −Systems needing vendor support or patches
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- Embedded, Client server
- Query languages
- Native Queries, Query by Example, SODA, LINQ
Deployment
Ecosystem
Alternatives to db4o
Fast on-device object database with built-in HNSW vector search and an optional commercial sync server.
db4o vs objectbox →Object-oriented mobile database whose MongoDB sync service is gone; the local engine survives as open source.
db4o vs realm →McObject's embedded object database for Java and .NET, dual-licensed GPL or commercial.
db4o vs perst →Commercial object database for Java that implements JPA and JDO natively, with no ORM layer.
db4o vs objectdb →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
db4o vs sqlite →Enterprise object database formerly known as Versant, sold by Actian for complex object models.
db4o vs versant-object-database →db4o FAQ
What is db4o?
db4o is an object database by Actian (formerly db4objects / Versant), first released in 2000. db4o was an open-source embedded object database for Java and .NET that stored plain objects directly, with no mapping layer, and offered native queries, query-by-example, SODA and LINQ. In the late 2000s it was a common choice for embedded devices and early Android apps. Versant acquired db4objects in 2008, Actian acquired Versant in 2012, and Actian ended development and support in 2014. Only community mirrors of the old code remain. It belongs in the catalogue for history and migrations. Today's closest equivalents are ObjectBox, Realm or plain SQLite.
Is db4o open source?
Yes. db4o is open source. License: GPL-2.0 or commercial license (historical).
Does db4o support ACID transactions?
Yes. db4o supports full ACID transactions, with strong consistency.
Does db4o scale horizontally?
db4o 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 db4o?
You can self-host it and embed it in your application.
What is db4o best for?
db4o is a strong fit for maintaining legacy applications that still embed db4o and exporting old db4o files ahead of a migration to a supported store. Think twice for any new project.
What are the best alternatives to db4o?
Common alternatives to db4o include ObjectBox, Realm (Atlas Device SDK), Perst, ObjectDB and SQLite. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is db4o still maintained?
db4o is discontinued. Actian stopped development, downloads and support of db4o in 2014; no official successor.
How popular is db4o?
db4o ranks #397 of 844 databases on the WhichDB Score (4.7/100), and #7 among object databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

