DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > 4D vs. Derby vs. LokiJS vs. SurrealDB

System Properties Comparison 4D vs. Derby vs. LokiJS vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonLokiJS  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelRelational DBMSRelational DBMSDocument storeDocument store
Graph DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.47
Rank#110  Overall
#54  Relational DBMS
Score4.60
Rank#70  Overall
#38  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score1.02
Rank#190  Overall
#33  Document stores
#18  Graph DBMS
Websitewww.4d.comdb.apache.org/­derbygithub.com/­techfort/­LokiJSsurrealdb.com
Technical documentationdeveloper.4d.comdb.apache.org/­derby/­manuals/­index.htmltechfort.github.io/­LokiJSsurrealdb.com/­docs
Developer4D, IncApache Software FoundationSurrealDB Ltd
Initial release1984199720142022
Current releasev20, April 202310.17.1.0, November 2023v1.5.0, May 2024
License infoCommercial or Open SourcecommercialOpen Source infoApache version 2Open SourceOpen Source
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaScriptRust
Server operating systemsOS X
Windows
All OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
macOS
Windows
Data schemeyesyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnoyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.yesyesno
Secondary indexesyesyesyes infovia views
SQL infoSupport of SQLyes infoclose to SQL 92yesnoSQL-like query language
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
JDBCJavaScript APIGraphQL
RESTful HTTP API
WebSocket
Supported programming languages4D proprietary IDE
PHP
JavaJavaScriptDeno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresyesJava Stored ProceduresView functions in JavaScript
Triggersyesyesyes
Partitioning methods infoMethods for storing different data on different nodesnonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlUsers and groupsfine grained access rights according to SQL-standardnoyes, based on authentication and database rules

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
4D infoformer name: 4th DimensionDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBLokiJSSurrealDB
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, blogs.oracle.com

The Ultimate Open Source Database List Profiling 16 Software Tools
30 May 2019, Solutions Review

The ApacheĀ® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

SD Times Open-Source Project of the Week: SurrealDB
10 May 2024, SDTimes.com

Meet Tobie Morgan Hitchcock, CEO & Co-Founder Of SurrealDB
25 April 2024, TechRound

Cloud, privacy and AI: Trends defining the future of data and databases
27 September 2023, Sifted

SurrealDB raises $6M for its database-as-a-service offering
4 January 2023, TechCrunch

Introducing SurrealDB: A Quantum Leap in Database Technology
11 September 2023, TechRound

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Present your product here