DB2 9 Fundamentals: Certification Study Guide

DB2, formally called DATABASE 2, was born on MVS in 1983. In 1987, DB2 arrived on the Personal Computer as the Database Manager in OS/2 1.3 Extended Edition; a year later, it emerged as SQL/400 for IBM's new AS/400 server. By 1992, DB2 had become a stand-alone product on OS/2 (it now had the name DB2/2), and in 1993, DB2 appeared on AIX; this port prompted another name change, and DB2/2 became DB2 for Common Servers. New editions of DB2 were introduced on HP-UX and Solaris in 1994, on Windows in 1995, and on Linux in 1999. Along the way the name changed again, and DB2 for Common Servers became DB2 Universal Database.

DB2 9 is the latest release of IBM's popular data management software for distributed systems, and with this release comes yet another name change. Like previous versions, DB2 runs on a wide variety of platforms (AIX, HP-UX, Linux, Solaris, Windows, i5/OS, and z/OS), and several editions are available-each of which has been designed to meet a specific business need. These editions, along with an extensive suite of add-on products that provide additional storage capability and advanced connectivity, are collectively known as the DB2 Family. The editions that make up the heart of the DB2 Family are:

All of the DB2 Family editions available, along with the type of computing environment each edition is primarily designed for, can be seen in Figure 2-1.

Figure 2-1: DB2 Family Editions.

DB2 Everyplace-Database Edition and Enterprise Edition

DB2 Everyplace is a small-footprint (approximately 350 KB) relational database and a high-performance data synchronization solution that allows enterprise applications and data to be extended to mobile devices such as personal digital assistants (PDAs), handheld personal computers (HPCs), and smart phones. DB2 Everyplace can be used as a local, stand-alone database that resides on a mobile device or to access information stored on remote servers whenever a connection is available. DB2 Everyplace can also be embedded directly into mobile devices to increase their functionality.

DB2 Everyplace is available in two editions: DB2 Everyplace Database Edition and DB2 Everyplace Enterprise Edition. DB2 Everyplace Database Edition is designed to be used by Independent Software Vendors (ISVs) and application developers who wish to create powerful mobile and embedded applications that work with DB2 Everyplace database data stored directly on a mobile device. DB2 Everyplace Enterprise Edition is designed to be a complete datacentric mobile synchronization server. This secure server is responsible for managing the distribution and synchronization of data between mobile device users and back-end data sources such as DB2 9, Informix, Oracle, Sybase, and Microsoft SQL Server. (Synchronization is performed whenever a connection to the back-end data source is detected.)

DB2 Express Edition

DB2 Express Edition (or DB2 Express) is an entry-level data server that is designed to be used on microcomputers that have up to two CPUs (a dual-core processor is treated as a single CPU), have up to 4 GB of memory, and are running a supported version of Linux, Solaris, or Windows. DB2 Express contains a rich feature set that will meet the needs of most deployments; for workloads or environments that require additional functionality, add-on features are available for an additional licensing fee. Add-on features available for DB2 Express include:

DB2 Express-C

DB2 Express-C is a no-charge entry-level data server that is designed to be used on microcomputers that have up to two CPUs, have up to 4 GB of memory, and are running a supported version of Linux or Windows. DB2 Express-C is intended to be used for evaluation purposes and for the development/deployment of C, C++, Java, .NET, PHP, and XQuery applications. Essentially, DB2 Express-C is a subset of DB2 Express Edition with one exception: Where pureXML is available as an add-on feature for DB2 Express, it is included with DB2 Express-C. Features found in DB2 Express that are not available with DB2 Express-C include:

Additionally, the add-on features that are available for DB2 Express cannot be added to DB2 Express-C. If you wish to use any of those features, you must first purchase a license for DB2 Express Edition and then purchase the desired add-on features. Fortunately, DB2 Express-C can be seamlessly upgraded to DB2 Express without requiring modifications to existing databases or database applications.

DB2 Personal Edition

DB2 Personal Edition (PE) is a single-user, full-function relational database management system that is ideal for desktop or laptop-based deployments. Databases under its control can be managed remotely, making it the perfect edition for occasionally connected or remote office implementations that do not require multi-user capability.

