DB2 UDB for iSeries:
V5R2 enhancements to the
iSeries' self-managing database
Doug Mack
mackd@us.ibm.com
8 2002 IBM Corporation
WEBCAST SCHEDULE
Today’s event will run one-hour long. Here are the expected times for each
segment of the webcast:
• :00 -- :05: Moderator introduces the speaker and discusses the details of the
webcast.
• :05 -- :35: Speaker delivers a PowerPoint presentation on the webcast topic.
• :35 -- :60: Moderator and speaker engage in a Q&A on the topic.
You can submit questions to the speaker at any time during the event. Just
click on the “Ask a Question” button in the lower left corner of your screen.
8 2002 IBM Corporation
TECHNICAL FAQs
Here are answers to the most common technical problems users encounter
during a webcast:
Q: Why can’t I hear the audio part of the webcast?
A: Try increasing the volume on your computer.
Q: I just entered the webcast and do not see the slide that the speaker is
referring to. What should I do?
A: The slides are constantly be pushed to your screen. You’ll should refresh (hit
F5) to view the latest slide.
If your question is still not answered, please visit the Broadcast Help page for
more information or to test your browser compatibility. Go to:
http://help.yahoo.com/help/bcst/
8 2002 IBM Corporation
DB2 UDB for iSeries
V5R2 Update
8 2002 IBM Corporation
®
ibm.com/eserver/iseries
Agenda
Background
Landscape
DB2 UDB Strategy
V5R2 Enhancements
Availability
Openness (Industry Standards/DB2 Family)
Performance
Usability
Resources
8 2002 IBM Corporation
ibm.com/eserver/iseries
The Landscape: Data Management Trends
Pervasive and the growth of XML as
the supporting standard
Support of Industry
Standards CRITICAL
Self Managing
Databases
Explosive increase in eBusiness Transactions
Linux
Data Analysis (BI/CRM)
Becoming CRITICAL
Skills are in demand
8 2002 IBM Corporation
ibm.com/eserver/iseries
IBM's Leadership in Database
IBM Invented Relational Database
IBM continually leads the industry in
Database patents
2001 WW Database Market Share*
Others
14.4%
ƒ 7 Times more than competitors COMBINED!
DB2 is a family of IBM products that run on
over twenty platforms
ƒ DB2 UDB for iSeries is built into OS/400
Sybase
Oracle
2.6%
32.0%
Microsoft
16.3%
The DB2 family has surpassed Oracle as the
leader in database marketshare
DB2 UDB for iSeries leads the industry in
support of the SQL ANSI Core '99 standard
elements
8 2002 IBM Corporation
IBM
34.6%
*Source: Based on Dataquest, May 2002 Release
ibm.com/eserver/iseries
DB2 UDB for iSeries Strategic Initiatives
Openness - Industry Standard Support
ƒ Accomodate ISVs
ƒ Portability/Compatibility
ƒ Flexibility
Continued LEADERSHIP in database technologies
ƒ Consistency across DB2 family
ƒ Shared R & D across IBM Labs
Continued Leveraging of iSeries Strengths
Conformance SubItems
–Common SQL, comon utilities
DB2 UDB for iSeries V5R2
83.5
DB2 UDB for iSeries V5R1
74.5
Microsoft SQL Server 2000
58
Oracle 8i
63.5
ƒ Availability
0
ƒ Scalability
10
20
30
40
50
60
SQL Core Standard Items
ƒ Usability - Total Cost of Ownership
–For example: Query Optimizer DESIGNED for Low TCO
ƒ Application Flexibility
8 2002 IBM Corporation
70
80
90
ibm.com/eserver/iseries
OS/400 Database History Lesson
1970
Codd Invents RDBMS
1973
System R Project
1980
S/38 Delivered with
RDBMS Based on
System R
1988
IBM Defines COMMON
SQL Language
1988
AS/400 Delivered with
SQL/400
1995/96
SQL Optimization
Referential Integrity
DRDA DUW
Net.Data
Triggers
Long Names
Stored Procedures
SMP Parallelism
+++
1997/98
Cluster parallelism
Data mining
Parallel Index Build
UCS-2
BI Solutions
Dynamic Bitmaps
Encoded Vector
Indexes
Parallel Data Loader
+++
1995: RDBMS is
named DB2/400
2001
SQLTriggers
Database Navigator
1999/2000
Generate SQL
Large Objects
2G LOBs
SQLJ
1TB tables
Data Links
ODBC 3.5
UDTs, UDFs
DB2 Extemders
Op Nav Performance Monitor
DB2 OLAP
Visual Explain
Java (tm) Stored Procedures
+++
2002/3
Self Optimizing Query Engine
Migration Toolkits
Multiple Name Spaces
Switchable Disk Clustering
Index Advisor
1997:
Renamed to New Statistics Manager
DB2 UDB
Adaptive e-Business Transaction
Services
Enhanced DB2 Family Compatibility
Add'l SQL Standards Support
8 2002 IBM Corporation
ibm.com/eserver/iseries
DB2 UDB Extenders: XML Extender - 5722-DE1
Application
DAD
(Data Access
Definition)
DB2 XML
Extender
DB2
XML
Collection
XML
Column
user table
book
XML
DOC
XML
DOC
XML column
Store and retrieve entire XML documents as DB2 column data
XML data represented by XML column
XML collection
Decompose XML document into a collection of relational tables
Compose XML documents from a collection of relational tables
8 2002 IBM Corporation
ibm.com/eserver/iseries
DB2 UDB Symmetric MultiProcessing Feature
Parallel Methods
M
E
M
O
R
Y
QUERY
SQL
– Parallel table scan
– Parallel index scan
– Parallel hash join
– Parallel hash group by
– Parallel index build
– Parallel data load
–Parallel index ANDing/ORing of
dynamic bit maps
–Parallel index maintenance
– Parallel Encoded Vector Index
–Parallel I/O
–Parallel recovery
–Parallel Reorganize
Single Level Storage
IOP
IOP
IOP
IOP
IOP
IOP
IOP
Cust #1
Cust #2
Cust #3
Cust #4
Cust #5
Cust #6
Cust #7
8 2002 IBM Corporation
ibm.com/eserver/iseries
Encoded Vector Indexing (EVIs)
Indexing technology that can significantly improve performance, especially for star schema
ƒ 10% to 30% faster index builds
ƒ 1/3 to 1/16 the size
ƒ 1/2 the time for index scans
350 GB Table Query
ƒ 1/3 the time for bit map generation
4 Table Join (Star Schema)
Symbol Table
Code
Arizona
Arkansas
......
Virginia
Wyoming
1
2
37
38
First
Row
1
5
Last
Row
80005
99760
1222
7
350
Count
300
5000
7300
30111
83000
340
2760
13
12
28
2
200
150
100
Vector
1
4.8 Hours
250
T ime (Min u tes)
Key Value
17
38
2
26
33
29
Minutes
50
3 Min.
0
Pre EVI
(S40-12)
Row 1 Row 2
....
8 2002 IBM Corporation
740-12
EVI-Stage 2
740-12-V4R4
ibm.com/eserver/iseries
DB2 UDB for iSeries
V5R2 Enhancements - Overview
Performance
e-Infrastructure/EAS: Application
Availability/Portability
Enhanced Support for the SQL Industry Standard
Transaction Services
Enhanced DB2 UDB Family Compatibility*
Improved EVI Maintenance
Journal Caching
Database Availability
Server Consolidation
Switchable Disk Clustering with Independent
ASP Support
Partial Rollback
DB2 UDB in Linux
Database Migration Toolkits/Services
Multiple Database Name Support
ƒ
Transaction Services - WebSphere
Query Optimizer Statistics Engine - BI, SQL
ƒ
Independent ASPs
Savepoints
Usability
Operations Navigator Enhancements
DB2 OLAP
ƒ
Data Mining
SQL Enhancements for Traditional
Programmers
Migrate legacy programmers to SQL
* This does not imply 100% Compatibility across all DB2 UDB Family Members
ƒ
8 2002 IBM Corporation
ibm.com/eserver/iseries
Open Standard(s)/SQL Support/DB2 Compatibility
JDBC V3.0 (native and Linux)
CLI Enhancements
User Defined Table Functions
SQL Statement Length expanded to 64K
Improved DB2 XML Extender Performance
Identity Column (auto incrementing)
ROWID Column type
System wide Unique Row Identifier
UNION in a view
Global Temp Tables
PSM Improvements
Iterate
Nested Compound Statements
Remote Result Set Support (CLI and JDBC)
DRDA compatiblity - retrieve results sets from
production system
Savepoints (DB2 compatibility)
SQL Syntax to create in QTEMP - more industry
New Database Catalog Views for ODBC/JDBC
standard
New Transaction Services
(DB2 Compatibility)
XA and JTA (Java Transaction API)
8 2002 IBM Corporation
ibm.com/eserver/iseries
Enhancements for traditional DB programmers
 Field Reference File constructs for SQL
 SET SCHEMA - Change Library List via SQL
 Remove requirement for C Compiler or SQL Development Kit
 SQL Stored procedures or Triggers
 SQL Source Debugger
