DBMS > Microsoft Azure Cosmos DB vs. Microsoft SQL Server vs. MongoDB vs. SurrealDB
System Properties Comparison Microsoft Azure Cosmos DB vs. Microsoft SQL Server vs. MongoDB vs. SurrealDB
Please select another system to include it in the comparison.
Editorial information provided by DB-Engines | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Microsoft Azure Cosmos DB ![]() | Microsoft SQL Server Xexclude from comparison | MongoDB Xexclude from comparison | SurrealDB Xexclude from comparison | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | Globally distributed, horizontally scalable, multi-model database service | Microsofts flagship relational DBMS | One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure | A fully ACID transactional, developer-friendly, multi-model DBMS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Primary database model | Document store Graph DBMS Key-value store Wide column store | Relational DBMS | Document store | Document store Graph DBMS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Secondary database models | Spatial DBMS | Document store Graph DBMS Spatial DBMS | Spatial DBMS Search engine ![]() Time Series DBMS ![]() Vector DBMS ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Website | azure.microsoft.com/services/cosmos-db | www.microsoft.com/en-us/sql-server | www.mongodb.com | surrealdb.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Technical documentation | learn.microsoft.com/azure/cosmos-db | learn.microsoft.com/en-US/sql/sql-server | www.mongodb.com/docs/manual | surrealdb.com/docs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Developer | Microsoft | Microsoft | MongoDB, Inc | SurrealDB Ltd | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Initial release | 2014 | 1989 | 2009 | 2022 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current release | SQL Server 2022, November 2022 | 7.0.5, January 2024 | v1.5.0, May 2024 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
License ![]() | commercial | commercial ![]() | Open Source ![]() | Open Source | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cloud-based only ![]() | yes | no | no ![]() | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DBaaS offerings (sponsored links) ![]() Providers of DBaaS offerings, please contact us to be listed. | SQLServer Flex @ STACKIT offers a managed version of SQL Server with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant. |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Implementation language | C++ | C++ | Rust | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Server operating systems | hosted | Linux Windows | Linux OS X Solaris Windows | Linux macOS Windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data scheme | schema-free | yes | schema-free ![]() | schema-free | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Typing ![]() | yes ![]() | yes | yes ![]() | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
XML support ![]() | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Secondary indexes | yes ![]() | yes | yes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SQL ![]() | SQL-like query language | yes | Read-only SQL queries via the MongoDB Atlas SQL Interface | SQL-like query language | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
APIs and other access methods | DocumentDB API Graph API (Gremlin) MongoDB API RESTful HTTP API Table API | ADO.NET JDBC ODBC OLE DB Tabular Data Stream (TDS) | GraphQL HTTP REST Prisma proprietary protocol using JSON | GraphQL RESTful HTTP API WebSocket | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Supported programming languages | .Net C# Java JavaScript JavaScript (Node.js) MongoDB client drivers written for various programming languages Python | C# C++ Delphi Go Java JavaScript (Node.js) PHP Python R Ruby Visual Basic | Actionscript ![]() C C# C++ Clojure ![]() ColdFusion ![]() D ![]() Dart ![]() Delphi ![]() Erlang Go Groovy ![]() Haskell Java JavaScript Kotlin Lisp ![]() Lua ![]() MatLab ![]() Perl PHP PowerShell ![]() Prolog ![]() Python R ![]() Ruby Rust Scala Smalltalk ![]() Swift | Deno Go JavaScript (Node.js) Rust | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Server-side scripts ![]() | JavaScript | Transact SQL, .NET languages, R, Python and (with SQL Server 2019) Java | JavaScript | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Triggers | JavaScript | yes | yes ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Partitioning methods ![]() | Sharding ![]() | tables can be distributed across several files (horizontal partitioning); sharding through federation | Sharding ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replication methods ![]() | yes ![]() | yes, but depending on the SQL-Server Edition | Multi-Source deployments with MongoDB Atlas Global Clusters Source-replica replication | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MapReduce ![]() | with Hadoop integration ![]() | no | yes | no | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Consistency concepts ![]() | Bounded Staleness Consistent Prefix Eventual Consistency Immediate Consistency ![]() Session Consistency | Immediate Consistency | Eventual Consistency ![]() Immediate Consistency ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Foreign keys ![]() | no | yes | no ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Transaction concepts ![]() | Multi-item ACID transactions with snapshot isolation within a partition | ACID | Multi-document ACID Transactions with snapshot isolation | ACID | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Concurrency ![]() | yes | yes | yes | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Durability ![]() | yes | yes | yes ![]() | yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In-memory capabilities ![]() | yes | yes ![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
User concepts ![]() | Access rights can be defined down to the item level | fine grained access rights according to SQL-standard | Access rights for users and roles | yes, based on authentication and database rules | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
More information provided by the system vendor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microsoft Azure Cosmos DB ![]() | Microsoft SQL Server | MongoDB | SurrealDB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specific characteristics | MongoDB provides an integrated suite of cloud database and data services to accelerate... » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Competitive advantages | Built around the flexible document data model and unified API, MongoDB is a developer... » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Typical application scenarios | AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of... » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Key customers | ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,... » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Market metrics | Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month... » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Licensing and pricing models | 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, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related products and services | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3rd parties | » more | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We invite representatives of vendors of related products to contact us for presenting information about their offerings here. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
More resources | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microsoft Azure Cosmos DB ![]() | Microsoft SQL Server | MongoDB | SurrealDB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DB-Engines blog posts | MySQL is the DBMS of the Year 2019 The struggle for the hegemony in Oracle's database empire Microsoft SQL Server is the DBMS of the Year | DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending Snowflake is the DBMS of the Year 2021 PostgreSQL is the DBMS of the Year 2020 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Recent citations in the news | Microsoft Announces General Availability of Data API Builder for Azure Cosmos DB Share.Market redefines the investment experience with Microsoft Azure How to use Azure Cosmos DB in .Net Microsoft’s new DocumentDB rethinks NoSQL on PostgreSQL Crediclub saves 96% per month in audit processes and analyzes 150 meetings per hour with Azure provided by Google News | Why SQL Server Is Still Worth It The year ahead for SQL Server: Ground to cloud to fabric SQL Server 2019 installation for Lab Ola Hallengren’s SQL Server Maintenance Solution in AWS How to Recover Deleted Data from SQL Server without Backup provided by Google News | MongoDB (NasdaqGM:MDB) Sees 21% Stock Rise Over Last Month MongoDB Options Trading: A Deep Dive into Market Sentiment MongoDB Stock Analysis: Buy, Hold, or Sell? MongoDB Announces Acquisition of Voyage AI to Enable Organizations to Build Trustworthy AI Applications MongoDB shares slip following interim CFO resignation provided by Google News | SurrealDB Launches Surreal Cloud, a Fully Managed Database Service That Tackles the Complexity Issues Faced by Developer Teams SurrealDB Empowers Developers to Build Applications with the Launch of SurrealDB University SurrealDB's Surreal Cloud debuts on AWS S3 for scalable multimodel database as a service SurrealDB is helping developers consolidate their databases London-based SurrealDB secures over €18.6 million aiming to disrupt database technology provided by Google News |
Share this page