PostgreSQL vs Microsoft SQL Server: Rating, Votes and Features

PostgreSQLMicrosoft SQL Server
Categorydatabase enginedatabase engine
DeveloperPostgreSQL Global Development GroupMicrosoft
Created byMichael Stonebraker—
First release19961989
LicensePostgreSQL LicenseProprietary
Open sourceYesNo
PricingFreeFree with paid plans
Websitehttps://www.postgresql.orghttps://www.microsoft.com/sql-server
Written inCC, C++
Data modelRelational, DocumentRelational, Graph
Storage layoutRow-orientedHybrid row and column
WorkloadTransactions (OLTP)Both (HTAP)
Analytics architectureNot an analytics platformNot an analytics platform
Query languageSQLT-SQL
ACID transactionsYesYes
SchemaStrictStrict
DeploymentServer, Managed cloudServer, Managed cloud
ScalingReplicationReplication
Create, read, update, deleteCreate: fast (Fast single and bulk inserts, COPY for loads); Read: fast (Rich indexes and a mature planner); Update: moderate (MVCC writes a new row version, vacuum cleans up); Delete: moderate (Rows are marked dead until vacuum reclaims them)Create: fast (Fast inserts, bulk copy for loads); Read: fast (Mature optimizer, row and column indexes); Update: fast (In-place updates); Delete: fast (Fast deletes, ghost cleanup in the background)