8 2002 IBM Corporation
ibm.com/eserver/iseries
Performance
Transaction Services
Open Standard
XA and JTS (Java Transaction Services API)
Improved e-Business Apps
1
Server Job 1
Appli
catio
n
Serv
er
iSeries
Connecti
on
Manage
ment
WebSphere
Database Technology Enhancements
Enhanced performance and recovery options
for DB2 UDB access path protection
5
1000s of clients
Object-oriented query optimizer that lays
foundation for self-learning query optimizer
Streamlined data access for SQL interfaces
V5R2 Performance Gains
Limited to certain SQL operations
8 2002 IBM Corporation
Transaction
Objects
Server Job m
DB2 UDB for
ISeries
ibm.com/eserver/iseries
Availability: Switched Disk Clustering
System
Data
System
Data
Switched Disk
IFS
UDFS
DB2
Store_1
DB2
Store_2
Archive
Store_1
Archive
Store_2
DB2
Store_3
High Availability Flexibility
Switchable Disks for scheduled maintenance
NOT a replacement for H/A Solutions
Multiple Relational Databases on a single iSeries
Multiple Namespaces
Consolidate Servers while maintaining separate, regional databases
8 2002 IBM Corporation
ibm.com/eserver/iseries
iSeries Navigator Enhancements
To DBA or not to DBA
SQL Tuning Enhancements
Enhanced Visual Explain
Index Advisor
ƒ Better direct advice behind graphical explain functions
ƒ Print SQL Information (PRTSQLINF)
ƒ
Statistics Engine
Stats Collection Management Facility
ƒ Collect Stats in Background
ƒ
Database Modeling Enhancements
Enhanced Database Navigator
More complex data models can be displayed and
support for Triggers have been added
Database Configuration Enhancements
Remote Database Directory
ƒ
Configure DRDA Servers
Independent ASP Support
Improved Commitment Control Definitions
8 2002 IBM Corporation
ibm.com/eserver/iseries
DB2 UDB for iSeries: Autonomic Computing
Self Configuring
ƒ No Installation required
ƒ No Tablespace, data partitioning, management of buffers
–No Data Hot Spots
Self Healing
ƒ
ƒ
ƒ
ƒ
Systems Managed Access Path Protection
Self Managed Database Logging
Auto Index Rebalancing
Database Locking Issues (Oracle FUD)
Self Tuning
ƒ Auto Tuner, Sophisticated Cost Based Query Optimizer
ƒ Automatic Index Advisor
Self Protecting
ƒ Object Based Kernel in OS/400
8 2002 IBM Corporation
M
E
M
O
R
Y
QUERY
SQL
Single Level Storage
IOP
IOP
IOP
IOP
IOP
IOP
IOP
Cust #1
Cust #2
Cust #3
Cust #4
Cust #5
Cust #6
Cust #7
ibm.com/eserver/iseries
DB2 OLAP Database Utility for Reporting Systems - V8
OLAP is OnLine Analytical Processing
DB2 OLAP is a utility to create, build, load and maintain high
performance reporting databases providing
Provides "speed of thought" Query Response Times
No complex query language or database knowledge required
DB2 OLAP is based on OPEN Standards
Accomodate just many End User Interfaces
Executive Information Systems
ƒ Spreadsheets
ƒ Portals
ƒ
OLAP Mining
Delivered via PTF to V7
V8 Just Delivered
Hybrid Relational and Multi-Dimensional OLAP
Performance - Parallel cube loads/calcs
Heterogeneous Data Extracts
8 2002 IBM Corporation
ibm.com/eserver/iseries
DB2 UDB in Linux
DB2 UDB for Unix/Windows/Linux
IBM Statement of Direction
WorkGroup Edition
Entry Level Pricing
OS/400
OS/400
Linux
Enterprise Edition Edition
More function bundled in
DB2 UDB DB2 UDB
for iSeries
Beta Program Commencing 1Q 2003
Connecting to DB2 UDB for iSeries
DB2 Connect, JDBC, ODBC
Data Propagator
DPropR
8 2002 IBM Corporation
DB2
Connect
Linux
ibm.com/eserver/iseries
Database Migration Utilities
Services and Toolkits
Oracle Migration Toolkit
No Charge Migration Utility
Q4 2002 Availability
Downloadable
ƒ
http://www-919.ibm.com/servers/eserver/iseries/developer/db2/porting.html
Converts to DB2 UDB for iSeries
Data Type Conversion
Stored Procedure, Trigger Conversion
Custom Technology Center Services RECOMMENDED
Not a 100% Conversion utility
SQLServer to DB2 Migrations
www.ibm.com/servers/eserver/iseries/service/ctc
8 2002 IBM Corporation
DB2 UDB for iSeries Product Offerings
Feature
Function
Delivery
Mechanism
Benefit
When to use
DB2 UDB for iSeries
Relational Database, SQL Engine,
Database Interfaces, Operations
Navigator
Included in
OS
World Class
Relational
Database
Never Stop! Included with
every system
DB2 Symmetric
Multiprocessing
Allows database tasks to be run in
parallel across an N-way system -
Chargable
Feature of
OS/400
SQL/Query
Performance
On any N-way
configuration
DB2 Multi-System
Allows you to split records from a
Chargeable
single table(physical file) across
Feature of
multiple systems. Database
OS/400
Partitioning feature ala DB2 UDB EEE
Scalability of
Database,
Enterprise
view of data
across
multiple
regions
Large Data warehouses or
Customers wanting
single view of data across
multple regions running
common applications
Remote Journaling
Store Database Log Files on remote
system
Replicate data When customer needs to
to remote
create second database
systems
(for backup, or data
replication) with minimal
impact to production
envrionment
QMF for Windows
Query/400-like capability in Windows Chargeable
environment. Import Query/400
iSeries
directly in QMF formats. Compatibility Feature
with other DB2 family members.
Included in
OS
Common
Query tool for
multiple DB2
UDBs
Low Cost tool - consider
including in every config
DB2 UDB for iSeries Product Offerings
Feature
Function
Data Propagator Capture
and Apply
Replicate Data between iSeries
systems - requires journaling (or
remote journaling) for CHANGED
DATA ONLY replication
DB2 Text/XML Extender
Programming interfaces for
developing applications using
DB2-XML interchange or Text
Search Capabilities
Database Utility to build high
performance reporting repositories
DB2 OLAP
Delivery
Mechanism
Chargeable
iSeries
Product
Benefit
When to use
Replicate Data
across DB2
Family
Members
Data Replication req'd for
variety of reasons (data
warehouse, web,
consolidated databases)
Chargable
iSeries
Product
Programming
Enablers
For Application
Developers
SWG
Passport
Advantage
Product
Better response
times in
complex data
analysis
Business Intelligence Executive Information
Systems
Financial
Analysis/Budgeting
CRM Analytics - WITH
EVERY H/A SALE
Requirement for QM
compatibility; application
development
environments
Query Manager and SQL
Development Toolkit
5250 based offering providing (1)
Chargeable
forms oriented query building
iSeries
facility (2) interactive SQL
Product
scripting, and (3) SQL pre-compiler
for applications written with
embedded SQL
Commonality
with OS/390
QMF products,
interactive SQL
Scripting
Interface for
development
Web Query Tool
Web based Query tool.
Pure web based If web based query
solution. Low
capability is required.
Cost query.
SWG
Passport
Advantage
Product
ibm.com/eserver/iseries
DB2 UDB For iSeries Information
Deliverables:
DB2 UDB for iSeries CD
–http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi
DB2 UDB for iSeries New and Enhanced Utilities
DB2 UDB for iSeries Frequently Asked Questions
DB2 UDB for iSeries Business Intelligence Concepts (Updated)
"Got Those Query Blues?" Paper
iSeries Nation and DB2 UDB for iSeries Home Page Websites (Updated)
DB2 UDB Common SQL Comparison Document
8 2002 IBM Corporation
ibm.com/eserver/iseries
Additional Resources
DB2 UDB for iSeries Home Page
http://www.ibm.com/servers/eserver/iseries/db2
DB2 UDB for iSeries Frequently Asked Questions
http://www.ibm.com/servers/eserver/iseries/db2/db2faq.htm
DB2 UDB for iSeries Overview White Paper
http://www.ibm.com/servers/eserver/iseries/db2/overview.htm
DB2 UDB Family Compatibility
http://www.iseries.ibm.com/developer/db2/downloads/cpsqlref.pdf
DB2 UDB Family Common Utilities
http://www.ibm.com/servers/eserver/iseries/db2/db2udbprod.htm
iSeries Navigator On-line Tutorials
http://www.as400.ibm.com/developer/education/ibo/view?biz.html
DB2 UDB for iSeries On-Line Education
http://www.iseries.ibm.com/developer/education/ibo/curr.html?apdv
8 2002 IBM Corporation
ibm.com/eserver/iseries
Trademarks and Disclaimers
8 IBM Corporation 1994-2002. All rights reserved.
References in this document to IBM products or services do not imply that IBM intends to make them available in every country.
The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:
AS/400
AS/400e
e (logo) business
IBM
IBM(logo)
iSeries
OS/400
Lotus, Freelance Graphics, and Word Pro are registered trademarks of Lotus Development Corporation and/or IBM Corporation.
Domino is a trademark of Lotus Development Corporation and/or IBM Corporation.
C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC.
Other company, product and service names may be trademarks or service marks of others.
Information is provided "AS IS" without warranty of any kind.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance
characteristics may vary by customer.
Information in this presentation concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not
constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and
vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the
capability of non-IBM products should be addressed to the supplier of those products.
All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized
reseller for the full text of the specific Statement of Direction.
Some information in this presentation addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or
delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment
and development activities as a good faith effort to help with our customers' future planning.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary
depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no
assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.
Photographs shown are of engineering prototypes. Changes may be incorporated in production models.
8 2002 IBM Corporation
Questions
To ask a question, simply click on the "Ask
a Question" button in the bottom left
corner of the presentation screen. Doug
will get to those questions shortly after the
event. Your questions will be answered and
posted on the Search400.com site.
8 2002 IBM Corporation