With DB2 Personal Edition a user can create, manipulate, and administer any number of local databases; however, each database created must reside on a storage medium that is managed by the PC on which the DB2 software has been installed. Remote clients cannot access databases that are under DB2 Personal Edition's control, but PCs running DB2 Personal Edition can act as remote clients and access data stored on other DB2 servers.

DB2 Personal Edition can be deployed on any Personal Computer (PC) that is running Linux or Windows; however, you must acquire a separate license for each user who will have access to a database under its control.

DB2 Workgroup Server Edition

DB2 Workgroup Server Edition (WSE) is a multi-user, full-function client/server database management system designed to be used on microcomputers that have up to four CPUs, have up to 16 GB of memory, and are running any of the following operating systems:

DB2 Workgroup Server Edition includes all of the features of DB2 Express, while providing scalability to larger servers. As with DB2 Express, the following add-on features are available for an additional licensing fee:

With or without these features, DB2 Workgroup Server Edition is the ideal data server for small- to medium-sized business environments and departments that comprise a small number of internal users.

DB2 Enterprise Server Edition

DB2 Enterprise Server Edition (ESE) is a multi-user, full-function, Web-enabled client/server database management system that easily scales to handle high-volume transaction processing, multi-terabyte data warehouses, and mission-critical applications from such vendors as SAP. It is designed to be used on any size of server (from one to hundreds of CPUs) that is running any of the following operating systems:

DB2 Enterprise Server Edition includes all of the functionality found in DB2 Workgroup Edition, plus features that are needed to handle high user loads and provide 24x7x365 availability, including:

DB2 Enterprise Server Edition also comes packaged with a tightly integrated connectivity product (DB2 Connect) that allows it to participate in heterogeneous networks using the Distributed Relational Database Architecture (DRDA) protocol. This allows up to five users to interact with iSeries and zSeries-based DB2 databases, Informix Dynamic Server (IDS) databases, and non-database host resources such as CICS, VSAM, and IMS. (If more user connectivity is needed, you can purchase additional DB2 Connect user entitlements.)

Tip 

Distributed Relational Database Architecture (DRDA) is comprised of two distinct components: an Application Requestor (AR) and an Application Server (AS). Any client that implements an Application Requestor can connect to any server that has implemented an Application Server, and any server that implements an Application Server can be accessed by any client that has implemented an Application Requestor. Thus, if only one DRDA component has been implemented on a client or a server, communication can flow only one way. With DB2 Enterprise Server Edition, both an Application Requestor and an Application Server are implemented, so communications can flow in both directions-provided the iSeries or zSeries server that DB2 Enterprise Server Edition is attempting to communicate with also has implemented both an Application Requestor and an Application Server.

In addition to many of the add-on features available for DB2 Express and DB2 Workgroup Edition, the following add-on features are available for DB2 Enterprise Server Edition (again, for an additional licensing fee):

Designed for mid-size to large businesses, DB2 Enterprise Server Edition is the ideal foundation for building multi-terabyte data warehouses, high-availability, high-volume OLTP systems, or Web-based Business Intelligence (BI) solutions.

DB2 Data Warehouse Server Edition

DB2 Data Warehouse Edition (DWE) is the top-of-the-line DB2 Edition for dynamic data warehousing. It is designed for today's data center environments, where OLTP and decision support are merged into integrated information management systems. This integrated platform for developing warehouse-based analytics includes core components for warehouse construction and administration as well as Web-based applications with embedded data mining and multi-dimensional Online Analytical Processing (OLAP).

The core engine for DB2 Data Warehouse Edition is DB2 Enterprise Server Edition and the DB2 Data Partitioning Feature. (DB2 Enterprise Server Edition includes data warehouse enhancing features such as materialized query tables, the starburst optimizer, and multi-dimensional clusters; the DB2 Data Partitioning Feature provides increased parallelism to aid in performing administration tasks, as well as scalability to support very large databases and complex workloads.) Along with the core engine, DB2 Data Warehouse Edition is comprised of the following components:

DB2 Personal Developer's Edition

DB2 Personal Developer's Edition contains both Linux and Windows versions of DB2 Personal Edition as well as the DB2 Extenders, DB2 Connect Personal Edition, and a software development toolkit (SDK) that can be used to develop applications that interact with databases that fall under DB2 Personal Edition's control. Using the tools provided with DB2 Personal Developer's Edition, an individual application developer can design, build, or prototype single-user desktop/laptop applications that interact with DB2 9 databases, using a wide variety of methods, including:

