DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > BaseX vs. Kdb vs. MongoDB vs. Spark SQL

System Properties Comparison BaseX vs. Kdb vs. MongoDB vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonKdb  Xexclude from comparisonMongoDB  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.High performance Time Series DBMSOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelNative XML DBMSTime Series DBMS
Vector DBMS
Document storeRelational DBMS
Secondary database modelsRelational DBMSSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.73
Rank#142  Overall
#4  Native XML DBMS
Score7.55
Rank#53  Overall
#3  Time Series DBMS
#1  Vector DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score18.96
Rank#33  Overall
#20  Relational DBMS
Websitebasex.orgkx.comwww.mongodb.comspark.apache.org/­sql
Technical documentationdocs.basex.orgcode.kx.comwww.mongodb.com/­docs/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperBaseX GmbHKx Systems, a division of First Derivatives plcMongoDB, IncApache Software Foundation
Initial release20072000 infokdb was released 2000, kdb+ in 200320092014
Current release10.7, August 20233.6, May 20186.0.7, June 20233.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoBSD licensecommercial infofree 32-bit versionOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageJavaqC++Scala
Server operating systemsLinux
OS X
Windows
Linux
OS X
Solaris
Windows
Linux
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemeschema-freeyesschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yes
Typing infopredefined data types such as float or dateno infoXQuery supports typesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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.yesno
Secondary indexesyesyes infotable attribute 'grouped'yesno
SQL infoSupport of SQLnoSQL-like query language (q)Read-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like DML and DDL statements
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
HTTP API
JDBC
Jupyter
Kafka
ODBC
WebSocket
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
C
C#
C++
Go
J
Java
JavaScript
Lua
MatLab
Perl
PHP
Python
R
Scala
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
Java
Python
R
Scala
Server-side scripts infoStored proceduresyesuser defined functionsJavaScriptno
Triggersyes infovia eventsyes infowith viewsyes infoin MongoDB Atlas onlyno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioningSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.yes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replicationMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono infosimilar paradigm used for internal processingyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Foreign keys infoReferential integritynoyesno infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writernoMulti-document ACID Transactions with snapshot isolationno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsrights management via user accountsAccess rights for users and rolesno
More information provided by the system vendor
BaseXKdbMongoDBSpark SQL
Specific characteristicsIntegrated columnar database & programming system for streaming, real time and historical...
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesprovides seamless scalability; runs on industry standard server platforms; is top-ranked...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariostick database streaming sensor data massive intelligence applications oil and gas...
» more
AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersGoldman Sachs Morgan Stanley Merrill Lynch J.P. Morgan Deutsche Bank IEX Securities...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricskdb+ performance and reliability proven by our customers in critical infrastructure...
» more
Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsupon request
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

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

More resources
BaseXKdbMongoDBSpark SQL
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

XML Injection Attacks: What to Know About XPath, XQuery, XXE & More
18 May 2022, Hashed Out by The SSL Storeā„¢

9 Skills You Need to Become a Data Engineer
2 November 2022, KDnuggets

provided by Google News

Turbocharging the Engine: KX Unleashes AI-First Transformation with kdb+
28 February 2024, businesswire.com

KX JOINS SNOWFLAKE PARTNER NETWORK
27 June 2023, PR Newswire

Introducing Amazon FinSpace with Managed kdb Insights, a fully managed analytics engine, commonly used by capital ...
18 May 2023, AWS Blog

McLaren Applied and KX partner to enhance ATLAS software analytics capabilities
9 August 2023, Professional Motorsport World

KX Brings the Power and Performance of Kdb+ to Python Developers With PyKX
8 June 2023, AiThority

provided by Google News

Redefining generative AI: Fireworks AI and MongoDB's collab
3 May 2024, SiliconANGLE News

MongoDB, Inc. (NASDAQ:MDB) Shares Acquired by Truist Financial Corp
5 May 2024, Defense World

Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock | Amazon Web ...
2 May 2024, AWS Blog

MongoDB Launches Program to Help Enterprises Implement GenAI
2 May 2024, PYMNTS.com

MongoDB Launches 'One-Stop-Shop' Program For Building Advanced GenAI Applications
1 May 2024, CRN

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

provided by Google News



Share this page

Featured Products

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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