Magma
maintenanceby Chris Muller · since 2002 · also known as Magma OODB, Magma for Squeak
Multi-user object database for Squeak and Pharo Smalltalk, written entirely in Smalltalk.
maintenance. Last formal release Magma 1.4 (Dec 2012); described as stable and still maintained on the Squeak wiki, with no recent releases.
Overview
Magma, by Chris Muller, persists Squeak (and later Pharo) object graphs transparently: you commit changes to plain Smalltalk objects and other users see them, with optimistic locking, nested transactions and large indexed collections that can be queried. It is written entirely in Smalltalk, runs client-server across images, supports high-availability replicas and federated clusters, and can even serve as a Monticello code repository; later versions store BlockClosures and use a WriteBarrier for change tracking. Development started around 2002, the last formal release (1.4) came in December 2012, and the Squeak wiki still describes it as stable and maintained. It is a niche tool for Smalltalk developers who want GemStone-like persistence without a commercial server.
Strengths & trade-offs
Strengths
- +Transparent persistence of ordinary Smalltalk objects, no mapping layer
- +Multi-user access with optimistic locking and nested transactions
- +Large indexed collections with queries
- +Pure Smalltalk, MIT-licensed, with live class evolution
Trade-offs
- −No release since 2012; tiny user base
- −Only usable from Squeak/Pharo
- −Performance and tooling far behind GemStone/S
Great for
- +Persistent object models for Squeak or Pharo applications
- +Seaside web apps needing a pure-Smalltalk store
Think twice for
- −Non-Smalltalk stacks
- −Large-scale or high-throughput production systems
Capabilities
Native or official first-party support · 4 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Client server, Primary replica
- Query languages
- Smalltalk
Single server image with optional replicas for availability.
Deployment
Ecosystem
Alternatives to Magma
Smalltalk object database where application code runs inside the transactional object repository.
magma vs gemstone-s →Transparent persistence for Python objects with ACID transactions and history.
magma vs zodb →Pioneering embeddable object database for Java and .NET, discontinued by Actian in 2014.
magma vs db4o →Enterprise object database formerly known as Versant, sold by Actian for complex object models.
magma vs versant-object-database →New Zealand's integrated object database, language and app server for building line-of-business systems.
magma vs jade →In-memory .NET application platform where C# classes are database tables, with no ORM in between.
magma vs starcounter →Magma FAQ
What is Magma?
Magma is an object database by Chris Muller, first released in 2002. Magma, by Chris Muller, persists Squeak (and later Pharo) object graphs transparently: you commit changes to plain Smalltalk objects and other users see them, with optimistic locking, nested transactions and large indexed collections that can be queried. It is written entirely in Smalltalk, runs client-server across images, supports high-availability replicas and federated clusters, and can even serve as a Monticello code repository; later versions store BlockClosures and use a WriteBarrier for change tracking. Development started around 2002, the last formal release (1.4) came in December 2012, and the Squeak wiki still describes it as stable and maintained. It is a niche tool for Smalltalk developers who want GemStone-like persistence without a commercial server.
Is Magma open source?
Yes. Magma is open source. License: MIT License.
Does Magma support ACID transactions?
Yes. Magma supports full ACID transactions, with strong consistency.
Does Magma scale horizontally?
Magma 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 Magma?
You can self-host it.
What is Magma best for?
Magma is a strong fit for persistent object models for Squeak or Pharo applications and seaside web apps needing a pure-Smalltalk store. Think twice for non-Smalltalk stacks.
What are the best alternatives to Magma?
Common alternatives to Magma include GemStone/S, ZODB, db4o, Actian NoSQL (Versant) and JADE. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Magma still maintained?
Magma is in maintenance mode. Last formal release Magma 1.4 (Dec 2012); described as stable and still maintained on the Squeak wiki, with no recent releases.
How popular is Magma?
Magma has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.


