Realm Database is an open-source and cross-platform DBMS. Built from the ground in C++, it could support programming languages including Objective-C, Swift, Java and C#.[04]
- Website
- https://realm.io/[01]
- Source Code
- https://github.com/realm[02]
- Developer
- Country of Origin
- US
- Start Year
- 2011 [10]
- Former Name
- tight.db
- Project Types
- Commercial, Open Source
- Written in
- C++
- Supported Languages
- C#, Java, JavaScript, Objective-C, Swift
- License
- Apache v2
Realm Database is an open-source and cross-platform DBMS. Built from the ground in C++, it could support programming languages including Objective-C, Swift, Java and C#.[04]
History[04]
Realm Database comes from the YCombinator LLC. which was founded by Alexander Stigsen and Bjarne Christiansen in 2011. They started the project called TightDB in the end of 2010 and renamed it to Realm in September, 2014. Realm was officially announced and open-sourced to the developers from over the world in 2016. Later in January 2017 its first stable version was released.
Checkpoints
Not Supported
Compression[05]
The Realm Database supports the features that optimize the memory usages for some data structures. For example, the database will convert a giant list of strings into enums, which is similar to the tagger pointers in Objective-C, in order for fast lookup. Moreover, the database utilizes integer packing to store the integer with optimized space so that it is not necessary to specify the integer type when declaration.
Concurrency Control[06]
In Realm, each connected thread will see a snapshot of the data at a particular point in time. Moreover, it utilizes the copy-on-write mechanism and allows only one client to modify data at a certain point.
Logging[08]
Realm only maintains the log for the transaction. But it doesn't support the recovery mechanism.
System Architecture
Realm Database is not a distributed database. It's mainly for the mobile device.
Views
Realm database supports reflective views and imperative views. Essentially they are very similar to materialized views and virtual views.
Citations
10 sources- Atlas Device SDKs Deprecation - Atlas Device SDKs - MongoDB Docs realm.io
- Realm · GitHub github.com
- Atlas Device SDKs Deprecation - Atlas Device SDKs - MongoDB Docs mongodb.com
- Realm (database) - Wikipedia wikipedia.org
- https://academy.realm.io/posts/jp-simard-realm-core-database-engine realm.io
- https://academy.realm.io/posts/threading-deep-dive realm.io
- https://realm.io/blog/xamarin-ch9-realm-mobile-database-adam-fish realm.io
- https://docs.realm.io/platform/self-hosted/customize/log-compaction realm.io
- Atlas Device SDKs Deprecation - Atlas Device SDKs - MongoDB Docs realm.io
- https://www.crunchbase.com/organization/realm-2#section-overview crunchbase.com