DBMS > IBM Db2 vs. PostgreSQL
System Properties Comparison IBM Db2 vs. PostgreSQL
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines|
|Name||IBM Db2 formerly named DB2 or IBM Database 2 Xexclude from comparison||PostgreSQL Xexclude from comparison|
|Description||Common in IBM host environments, 2 different versions for host and Windows/Linux||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL|
|Primary database model||Relational DBMS Since Version 10.5 support for JSON/BSON documents compatible with MongoDB||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.|
|Secondary database models||Document store|
RDF store in Db2 LUW (Linux, Unix, Windows)
Spatial DBMS with Db2 Spatial Extender
|Developer||IBM||PostgreSQL Global Development Group www.postgresql.org/developer|
|Initial release||1983 host version||1989 1989: Postgres, 1996: PostgreSQL|
|Current release||12.1, October 2016||14.4, June 2022|
|License Commercial or Open Source||commercial free version is available||Open Source BSD|
|Cloud-based only Only available as a cloud service||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|
|Server operating systems||AIX|
|Typing predefined data types such as float or date||yes||yes|
|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 specific XML-type available, but no XML query functionality.|
|SQL Support of SQL||yes||yes standard with numerous extensions|
|APIs and other access methods||ADO.NET|
JSON style queries MongoDB compatible
native C library
streaming API for large objects
|Supported programming languages||C|
|Server-side scripts Stored procedures||yes||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.|
|Partitioning methods Methods for storing different data on different nodes||Sharding only with Windows/Unix/Linux Version||partitioning by range, list and (since PostgreSQL 11) by hash|
|Replication methods Methods for redundantly storing data on multiple nodes||yes with separate tools (MQ, InfoSphere)||Source-replica replication other methods possible by using 3rd party extensions|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency|
|Foreign keys Referential integrity||yes||yes|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||ACID|
|Concurrency Support for concurrent manipulation of data||yes||yes|
|Durability Support for making data persistent||yes||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||no|
|User concepts Access control||fine grained access rights according to SQL-standard||fine grained access rights according to SQL-standard|
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||Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters|
Percona: Database problems? Not on your watch.
Databases run better with Percona.
CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
The State of PostgreSQL 2022 survey is now open!
Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
pgDash: In-Depth PostgreSQL Monitoring.
Instaclustr: Fully Hosted & Managed PostgreSQL
DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|IBM Db2 formerly named DB2 or IBM Database 2||PostgreSQL|
|DB-Engines blog posts|