DBMS > MySQL vs. PostgreSQL vs. SwayDB
System Properties Comparison MySQL vs. PostgreSQL vs. SwayDB
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines|
|Name||MySQL Xexclude from comparison||PostgreSQL Xexclude from comparison||SwayDB Xexclude from comparison|
|Description||Widely used open source RDBMS||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage|
|Primary database model||Relational DBMS Key/Value like access via memcached API||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Key-value store|
|Secondary database models||Document store||Document store|
|Developer||Oracle since 2010, originally MySQL AB, then Sun||PostgreSQL Global Development Group www.postgresql.org/developer||Simer Plaha|
|Initial release||1995||1989 1989: Postgres, 1996: PostgreSQL||2018|
|Current release||8.0.21, 2020||12.3, May 2020|
|License Commercial or Open Source||Open Source GPL version 2. Commercial licenses with extended functionallity are available||Open Source BSD||Open Source GNU Affero GPL V3.0|
|Cloud-based only Only available as a cloud service||no||no||no|
|DBaaS offerings (sponsored links) Database as a Service|
Providers of DBaaS offerings, please contact us to be listed.
|Implementation language||C and C++||C||Scala|
|Server operating systems||FreeBSD|
|Typing predefined data types such as float or date||yes||yes||no|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||yes||yes specific XML-type available, but no XML query functionality.||no|
|SQL Support of SQL||yes with proprietary extensions||yes standard with numerous extensions||no|
|APIs and other access methods||ADO.NET|
Proprietary native API
native C library
streaming API for large objects
|Supported programming languages||Ada|
|Server-side scripts Stored procedures||yes proprietary syntax||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||no|
|Partitioning methods Methods for storing different data on different nodes||horizontal partitioning, sharding with MySQL Cluster or MySQL Fabric||partitioning by range, list and (since PostgreSQL 11) by hash||none|
|Replication methods Methods for redundantly storing data on multiple nodes||Multi-source replication|
|Source-replica replication other methods possible by using 3rd party extensions||none|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||no||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency||Immediate Consistency|
|Foreign keys Referential integrity||yes not for MyISAM storage engine||yes||no|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID not for MyISAM storage engine||ACID||Atomic execution of operations|
|Concurrency Support for concurrent manipulation of data||yes table locks or row locks depending on storage engine||yes||yes|
|Durability Support for making data persistent||yes||yes||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||yes||no||yes|
|User concepts Access control||Users with fine-grained authorization concept no user groups or roles||fine grained access rights according to SQL-standard||no|
More information provided by the system vendor
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services|
|3rd parties||General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.|
CData: Connect to Big Data & NoSQL through standard Drivers.
Datadog: Improve MySQL performance by visualizing and identifying errors fast using granular, out-of-the-box dashboards.
Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
Azure Database for MySQL provides fully managed, enterprise-ready community MySQL database as a service
|Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service|
pgDash: In-Depth PostgreSQL Monitoring.
2ndQuadrant: Mission Critical Databases.
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
MySQL is the DBMS of the Year 2019 MariaDB strengthens its position in the open source RDBMS market The struggle for the hegemony in Oracle's database empire
MariaDB strengthens its position in the open source RDBMS market The struggle for the hegemony in Oracle's database empire
The struggle for the hegemony in Oracle's database empire
PostgreSQL is the DBMS of the Year 2018
|Conferences and events|
PostgreSQL Online Trainings
|Recent citations in the news|
ScaleFlux computational storage makes Percona MySQL faster
Best data management course deal: 95% off MySQL bootcamp (UK deal)
The AWS Serverless LAMP Stack: the Future of PHP or Vendor Lock-in?
Impact of COVID-19 Outbreak on MySQL Training Service Market is to Witness Significant Growth between 2020-2026 with leading players – Oracle, Udemy, Pluralsight, Infopro Learning
Where Dark Reading Goes Next
provided by Google News
Swarm64 Announces Strategic Partnership With Command Prompt, Inc.
Crunchy Certified PostgreSQL 12 Achieves In Evaluation Status for Common Criteria Certification
maintain a postgresql database using osm2pgsql - Linux & Unix
PostgreSQL Multi-Model Graph Extension Announced
provided by Google News
Loss Prevention Specialist Greater Richmond, VA Area
Loss Prevention Specialist
Entry Level Data Analyst Position
Jr. Web Developer
Data Engineer - Contract/Freelance
Dynamic Recitation Developer
Jr. QA Analyst Trainee
Database Developer w/strong Postgres Skills-3
Data Technician (Full- or Part-Time)
Share this page