Top 5 New DB2 10 for z/OS Features Aimed at SAP ApplicationsSeptember 21, 2010 As IBM draws ever nearer to announcing an availability date for DB2 10 for z/OS, the list of new features has solidified. This months article examines the top five features aimed specifically at SAP applications running under DB2 for z/OS. As IBM draws ever nearer to announcing an availability date for DB2 10 for z/OS, the list of new features has solidified and its possible for specific types of user to begin the process of evaluating just what will be of benefit to them. SAP remains a vital strategic partner for IBM, and DB2 10 has a large number of features aimed specifically at SAP applications running under DB2 for z/OS. In this months piece, well examine my top five. 64-Bit ExploitationIn DB2 Version 8, IBM embarked upon a major project to transform DB2 into a 64-bit RDBMS, removing many of the addressability issues inherent in the previous 31-bit memory model. DB2 Version 8 also moved several key storage areas above the 2GB bar into the newly-addressable memory space, relieving some of the storage constraints and allowing more workload per DB2 subsystem. DB2 9 increased scalability by a further 10 percent to 15 percent by moving another set of storage areas above the bar, but even with those enhancements, most customers have been limited to running a maximum of 400-500 concurrent active connections within each DB2 system. As a result, many DB2 data sharing customers were forced to use more DB2 members than otherwise necessary in order to support their workloads. Although DB2s industry-leading data sharing architecture minimizes the processing overheads, each additional member will impact overall performance and resource usage. Figure 1 below shows a typical scenario for a SAP environment. In this example, a data sharing group consisting of four DB2 members is used in order to support 1,600 concurrent threads from four SAP application servers.
In DB2 10, IBM has completed the bulk of the remaining work in the 64-bit migration effort, with 80 percent to 90 percent of the remaining DB2 storage structures moving above the bar. This has enabled a spectacular increase in the number of threads that can be supported by a single subsystem most customers will be able to achieve 5-10 times the number of concurrent connections compared to DB2 9. This will allow many customers to reduce the number of DB2 members needed to support their workloads, resulting in net CPU and memory savings and improving application performance. Figure 2 below shows that the same 1,600 thread workload can be handled by just two DB2 subsystems, with significant scope for additional workload growth (initial SAP benchmarks show 2,500 threads per DB2 system is sustainable).
DB2 Catalog RestructureThe Catalog and Directory are some of the most vital components in any DB2 system. They contain a set of tables and internal structures that represent all of the metadata necessary for the subsystem to operate, and is used extensively by nearly every DB2 process from application programs to DBAs creating a new database. DB2 10 includes some important enhancements to the Catalog, which will be very welcome to SAP users. These include:
Contention between various processes needing to read/update the Catalog can cause significant operational disruption. As part of the same change, the converted Catalog tables have been spread across many more table spaces than before, and row level locking has been implemented to allow DB2 10 to support much higher levels of current access than was previously possible.
Anyone that has ever worked with SAP on DB2 for z/OS knows that it requires a very large number of DB2 objects to be created (and changed during SAP upgrades), and there can be catalog contention issues if several streams of DDL are running at the same time. The enhancements in DB2 10 promise to significantly reduce the frequency and impact of these issues. PerformanceAny new release of DB2 is expected to deliver some performance benefits, but DB2 10 has the most comprehensive and easily accessible package of enhancements of any release in the past 20 years. Here are a few that are of especial interest to SAP users:
DB2 previously updated indexes sequentially but in DB2 10, it is able to overlap the I/O operations for index updates, reducing the elapsed time for these processes. In common with other parallel activities, reduced elapsed time is usually achieved at the cost of an increase in overall CPU time, but in this case, the overhead is very small and eligible for offload to a zIIP engine if one is available.
MEMBER CLUSTER for UTS TablespacesSAP has aggressively adopted the new Universal Tablespace Partition by Growth (UTS BPG) format introduced in DB2 9. This led to many productivity benefits, with SAP DBAs having to spend less time manually managing space allocations for rapidly growing tables. However, UTS tablespaces did not previously support the MEMBER CLUSTER option, which can be very important in a data sharing environment to reduce space-map contention during high INSERT activity. This meant that the poor DBAs had to convert many tables back to traditional partitioned format (using unload/drop/ create/reload as there was no ALTER support to move from UTS to partitioned). DB2 10 allows MEMBER CLUSTER to be used for UTS tablespaces, removing the need to move back to the traditional partitioned format and saving a lot of DBA time in the process. SAP DSNZPARM SupportSAP can be a demanding application, and comes with some very specific requirements for the way in which the supporting DB2 for z/OS system is installed and configured. Previously, this required the DB2 systems programmer to work through a long list of DSNZPARM and other system settings to ensure that the system was configured according to SAPs specifications. DB2 10 introduces a new install CLIST input member (called DSNTIDXB) which contains the SAP-recommended settings for DSNZPARMs, buffer pools and other configuration information. This will allow new SAP DB2 systems to be installed and configured much more rapidly than before. Useful Links |