DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Microsoft SQL Server vs. PostgreSQL vs. Spark SQL

System Properties Comparison Microsoft SQL Server vs. PostgreSQL vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMicrosoft SQL Server  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionMicrosofts flagship relational DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument store
Graph DBMS
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score853.57
Rank#3  Overall
#3  Relational DBMS
Score629.41
Rank#4  Overall
#4  Relational DBMS
Score19.78
Rank#36  Overall
#22  Relational DBMS
Websitewww.microsoft.com/­en-us/­sql-serverwww.postgresql.orgspark.apache.org/­sql
Technical documentationlearn.microsoft.com/­en-US/­sql/­sql-serverwww.postgresql.org/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperMicrosoftPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation
Initial release19891989 info1989: Postgres, 1996: PostgreSQL2014
Current releaseSQL Server 2022, November 202216.2, February 20243.5.0 ( 2.13), September 2023
License infoCommercial or Open Sourcecommercial inforestricted free version is availableOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageC++CScala
Server operating systemsLinux
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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.yesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesno
SQL infoSupport of SQLyesyes infostandard with numerous extensionsSQL-like DML and DDL statements
APIs and other access methodsADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Supported programming languagesC#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Python
R
Scala
Server-side scripts infoStored proceduresTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javauser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodestables can be distributed across several files (horizontal partitioning); sharding through federationpartitioning by range, list and (since PostgreSQL 11) by hashyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesyes, but depending on the SQL-Server EditionSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnono
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardno

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
3rd partiesDBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

Navicat for SQL Server gives you a fully graphical approach to database management and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more
Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
Microsoft SQL ServerPostgreSQLSpark SQL
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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

show all

Recent citations in the news

Amazon RDS for SQL Server reduces prices on R5 and R6i Standard Edition in Asia Pacific (Osaka)
19 February 2024, AWS Blog

How SQL developers can maximize savings
15 February 2024, microsoft.com

Creating and Managing Databases Using Microsoft SQL Server
8 December 2023, New York Institute of Technology

5 Questions to Ask About Upgrading Microsoft SQL Server
8 September 2023, StateTech Magazine

How to Know When It's Time for a Microsoft SQL Server Upgrade
31 October 2023, BizTech Magazine

provided by Google News

Best of Makers: PostgreSQL Takes a New Turn
22 February 2024, The New Stack

Amazon Aurora PostgreSQL-Compatible Edition now supports PostgreSQL major version 16
31 January 2024, AWS Blog

Blog Theme - Details
14 November 2023, Oracle

Generally Available: Support for Cross Region Restore for PostgreSQL backups | Azure updates
31 January 2024, Microsoft

OCI Database: Oracle Embraces PostgreSQL
7 December 2023, InfoQ.com

provided by Google News

Run Spark SQL on Amazon Athena Spark
23 October 2023, AWS Blog

Seamless Data Analytics Workflow: From Dockerized JupyterLab and MinIO to Insights with Spark SQL
21 December 2023, Towards Data Science

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2023
12 July 2023, Simplilearn

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

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

Neo4j logo

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

Present your product here