The toolkit provided with DB2 Personal Developer's Edition contains a set of libraries and header files for each programming language supported, a set of sample programs to help with your development efforts, and an SQL precompiler/binder, which is used to pre-process source code files containing embedded SQL so that they can be compiled and linked by a conventional compiler.

It is important to note that applications developed with the toolkit provided with DB2 Personal Developer's Edition can be run on any PC on which DB2 Personal Developer's Edition or DB2 Personal Edition has been installed. However, the DB2 software provided with this edition cannot be used for production systems.

DB2 Universal Developer's Edition

DB2 Universal Developer's Edition is designed to be used by application developers who wish to design, build, and prototype applications for deployment on any of the DB2 client or server platforms available. This comprehensive package contains versions of DB2 Everyplace, DB2 Express, DB2 Personal Edition, DB2 Workgroup Server Edition, and DB2 Enterprise Server Edition (along with all of the add-on features available) for each operating system supported. It also contains DB2 Extenders, DB2 Connect Personal Edition, DB2 Connect Enterprise Edition, and a software development toolkit (the same software development toolkit that comes with DB2 Personal Developer's Edition). This toolkit can be used to develop applications that utilize the latest DB2 9 technologies available.

As with DB2 Personal Developer's Edition, the DB2 software provided with DB2 Universal Developer's Edition cannot be used to create a production database system.

DB2 Enterprise Developer's Edition

DB2 Enterprise Developer's Edition is designed to be used by application developers who wish to design, build, and prototype applications for deployment on any of the IBM Information Management client or server platforms available. This comprehensive package contains everything found in the DB2 Universal Developer's Edition, along with versions of Informix Dynamic Server (IDS) Enterprise Edition, Cloudscape, and DB2 Connect Unlimited Edition for zSeries for each operating system supported.

As with DB2 Universal Developer's Edition, the DB2 software provided with DB2 Enterprise Developer's Edition cannot be used to create a production database system.

DB2 for i5/OS

DB2 for i5/OS is an advanced, 64-bit relational database management system that leverages the On-Demand capabilities of System i, such as Dynamic Logical Partitioning to respond quickly to changing workloads in order to ensure business continuity in a dynamic environment. Unlike other DB2 editions, DB2 for i5/OS is built directly into the operating system. As a result, Version/Release naming will differ because DB2 for i5/OS follows the i5/OS version/release numbering scheme, and not the DB2 for Linux, UNIX, and Windows version/release scheme. The current level of DB2 for i5/OS is Version 5 Release 4 (V5R4).

Tip 

Since Version/Release naming conventions differ between DB2 for i5/OS and DB2 for Linux, UNIX, and Windows, you cannot assume that a comparison of version/release numbers will provide a reflection of functional equivalency.

Because of the unique architecture of IBM's System i5 and the way the DB2 database engine has been tightly integrated with the operating system, many of the traditional database-specific administration requirements associated with other database management systems either aren't necessary with DB2 for i5/OS or are provided through various operating system facilities. For example, graphical tools used to administer a DB2 for i5/OS database are provided as part of the iSeries Navigator component of the OS, whereas DB2's Control Center is used to administer DB2 editions that run on Linux, UNIX, and Windows. With iSeries Navigator, you can perform the following tasks:

DB2 for i5/OS's cost-based query optimizer, unique single-level-store architecture, and database parallelism feature allow it to scale nearly linearly within an iSeries SMP configuration. And if additional functionality is needed, there are several utilities available (including utilities for data replication, parallel processing, and query management) that either can be added to the core database functionality or included in the System i Enterprise Edition bundle.

DB2 for z/OS

DB2 for z/OS is a multi-user, full-function database management system that has been designed specifically for z/OS, IBM's flagship mainframe operating system. For over four decades the IBM mainframe has been a leader in data and transaction serving; DB2 9 for z/OS builds on the value delivered by the IBM mainframe and provides features that include:

DB2 9 for z/OS is designed to cut IT infrastructure costs significantly, streamline efforts to meet compliance obligations, and simplify data serving on the System z9 operating system.

Категории