Skip to main content
The 2024 Developer Survey results are live! See the results

Db2 is a family of relational database management servers developed by IBM. It runs on multiple platforms, including Unix (namely AIX), Linux, IBM i (formerly OS/400), z/OS and Windows.

Db2 (formerly known as DB2) is a family of database servers developed by IBM. The supported platforms for Db2 servers are z/OS (formerly OS/390), Linux, UNIX, and Windows (referred to collectively as Db2 for LUW), and IBM i (formerly OS/400 or i5/OS). Originally designed as a relational engine, IBM has expanded Db2's capabilities on some platforms to include native XML database features and an RDF-compliant graph store. On the IBM i platform, Db2 for i is tightly integrated into the operating system in a variety of ways, including a unique file system layer that allows database tables to be treated as structured files and vice versa.

Db2 for LUW has different editions: Express-C (discontinued), Developer Edition, Express Edition, Workgroup Server Edition, Enterprise Server Edition and Advanced Enterprise Server Edition. Each of these editions has different engine capabilities and different limits on the amount of RAM and the number of CPU cores that Db2 can use. Db2 for LUW offers a smooth upgrade path for databases that were created in a lower edition of the product (e.g., going from Workgroup Server Edition to Enterprise Server Edition).

DB2 Express-C is a no-cost Db2 engine that runs on Linux and Windows and is authorized for production use and redistribution. As part of the Db2 10.5 release in June 2013, IBM extended the system resource limits for Db2 Express-C to allow the database engine to use up to 16GB RAM and two CPU cores, and set a maximum size of 15 terabytes per database.

In October 2009, IBM introduced Db2 pureScale, a shared storage database cluster solution for AIX on System p, suitable for online transaction processing (OLTP) workloads. Linux x86_64 support for Db2 pureScale on IBM System x hardware was added in August 2010. IBM based the design of Db2 pureScale on the Parallel Sysplex implementation of Db2 data sharing on z/OS. Db2 pureScale provides a fault-tolerant, clustered database engine that uses low-latency RDMA messaging and GPFS shared storage to present the appearance of a single, monolithic database to the application layer.

To handle large data volumes and complex queries that are common to online analytical processing (OLAP), Db2 for LUW provides a shared-nothing clustering implementation known as the database partitioning feature (DPF), which uses hash key partitioning to evenly distribute a single copy of the database across multiple servers. Incoming queries are automatically multiplexed to access multiple partitions in parallel. DPF was introduced in 1994, as was at times rebranded as Db2 Parallel Edition, Db2 Extended Enterprise Edition, or InfoSphere Warehouse.

Free Db2 Books