100% found this document useful (4 votes)
33 views105 pages

Functions-4117176: Download PDF

The document is an ebook titled 'DB2 OLAP Server V8.1: Using Advanced Functions' by Corinne Baragoin and IBM, focusing on enhancing OLAP cube scalability and managing multiple OLAP servers. It covers advanced analytical, enterprise, and administrative functions, along with case studies and implementation strategies. The ebook is available for download in PDF format and is part of a broader collection of IBM technical resources.

Uploaded by

qxtyvat5386
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
33 views105 pages

Functions-4117176: Download PDF

The document is an ebook titled 'DB2 OLAP Server V8.1: Using Advanced Functions' by Corinne Baragoin and IBM, focusing on enhancing OLAP cube scalability and managing multiple OLAP servers. It covers advanced analytical, enterprise, and administrative functions, along with case studies and implementation strategies. The ebook is available for download in PDF format and is part of a broader collection of IBM technical resources.

Uploaded by

qxtyvat5386
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 105

(Ebook) DB2 OLAP Server V8.

1 : using advanced functions


by Corinne Baragoin; International Business Machines
Corporation. International Technical Support Center ISBN
9780738427096, 0738427098 Pdf Download

https://ebooknice.com/product/db2-olap-server-v8-1-using-advanced-
functions-4117176

★★★★★
4.8 out of 5.0 (65 reviews )

DOWNLOAD PDF

ebooknice.com
(Ebook) DB2 OLAP Server V8.1 : using advanced functions by
Corinne Baragoin; International Business Machines
Corporation. International Technical Support Center ISBN
9780738427096, 0738427098 Pdf Download

EBOOK

Available Formats

■ PDF eBook Study Guide Ebook

EXCLUSIVE 2025 EDUCATIONAL COLLECTION - LIMITED TIME

INSTANT DOWNLOAD VIEW LIBRARY


We believe these products will be a great fit for you. Click
the link to download now, or visit ebooknice.com
to discover even more!

(Ebook) WebSphere solution guide : WebSphere Application Server-


Express, version 5.0 by Rufus Credle; International Business
Machines Corporation. International Technical Support
Organization.; et al ISBN 9780738429489, 0738429481
https://ebooknice.com/product/websphere-solution-guide-websphere-
application-server-express-version-5-0-4122826

(Ebook) VSAM demystified by Dave Lovelace; International


Business Machines Corporation. International Technical Support
Organization.; et al ISBN 9780738453231, 0738453234

https://ebooknice.com/product/vsam-demystified-4122736

(Ebook) IBM SAN survival guide by Jon Tate; International


Business Machines Corporation. International Technical Support
Organization.; et al ISBN 9780738454337, 0738454338

https://ebooknice.com/product/ibm-san-survival-guide-4118764

(Ebook) IBM tools : CICS Performance Monitor V1.1 by Chris


Rayns; International Business Machines Corporation.
International Technical Support Organization.; et al ISBN
9780738429298, 0738429295
https://ebooknice.com/product/ibm-tools-cics-performance-
monitor-v1-1-4118770
(Ebook) Introduction to grid computing with Globus by Luis
Ferreira; International Business Machines Corporation.
International Technical Support Organization.; et al ISBN
9780738499888, 0738499889
https://ebooknice.com/product/introduction-to-grid-computing-with-
globus-4118982

(Ebook) IBM Tivoli storage area network manager : a practical


introduction by Charlotte Brooks; International Business
Machines Corporation. International Technical Support
Organization.; et al ISBN 9780738499970, 0738499978
https://ebooknice.com/product/ibm-tivoli-storage-area-network-manager-a-
practical-introduction-4118766

(Ebook) Patterns on z/OS : connecting self-service applications


to the enterprise by Franck Injey; International Business
Machines Corporation. International Technical Support
Organization.; et al ISBN 9780738426259, 0738426253
https://ebooknice.com/product/patterns-on-z-os-connecting-self-service-
applications-to-the-enterprise-4120146

(Ebook) High Availability and Scalability Guide for DB2 on


Linux, Unix, and Windows: international technical support
organization, September 2007 by IBM Redbooks ISBN 9780738488974,
0738488976
https://ebooknice.com/product/high-availability-and-scalability-guide-for-
db2-on-linux-unix-and-windows-international-technical-support-organization-
september-2007-1397612

(Ebook) Using Oracle Solutions on Linux for System Z by


International Business Machines Corporat ISBN 9780738485980,
0738485985

https://ebooknice.com/product/using-oracle-solutions-on-linux-for-
system-z-1397608
Front cover

DB2 OLAP Server V8.1


Using Advanced Functions

Enhancing OLAP cube scalability and


discovering deviant values

Implementing high concurrency


and high availability scenarios

Managing multiple OLAP


servers

Corinne Baragoin
Luciana Dongo Alves
Jakob Burkard
Ulrich Guldborg
Jo Ramos
Paola Rodriguez

ibm.com/redbooks
International Technical Support Organization

DB2 OLAP Server V8.1: Using Advanced Functions

November 2002

SG24-6599-00
Note: Before using this information and the product it supports, read the information in
“Notices” on page xxi.

First Edition (November 2002)

This edition applies to IBM DB2 OLAP Server Version 8, Release 1 and to IBM DB2 OLAP
Analyzer Analysis Server Version 8 Release 1.

© Copyright International Business Machines Corporation 2002. All rights reserved.


Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
Contents

Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
The team that wrote this redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiv
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvi
Comments welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii

Part 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 1. DB2 OLAP Server V8.1 overview. . . . . . . . . . . . . . . . . . . . . . . . . 3


1.1 Advanced analytical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.1 Combining OLAP and relational databases: Hybrid Analysis . . . . . . . 4
1.1.2 OLAP Miner. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Advanced enterprise functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Advanced administrative functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3.1 Parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3.2 Parallel data load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3.3 Parallel export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3.4 Administration Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3.5 Security Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.3.6 Custom Defined Functions and Custom Defined Macros . . . . . . . . . 15
1.3.7 API enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.3.8 Additional improvements and new functions . . . . . . . . . . . . . . . . . . . 17

Chapter 2. DB2 OLAP Server components and case studies . . . . . . . . . . 21


2.1 DB2 OLAP Server components architecture . . . . . . . . . . . . . . . . . . . . . . . 22
2.1.1 The basic DB2 OLAP Server installation . . . . . . . . . . . . . . . . . . . . . 22
2.1.2 Expanding OLAP capabilities with Integration Server . . . . . . . . . . . . 23
2.1.3 Expanding with Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1.4 Expanding with Administration Services . . . . . . . . . . . . . . . . . . . . . . 25
2.1.5 Using Security Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.6 Using Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

© Copyright IBM Corp. 2002. All rights reserved. iii


2.1.7 The big picture . . . . . . . . . . . . . . . . . . . . ...... ....... ...... .. 27
2.2 Case studies and our test environment. . . . . . ...... ....... ...... .. 28
2.2.1 E-banking case study . . . . . . . . . . . . . . . ...... ....... ...... .. 28
2.2.2 Online Investment case study . . . . . . . . . ...... ....... ...... .. 31
2.2.3 Our test environment setup . . . . . . . . . . . ...... ....... ...... .. 36

Part 2. Advanced analytical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Chapter 3. Hybrid Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41


3.1 Hybrid Analysis overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.1.1 Terminology and definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.2 When to use Hybrid Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.3 Hybrid Analysis architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.4 Hybrid Analysis challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.5 Implementation of Hybrid Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.5.1 Building Hybrid Analysis using Integration Server . . . . . . . . . . . . . . 49
3.5.2 Hybrid Analysis member transformation . . . . . . . . . . . . . . . . . . . . . . 52
3.5.3 Impact of Hybrid Analysis versus multidimensional . . . . . . . . . . . . . 54
3.5.4 Hybrid Analysis in Application Manager . . . . . . . . . . . . . . . . . . . . . . 56
3.5.5 Hybrid Analysis and Administration Services . . . . . . . . . . . . . . . . . . 57
3.6 Tips and tricks for tuning Hybrid OLAP applications . . . . . . . . . . . . . . . . . 59
3.6.1 Defining HAMEMORYCACHESIZE . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.6.2 Defining HAMAXNUMCONNECTION . . . . . . . . . . . . . . . . . . . . . . . . 64
3.6.3 Defining HAMAXNUMSQLQUERY . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.6.4 Defining HAMAXQUERYROWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.6.5 Defining HAMAXQUERYTIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.6.6 Defining HARETRIEVENUMROW . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.6.7 Conclusions: Hybrid Analysis configuration settings . . . . . . . . . . . . . 68
3.7 Queries in the Hybrid Analysis environment . . . . . . . . . . . . . . . . . . . . . . . 68
3.7.1 Member caching for better query performance . . . . . . . . . . . . . . . . . 73
3.8 Query performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.9 Hybrid Analysis and Drill-Through Reports . . . . . . . . . . . . . . . . . . . . . . . . 80
3.9.1 Characteristics of Drill-Through Reports . . . . . . . . . . . . . . . . . . . . . . 81
3.9.2 Characteristics of Hybrid Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . 82
3.9.3 Drill-Through Reports versus Hybrid Analysis . . . . . . . . . . . . . . . . . 82
3.10 Data modeling for Hybrid Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
3.11 Security configuration for Hybrid Analysis . . . . . . . . . . . . . . . . . . . . . . . . 85
3.11.1 Tracing Hybrid Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Chapter 4. Mining your OLAP cube with OLAP Miner . . . . . . . . . . . . . . . . 89


4.1 OLAP Miner overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4.2 Deviation detection in OLAP Miner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2.1 OLAP Miner performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
4.3 When to use OLAP Miner, and when not to use it . . . . . . . . . . . . . . . . . . 96

iv DB2 OLAP Server V8.1: Using Advanced Functions


4.4 Mining and interpreting E-banking cube results . . . . . . . . . . . . . . . . . . . . 99
4.4.1 Scenario 1: PC-banking usage by branch. . . . . . . . . . . . . . . . . . . . . 99
4.4.2 Scenario 2: Equity trade and Net-banking in branches . . . . . . . . . . 105
4.5 OLAP Miner setup and architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
4.6 Running and monitoring OLAP Miner . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4.6.1 Getting OLAP Miner to run, and stopping it . . . . . . . . . . . . . . . . . . 111
4.6.2 OLAP Miner client configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.7 OLAP Miner results and logs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114

Part 3. Advanced functions of Enterprise Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

Chapter 5. Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119


5.1 Enterprise Services overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
5.1.1 Enterprise Services components . . . . . . . . . . . . . . . . . . . . . . . . . . 122
5.2 Enterprise Services configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
5.2.1 TCP/IP Client Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
5.2.2 HTTP client programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
5.2.3 EJB client programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
5.2.4 CORBA client programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5.3 Enterprise Services deployment scenarios . . . . . . . . . . . . . . . . . . . . . . . 129
5.3.1 Scalability overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
5.3.2 Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
5.3.3 Connection pooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
5.3.4 Workload balancing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
5.3.5 Server and application failure and failover . . . . . . . . . . . . . . . . . . . 151
5.3.6 Enterprise Services: the whole picture . . . . . . . . . . . . . . . . . . . . . . 159
5.3.7 Guidelines for implementing a full cluster of OLAP servers . . . . . . 159
5.3.8 Copy DB2 OLAP applications and databases across servers . . . . 161
5.3.9 Synchronizing data across DB2 OLAP Servers in a cluster . . . . . . 165
5.3.10 Synchronizing security across all OLAP Servers in a cluster . . . . 166
5.4 Implementing Enterprise Services with TCP/IP. . . . . . . . . . . . . . . . . . . . 166
5.4.1 Installation tips for Enterprise Services: Windows and AIX. . . . . . . 168
5.4.2 Setting up the domain storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
5.4.3 Starting Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
5.4.4 Creating a domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
5.4.5 Defining users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
5.4.6 Defining DB2 OLAP Server and Enterprise Services servers . . . . . 189
5.4.7 Creating clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
5.4.8 Creating connection pools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
5.4.9 Using the sample programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
5.4.10 Additional tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

Part 4. Advanced administrative functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

Contents v
Chapter 6. Parallel calculation, data load, and export . . . . . . . . . . . . . . . 223
6.1 Performing parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
6.1.1 Understanding parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . 224
6.1.2 Parallel calculation architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
6.1.3 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
6.1.4 Enabling parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
6.1.5 Identifying concurrent tasks for parallel calculation. . . . . . . . . . . . . 234
6.1.6 Running parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
6.1.7 Parallel calculation performance . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
6.1.8 Monitoring using the log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
6.1.9 Estimating the size of a database calculation . . . . . . . . . . . . . . . . . 248
6.2 Performing parallel load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
6.2.1 Understanding the parallel load . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
6.2.2 Enabling parallel load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
6.2.3 Running parallel data load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
6.2.4 Monitoring using the log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
6.2.5 Parallel load performance: Defining the right parameters . . . . . . . . 261
6.2.6 Tools to monitor parallel calculation and load . . . . . . . . . . . . . . . . . 264
6.3 Performing parallel export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
6.3.1 Running parallel export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
6.3.2 Monitoring using the log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
6.3.3 Parallel export performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
6.3.4 Exporting files larger than 2 GB . . . . . . . . . . . . . . . . . . . . . . . . . . . 277

Chapter 7. Administration Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279


7.1 Administration Services components . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
7.2 New administrative capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
7.3 Administration Services configurations . . . . . . . . . . . . . . . . . . . . . . . . . . 283
7.4 Using Administration Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
7.4.1 Managing security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
7.4.2 Managing DB2 OLAP Servers, applications, and databases . . . . . 304
7.4.3 Managing logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
7.4.4 Managing scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
7.4.5 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
7.5 Implementing Administration Services . . . . . . . . . . . . . . . . . . . . . . . . . . 358
7.5.1 Preparing for installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
7.5.2 Installing DB2 OLAP Server components . . . . . . . . . . . . . . . . . . . . 360
7.5.3 Installing Administration Services . . . . . . . . . . . . . . . . . . . . . . . . . . 362
7.5.4 Starting Administration Services . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
7.5.5 Setting up users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
7.5.6 Backing up Administration Services users information . . . . . . . . . . 384
7.5.7 Creating views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385

vi DB2 OLAP Server V8.1: Using Advanced Functions


Chapter 8. Additional enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
8.1 Direct I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
8.1.1 Understanding the DB2 OLAP Server caches . . . . . . . . . . . . . . . . 390
8.1.2 The difference between buffered I/O and direct I/O . . . . . . . . . . . . 390
8.1.3 New features in DB2 OLAP Server version 8.1 . . . . . . . . . . . . . . . 392
8.1.4 Changing the I/O access mode (buffered I/O or direct I/O). . . . . . . 393
8.1.5 The cache memory locking option . . . . . . . . . . . . . . . . . . . . . . . . . 394
8.1.6 Defining the DB2 OLAP Server caches when using direct I/O . . . . 395
8.2 Security Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
8.2.1 Before running the Security Migration Tool. . . . . . . . . . . . . . . . . . . 397
8.2.2 Running the Security Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . 397
8.3 Multiple OLAP agents on the same machine . . . . . . . . . . . . . . . . . . . . . 412
8.3.1 Hints and tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
8.3.2 A sample configuration scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
8.4 Custom Defined Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
8.4.1 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
8.4.2 Performance considerations in the Windows environment . . . . . . . 420
8.4.3 Creating a CDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
8.4.4 Using a CDF in the outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
8.4.5 Using a CDF in calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438

Part 5. Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439

Appendix A. DB2 OLAP Integration Server . . . . . . . . . . . . . . . . . . . . . . . 441


A.1 Integration Server enhancements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
A.2 Migration of earlier OLAP metadata catalogs . . . . . . . . . . . . . . . . . . . . . 443
A.2.1 New configuration file for Integration Server. . . . . . . . . . . . . . . . . . 444
A.2.2 Multiple data sources in Integration Server . . . . . . . . . . . . . . . . . . 445
A.2.3 Drill through . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
A.2.4 XML export/import of models and metaoutlines . . . . . . . . . . . . . . . 459
A.2.5 Intelligent help and increased usability . . . . . . . . . . . . . . . . . . . . . . 460

Appendix B. Setting up DB2 OLAP Analyzer Analysis Server V8.1 . . . . 463


B.1 Analyzer V8.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
B.1.1 Supported platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
B.1.2 Architectural overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
B.2 WebSphere Application Server setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
B.3 Setting up and configuring Analyzer Server V8.1 . . . . . . . . . . . . . . . . . . 475
B.3.1 Configuring Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
B.3.2 Uninstalling Analyzer V8.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
B.4 Using Analyzer V8.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
B.4.1 Analyzer Server console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
B.4.2 Analyzer Administration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486

Contents vii
Appendix C. Enterprise Services sample programs . . . . . . . . . . . . . . . . 489
C.1 Copy application/database using CopyOLAP . . . . . . . . . . . . . . . . . . . . . 490
C.2 Sample runsamples.cmd script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492

Appendix D. Data modeling basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495


D.1 ER data models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
D.2 Multidimensional data models: star and snowflake . . . . . . . . . . . . . . . . 497

Related publications . . . . . . . . . . . . . . . . . . . . . . ...... ....... ...... . 499


IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...... ....... ...... . 499
Other resources . . . . . . . . . . . . . . . . . . . . . . . . ...... ....... ...... . 499
Referenced Web sites . . . . . . . . . . . . . . . . . . . . . . ...... ....... ...... . 500
How to get IBM Redbooks . . . . . . . . . . . . . . . . . . . ...... ....... ...... . 500
IBM Redbooks collections . . . . . . . . . . . . . . . . . ...... ....... ...... . 500

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501

viii DB2 OLAP Server V8.1: Using Advanced Functions


Figures

1-1 Relational databases supported by Hybrid Analysis . . . . . . . . . . . . . . . . 5


1-2 Serial calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-3 Parallel calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1-4 Parallel load schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1-5 Parallel export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1-6 Administration Services architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1-7 Sample scenarios when migrating DB2 OLAP Server . . . . . . . . . . . . . . 15
1-8 List of functions under Application Manger script editor . . . . . . . . . . . . 16
1-9 Substitution variable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-1 Basic DB2 OLAP Server architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2-2 DB2 OLAP Server environment using Integration Services. . . . . . . . . . 24
2-3 DB2 OLAP Server: the whole picture. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2-4 E-banking outline used together with OLAP Miner case study . . . . . . . 31
2-5 Online Investment OLAP application model . . . . . . . . . . . . . . . . . . . . . 34
2-6 Online Investment OLAP application metaoutline . . . . . . . . . . . . . . . . . 36
2-7 Cases and test setup for E-banking and Online Investment . . . . . . . . . 37
3-1 Accessing relational and multidimensional data in a hybrid cube . . . . . 42
3-2 Hybrid analysis architecture in an DB2 OLAP Server environment. . . . 46
3-3 Building a multidimensional application to this point . . . . . . . . . . . . . . . 50
3-4 Enabling Hybrid Analysis from this point in your application . . . . . . . . . 50
3-5 Build of 1-level Hybrid Analysis in Integration Server . . . . . . . . . . . . . . 51
3-6 Selecting the Update Hybrid Analysis Data: option from the menu . . . . 51
3-7 Shows the application and database synchronization settings . . . . . . . 52
3-8 Validation warning initiated by the reversible process . . . . . . . . . . . . . . 54
3-9 Application Manager outline with member enabled for Hybrid Analysis 57
3-10 Administration Services outline showing Hybrid Analysis . . . . . . . . . . . 58
3-11 Enabling or disabling Hybrid Analysis in Administration Services . . . . . 59
3-12 HAMEMORYCACHESIZE overrun . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3-13 HA max query row limit exceeded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3-14 HAMAXQUERYTIME exceeded message. . . . . . . . . . . . . . . . . . . . . . . 67
3-15 Enabling and disabling of Hybrid Analysis on a per-query basis . . . . . . 70
3-16 Shows the level at which HA is enabled . . . . . . . . . . . . . . . . . . . . . . . . 71
3-17 Scapa workload running against the DB2 OLAP Server cube . . . . . . . . 76
3-18 Scapa workload running against the hybrid cube . . . . . . . . . . . . . . . . . 77
3-19 Properties selection in Integration Server Metaoutline . . . . . . . . . . . . . 85
3-20 OLAP metaoutline security options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4-1 Generic OLAP Miner, OLAP Server and Hybrid Analysis architecture . 91
4-2 Bell shaped standard deviation graph . . . . . . . . . . . . . . . . . . . . . . . . . . 92

© Copyright IBM Corp. 2002. All rights reserved. ix


4-3 Extraction of a Sales subcube for OLAP Mining . . . . . . . . . . . . . . . . . . 93
4-4 OLAP Miner calculates an expected value for each cell in the subcube 94
4-5 2 Kilobytes set for the E-bank application in Application Manager . . . . 96
4-6 OLAP Mining either just the member or the member and descendants 97
4-7 The E-bank application outline shown in Application Manager . . . . . . . 99
4-8 Adding descriptive metadata for your deviation detection . . . . . . . . . . 100
4-9 Selecting members with the deviation detection wizard . . . . . . . . . . . 101
4-10 E-banking 1. quarter 2002, transactions and PC-banking results . . . . 102
4-11 Simple magnitude illustration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4-12 Selecting Display in Context by right clicking result line . . . . . . . . . . . 103
4-13 Results from mining E-bank shown in Deviation Viewer . . . . . . . . . . . 104
4-14 Graph built in spreadsheet and launched from the deviation viewer . . 105
4-15 Review detection, and set maximum deviations . . . . . . . . . . . . . . . . . 106
4-16 Results from Equity Trade and Netbanking scenario. . . . . . . . . . . . . . 106
4-17 Results for E-bank scenario 2 shown in deviation viewer . . . . . . . . . . 108
4-18 OLAP Miner Server and client communication with DB2 OLAP Server 109
4-19 Starting OLAP Miner in the foreground: Command Console options. . 112
4-20 OLAP Miner XML files shown in the Web browser . . . . . . . . . . . . . . . 115
5-1 OLAP system architecture overview . . . . . . . . . . . . . . . . . . . . . . . . . . 121
5-2 Enterprise Services System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
5-3 Client program technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
5-4 Java applet client program using TCP/IP. . . . . . . . . . . . . . . . . . . . . . . 126
5-5 Java applet client program using HTTP . . . . . . . . . . . . . . . . . . . . . . . . 127
5-6 Spreadsheet architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
5-7 Client program using EJB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
5-8 Java servlet client program using CORBA. . . . . . . . . . . . . . . . . . . . . . 129
5-9 Clustering sample scenario: single OLAP database per server. . . . . . 132
5-10 Clustering sample scenario: Multiple databases copies per server . . . 133
5-11 Connection pooling sample scenario . . . . . . . . . . . . . . . . . . . . . . . . . . 136
5-12 Connection pooling and clustering scenario . . . . . . . . . . . . . . . . . . . . 137
5-13 Workload balance: Initial sessions established to DB2 OLAP Servers 139
5-14 Enterprise Services: connection pool definition for e-BankConnPool . 140
5-15 Enterprise Services: Cluster definition for e-BankCluster . . . . . . . . . . 141
5-16 Enterprise Services: Enable cluster and connection pool . . . . . . . . . . 142
5-17 Opening connections to DB2 OLAP Server . . . . . . . . . . . . . . . . . . . . . 143
5-18 AM: Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
5-19 AM connections panel: DB2 OLAP Server on CAYMAN server . . . . . 144
5-20 AM connections panel: DB2 OLAP Server on SICILY server . . . . . . . 145
5-21 Workload balance: Incremental sessions established to OLAP servers146
5-22 Sample cluster definition: Without repetition . . . . . . . . . . . . . . . . . . . . 147
5-23 Sample cluster definition: With repetition . . . . . . . . . . . . . . . . . . . . . . . 148
5-24 Workload balance: Unbalanced load sample scenario . . . . . . . . . . . . 149
5-25 Sample cluster definition: Duplicating an application and database . . 150

x DB2 OLAP Server V8.1: Using Advanced Functions


5-26 Failover scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
5-27 Application failover scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
5-28 Server failover scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
5-29 Server failover scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
5-30 Enterprise Services: the whole picture. . . . . . . . . . . . . . . . . . . . . . . . . 159
5-31 Copying application and databases across OLAP servers . . . . . . . . . 162
5-32 Copy OLAP application across servers via Command Shell . . . . . . . . 164
5-33 Software components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
5-34 Creating a database in DB2 Control Center . . . . . . . . . . . . . . . . . . . . 172
5-35 DB2 configuration variables in the essbase.properties file . . . . . . . . . 173
5-36 Configuration variables in the essbase.properties file . . . . . . . . . . . . . 174
5-37 Configuration of the ClassPath in startees.cmd file . . . . . . . . . . . . . . . 175
5-38 Enterprise Services server window . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
5-39 Enterprise Services Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
5-40 Enterprise Services Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
5-41 Command Shell signon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
5-42 Command Shell available commands . . . . . . . . . . . . . . . . . . . . . . . . . 181
5-43 Creating domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
5-44 The console with the new domain created. . . . . . . . . . . . . . . . . . . . . . 183
5-45 Creating users in the domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
5-46 Adding users to the root domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
5-47 Creating groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
5-48 Adding users to groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
5-49 Creating Enterprise Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
5-50 Enterprise Server added . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
5-51 OLAP cube parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
5-52 Enterprise Services Command Shell: adding an OLAP server . . . . . . 194
5-53 Creating clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
5-54 Defining applications to participate in the e-BankCluster cluster. . . . . 197
5-55 Enabling the cluster to be used by the Enterprise Services server . . . 198
5-56 Creating a cluster in the Command Shell . . . . . . . . . . . . . . . . . . . . . . 199
5-57 Creating a connection pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
5-58 Parameters definition for connection pool with cluster. . . . . . . . . . . . . 202
5-59 Connection pool properties without a cluster definition . . . . . . . . . . . . 203
5-60 Enabling the connection pool in the Enterprise Services server . . . . . 204
5-61 Opening connection pool and cluster. . . . . . . . . . . . . . . . . . . . . . . . . . 207
5-62 Connections opened to DB2 OLAP Server . . . . . . . . . . . . . . . . . . . . . 208
5-63 Runsamples variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
5-64 DataQuery program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
5-65 Data Query result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
5-66 Creating Cube View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
5-67 Cube View screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
5-68 Cube View spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220

Figures xi
6-1 Serial calculation and parallel calculation . . . . . . . . . . . . . . . . . . . . . . 225
6-2 Parallel calculation steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
6-3 Sample.Basic outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
6-4 Calculation process using Application Manager . . . . . . . . . . . . . . . . . 238
6-5 Integration Server data load. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
6-6 Verifying the database size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
6-7 Data load process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
6-8 Parallel load process in a single CPU . . . . . . . . . . . . . . . . . . . . . . . . . 253
6-9 Data load using Application Manager . . . . . . . . . . . . . . . . . . . . . . . . . 257
6-10 Data load using ESSCMD command interface . . . . . . . . . . . . . . . . . . 258
6-11 Integration Server data load. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
6-12 VMSTAT example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
6-13 Hit ratio information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
6-14 Task Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
6-15 MMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
6-16 Parallel export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
6-17 MaxL export syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
7-1 Administration Services architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 280
7-2 Administration Services: enterprise scenario . . . . . . . . . . . . . . . . . . . . 283
7-3 Administration Services: mixed scenario . . . . . . . . . . . . . . . . . . . . . . . 284
7-4 Administration Services: stand alone scenario . . . . . . . . . . . . . . . . . . 285
7-5 Uing Administration Services to create an OLAP Server user . . . . . . . 287
7-6 Using Administration Services to create an OLAP Server group . . . . . 289
7-7 Using Administration Services to delete and rename users or groups 290
7-8 Editing group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
7-9 Adding a user to a group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
7-10 Granting permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
7-11 Migrating users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
7-12 Migrating users to OLAP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
7-13 User migrated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
7-14 Copy user. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
7-15 Propagating password in a cluster environment. . . . . . . . . . . . . . . . . . 299
7-16 Propagating the password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
7-17 Propagating password dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
7-18 Creating a new user using LDAP external authentication.. . . . . . . . . . 303
7-19 DB2 OLAP Server properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
7-20 Administration Services - comparing DB2 OLAP Server properties . . 308
7-21 Managing sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
7-22 Logging off users — example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
7-23 Logging off users result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
7-24 Administration Services managing locks . . . . . . . . . . . . . . . . . . . . . . . 311
7-25 Creating application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
7-26 Creating, renaming or deleting a database. . . . . . . . . . . . . . . . . . . . . . 316

xii DB2 OLAP Server V8.1: Using Advanced Functions


7-27 Opening the Outline Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
7-28 The outline structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
7-29 Defining dimensions and members . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
7-30 Changing a member properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
7-31 Outline properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
7-32 Outline editor toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
7-33 Member formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
7-34 Data load and dimension build. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
7-35 Execute a calculation in the background . . . . . . . . . . . . . . . . . . . . . . . 331
7-36 Clearing data before a data load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
7-37 Migration Wizard: dialog box 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
7-38 Migrating Wizard: dialog box 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
7-39 Hit ratio on Administration Services . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
7-40 Operating System monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
7-41 Disk drivers monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
7-42 Background execution status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
7-43 Viewing background processes status. . . . . . . . . . . . . . . . . . . . . . . . . 343
7-44 Process ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
7-45 The message panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
7-46 Closing the message panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
7-47 Filtering messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
7-48 Log analyzer message folder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
7-49 Log analyzer chart folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
7-50 OLAP Server log enhancements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
7-51 MaxL auto completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
7-52 MaxL color coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
7-53 MaxL Script editor toolbar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
7-54 MaxL Script Editor result panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
7-55 Creating a calculation script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
7-56 Calculation script editor.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
7-57 Calculation scripts buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
7-58 Report Script editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
7-59 Report Viewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
7-60 Setting the ARBORPATH variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
7-61 Choose Product Features Prompt Screen . . . . . . . . . . . . . . . . . . . . . . 363
7-62 Administration Server window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
7-63 Saving logs to a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
7-64 Saving logs to a log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
7-65 Stopping Administration Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
7-66 Administration Services Console login. . . . . . . . . . . . . . . . . . . . . . . . . 369
7-67 Administration Services Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
7-68 Launching the User Setup Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
7-69 User Information Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374

Figures xiii
7-70 User ibmuser created. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
7-71 Creating users in the navigation panel. . . . . . . . . . . . . . . . . . . . . . . . . 376
7-72 Create user window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
7-73 New user in the navigational panel . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
7-74 Administration Services single sign-on . . . . . . . . . . . . . . . . . . . . . . . . 379
7-75 Associating OLAP servers to users . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
7-76 OLAP Servers window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
7-77 Adding a OLAP Server to a user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
7-78 Enterprise View for user ibmuser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
7-79 Editing user properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
7-80 Administration Services Enterprise View . . . . . . . . . . . . . . . . . . . . . . . 385
7-81 New custom view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
8-1 DB2 OLAP Server caches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
8-2 Direct I/O versus buffered I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
8-3 Migrating data: first option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
8-4 Enter servers information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
8-5 Select specific application to migrate . . . . . . . . . . . . . . . . . . . . . . . . . . 399
8-6 List of available applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
8-7 Run the migration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
8-8 Migration results display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
8-9 Connect.log example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
8-10 Results.log example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
8-11 Data.txt example: user section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
8-12 Data.txt example: application section . . . . . . . . . . . . . . . . . . . . . . . . . 404
8-13 Secmgr.log example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
8-14 Migrating data: second option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
8-15 Enter server information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
8-16 Select specific application to migrate . . . . . . . . . . . . . . . . . . . . . . . . . . 407
8-17 List of available applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
8-18 Run the migration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
8-19 Migration results display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
8-20 Migrating data: third option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
8-21 Enter destination server information . . . . . . . . . . . . . . . . . . . . . . . . . . 410
8-22 Select specific application to migrate . . . . . . . . . . . . . . . . . . . . . . . . . . 410
8-23 Run the migration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
8-24 Migration results display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
8-25 Custom Defined Function Manager main screen. . . . . . . . . . . . . . . . . 430
8-26 Custom Defined Function Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
8-27 Filling in the Custom Defined Function Editor . . . . . . . . . . . . . . . . . . . 432
8-28 Displaying the CDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
8-29 Formula editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
8-30 Function templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
8-31 Formula created formula in the outline . . . . . . . . . . . . . . . . . . . . . . . . 437

xiv DB2 OLAP Server V8.1: Using Advanced Functions


8-32 Outline with formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
A-1 OLAP Metadata Catalog setup or migration dialog box . . . . . . . . . . . . 444
A-2 Connecting to a second data source in Integration Server . . . . . . . . . 446
A-3 Check to remember secondary data source password.. . . . . . . . . . . . 447
A-4 Primary data source properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
A-5 Dimension properties showing selection of data source . . . . . . . . . . . 449
A-6 Secondary data source properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
A-7 Multiple data sources connected in left frame . . . . . . . . . . . . . . . . . . . 451
A-8 How to add a new drill through report . . . . . . . . . . . . . . . . . . . . . . . . . 452
A-9 New drill through functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
A-10 SQL generated by a drill-through report and changes made to it . . . . 454
A-11 SQL Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
A-12 Formula validation for member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
A-13 Error reporting on Formulas in Member Properties . . . . . . . . . . . . . . . 457
A-14 Start with the Application Manager outline for drill through reports . . . 458
A-15 Update drill through data for the added drill through functionality . . . . 459
A-16 Saving a Model as an XML file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
A-17 Intelligent help in Integration Server . . . . . . . . . . . . . . . . . . . . . . . . . . 461
B-1 Architecture for Java based clients . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
B-2 Selecting custom installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
B-3 Selecting WebSphere Application Server components . . . . . . . . . . . . 470
B-4 Choosing the Web Server Plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
B-5 Specifying security options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
B-6 Specifying products directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
B-7 Specifying database options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
B-8 Selecting the Application Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
B-9 Configuring the Application Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
B-10 Using a local RDBMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
B-11 Using a remote RDBMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
B-12 Configuring the local DB2 connection . . . . . . . . . . . . . . . . . . . . . . . . . 480
B-13 Configuring the remote DB2 connection . . . . . . . . . . . . . . . . . . . . . . . 481
B-14 Configuring Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
B-15 Running usejdbc2.bat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
B-16 Analyzer Launch Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
B-17 Analyzer Server console for user monitoring . . . . . . . . . . . . . . . . . . . . 486
B-18 Connecting to DB2 OLAP application . . . . . . . . . . . . . . . . . . . . . . . . . 487
D-1 ER data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
D-2 Star schema data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
D-3 Snowflake data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498

Figures xv
xvi DB2 OLAP Server V8.1: Using Advanced Functions
Tables

1-1 Grade of platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6


1-2 New parameters and commands (parallel calculation) . . . . . . . . . . . . . 10
1-3 Administration Services functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3-1 Supported and unsupported transformations. . . . . . . . . . . . . . . . . . . . . 53
3-2 Test results: loading and calculating the Online Investment application 55
3-3 Tuning examples and query performance impact . . . . . . . . . . . . . . . . . 61
3-4 End of the run statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3-5 End of the run statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3-6 Response times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
3-7 Hybrid Analysis and drill through reports — general comparison . . . . . 80
3-8 Ctrace and performance trace properties . . . . . . . . . . . . . . . . . . . . . . . 87
4-1 OLAP Mining performance test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
4-2 OLAP Miner installation preferences. . . . . . . . . . . . . . . . . . . . . . . . . . 110
5-1 Main characteristics of connection pool and cluster . . . . . . . . . . . . . . 138
5-2 Step-by-step implementation checklist . . . . . . . . . . . . . . . . . . . . . . . . 167
5-3 Additional commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
5-4 Addition commands related to DB2 OLAP Server . . . . . . . . . . . . . . . . 194
5-5 Additional commands related to cluster . . . . . . . . . . . . . . . . . . . . . . . . 199
5-6 Connection Pool commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
5-7 Most common sample programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
6-1 Setting the database isolation level . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
6-2 Parameters of CALCTASKDIMS or SET CALCTASKDIMS . . . . . . . . 236
6-3 ESSCMD commands to calculate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
6-4 Outline disordered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
6-5 Outline ordered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
6-6 SET MSG ONLY versus EstimateFullDBSize versus real calculation . 250
6-7 The vmstat tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
6-8 Parexport syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
6-9 MaxL export syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
7-1 New functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
7-2 AUTHENTICATIONMODULE syntax. . . . . . . . . . . . . . . . . . . . . . . . . . 302
7-3 DB2 OLAP Server properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
7-4 Application properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
7-5 Database properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
7-6 Administration Services step by step implementation . . . . . . . . . . . . . 359
8-1 Direct I/O supported platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
8-2 Default buffer cache configuration and how to set it . . . . . . . . . . . . . . 392
8-3 IBM DB2 OLAP Server and Hyperion Essbase correspondences. . . . 396

© Copyright IBM Corp. 2002. All rights reserved. xvii


B-1 Supported components and platforms . . . . . . . . . . . . . . . . . . . . . . . . . 465
B-2 Compatibilities and dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466

xviii DB2 OLAP Server V8.1: Using Advanced Functions


Examples

3-1 HAMEMORYCACHESIZE set at 1 MB . . . . . . . . . . . . . . . . . . . . . . . . . 63


3-2 HAMEMORYCACHESIZE for specific application and all others . . . . . 63
3-3 HAMEMORYCACHESIZE last setting overrides first setting . . . . . . . . . 63
3-4 HAMAXNUMCONNECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
3-5 Number of SQL queries per OLAP Server query session is set to 10 . . 65
3-6 OLAP Server processes up to 100,000 rows per SQL query . . . . . . . . 65
3-7 HAMAXQUERYTIME set at 300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3-8 HARETRIEVENUMROW set at 50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3-9 Enabling Hybrid Analysis in essbase.cfg . . . . . . . . . . . . . . . . . . . . . . . . 69
3-10 Location of branches in the e-banking application . . . . . . . . . . . . . . . . . 71
3-11 Hybrid Analysis generated SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3-12 Setting Ctrace to level 2 for application Oiha . . . . . . . . . . . . . . . . . . . . . 87
4-1 Subcube definition for Online Investment . . . . . . . . . . . . . . . . . . . . . . . 92
4-2 OMServer.cfg file: client log verbose level set to high . . . . . . . . . . . . . 111
4-3 Running sync olap command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4-4 OMClient.cfg file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4-5 Running OLAP Miner on PC-banking . . . . . . . . . . . . . . . . . . . . . . . . . 113
4-6 Log file describing the subcube that was mined . . . . . . . . . . . . . . . . . 114
5-1 Fail tolerance actions on same service component . . . . . . . . . . . . . . . 152
5-2 Fault tolerance actions on a different service component . . . . . . . . . . 153
5-3 Copy OLAP application across servers . . . . . . . . . . . . . . . . . . . . . . . . 164
5-4 Copy OLAP database across servers . . . . . . . . . . . . . . . . . . . . . . . . . 164
5-5 CreateConnPoolAndCluster sample program . . . . . . . . . . . . . . . . . . . 206
5-6 DataQuery program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
5-7 Data Query program updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
6-1 Using two threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
6-2 Using three threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
6-3 Using four threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
6-4 Using SET CALCPARALLEL command . . . . . . . . . . . . . . . . . . . . . . . 233
6-5 Calculation script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
6-6 Configuring threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
6-7 Set msg only result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
6-8 EstimateFullDBSize output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
6-9 essbase.cfg configuration file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
6-10 DLSINGLETHREADPERSTAGE: application level . . . . . . . . . . . . . . . 254
6-11 DLSINGLETHREADPERSTAGE: database level . . . . . . . . . . . . . . . . 255
6-12 DLSINGLETHREADPERSTAGE: server level . . . . . . . . . . . . . . . . . . 255
6-13 DLSINGLETHREADPERSTAGE: parallel mode . . . . . . . . . . . . . . . . . 255

© Copyright IBM Corp. 2002. All rights reserved. xix


6-14 DLTHREADSPREPARE: application level . . . . . . . . . . . . . . . . . . . . . 255
6-15 DLTHREADSPREPARE: database level . . . . . . . . . . . . . . . . . . . . . . . 256
6-16 DLTHREADSPREPARE: server level . . . . . . . . . . . . . . . . . . . . . . . . . 256
6-17 DLTHREADSWRITE: application level . . . . . . . . . . . . . . . . . . . . . . . . 256
6-18 DLTHREADSWRITE: database level . . . . . . . . . . . . . . . . . . . . . . . . . 256
6-19 DLTHREADSWRITE: server level . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
7-1 Authentication module essbase.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
7-2 Error on verifying formula. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
7-3 Modifications folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
7-4 Validation status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
7-5 DB2 OLAP Server error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
7-6 Administration Services error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
8-1 Changing I/O access mode without restarting the database . . . . . . . . 394
8-2 Changing the I/O access mode and restarting the database . . . . . . . . 394
8-3 The olapcay user .profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
8-4 Olapcayb user .profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
8-5 Essbase.cfg file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
8-6 Example of Java program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
8-7 Compiling the Java program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
8-8 Archiving Java program using jar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
8-9 Using MaxL to log in to DB2 OLAP Server . . . . . . . . . . . . . . . . . . . . . 426
8-10 Register the CDF using MaxL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
8-11 Refresh MaxL statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
8-12 Combining MaxL commands in a script . . . . . . . . . . . . . . . . . . . . . . . . 427
8-13 MaxL drop function statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
8-14 MaxL display statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
8-15 MaxL display atatement on the application . . . . . . . . . . . . . . . . . . . . . 429
8-16 MaxL display statement output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
A-1 Server configuration settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
8-17 CopyOlapAppAndCube sample script . . . . . . . . . . . . . . . . . . . . . . . . . 490
8-18 Sample runsamples.cmd script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492

xx DB2 OLAP Server V8.1: Using Advanced Functions


Notices

This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matter described in this document.
The furnishing of this document does not give you any license to these patents. You can send license
inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer
of express or implied warranties in certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may
make improvements and/or changes in the product(s) and/or the program(s) described in this publication at
any time without notice.

Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.

IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.

Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm
the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on
the capabilities of non-IBM products should be addressed to the suppliers of those products.

This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.

COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the
sample programs are written. These examples have not been thoroughly tested under all conditions. IBM,
therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy,
modify, and distribute these sample programs in any form without payment to IBM for the purposes of
developing, using, marketing, or distributing application programs conforming to IBM's application
programming interfaces.

© Copyright IBM Corp. 2002. All rights reserved. xxi


Trademarks
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
IBM® SP™
AIX® IMS™ WebSphere®
Balance® Intelligent Miner™ Lotus®
DB2® Perform™ 1-2-3®
DB2 OLAP Server™ Redbooks™
DB2 Universal Database™ Redbooks(logo)™

The following terms are trademarks of International Business Machines Corporation and Lotus Development
Corporation in the United States, other countries, or both:

Lotus® Word Pro® 1-2-3®

The following terms are trademarks of other companies:

ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation 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.

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.

C-bus is a trademark of Corollary, Inc. 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, SET Secure Electronic Transaction, and the SET Logo are trademarks owned by SET Secure
Electronic Transaction LLC.

xxii DB2 OLAP Server V8.1: Using Advanced Functions


Preface

IBM DB2 OLAP Server V8.1 (DB2 OLAP Server throughout this IBM Redbook),
based on Hyperion Essbase Server V6.5, incorporates significant improvements
and integrates the whole enterprise dimension, with multiple OLAP servers
(IBM DB2 OLAP Server or Hyperion Essbase Server) to control and manage
your data.

We discuss the new advanced functions in the areas of scalability, analytics,


performance, high concurrency, high availability, and administrative functions,
and explain how DB2 OLAP Server V8.1:
򐂰 Combines the high performance of multidimensional with relational scalability
through Hybrid Analysis
򐂰 Enables you to automate the discovery of atypical patterns in your cubes
through DB2 OLAP Server Miner (OLAP Miner throughout this book)
򐂰 Lets you run operations in multithreaded mode with parallel calculation, data
load, and export
򐂰 Provides availability and reliability, allowing cube clustering, failing over, and
connection pooling through DB2 OLAP Server Enterprise Services or High
Concurrency Option (Enterprise Services throughout this book)
򐂰 Gives a single point of administration for managing multiple OLAP Servers
through DB2 OLAP Server Administration Services (Administration Services
throughout this book)
򐂰 Allows you to integrate information from multiple data sources through new
DB2 OLAP Integration Server improvements (Integration Server throughout
this book)

This book positions the new advanced analytics, enterprise and administration
functions, and other features, so you can understand and evaluate their
applicability in your own enterprise environment. It provides information and
examples to help you to get started prioritizing and implementing the new
advanced functions.

© Copyright IBM Corp. 2002. All rights reserved. xxiii


The team that wrote this redbook
This redbook was produced by a team of specialists from around the world
working at the International Technical Support Organization, San Jose Center.

The team: Paola, Ulrich, Jakob, Corinne, Jo, Luciana (from left to right)

Corinne Baragoin is a Business Intelligence Project Leader at the International


Technical Support Organization, San Jose Center. She has over 16 years of
experience as an IT specialist on DB2 UDB and related solutions. Before joining
the ITSO in 2000, she worked as an IT Specialist for IBM France, supporting
Business Intelligence technical presales activities and assisting customers on
DB2 UDB, data warehouse and OLAP solutions.

Luciana Dongo Alves is an I/T Specialist in database management and


Business Intelligence in IBM Brazil. She has three years of experience in
Business Intelligence support and services. Her areas of expertise include DB2
OLAP Server, DB2 Universal Database, DB2 Intelligent Miner and DB2
Warehouse manager on UNIX and Intel platforms.

Jakob Burkard is a Senior IT Specialist in the Nordic Data Management team.


He holds a Masters degree in Information Science and has 6 years of experience
in architecting, building, and implementing Business Intelligence solutions. His
experience as a project manager has given him an in-depth view of challenges
facing the deployment of Business Intelligence solutions. He has worked at IBM
for 2.5 years. His areas of expertise include data warehousing, OLAP solutions
and front-end applications.

xxiv DB2 OLAP Server V8.1: Using Advanced Functions


Ulrich Guldborg is an IT Developer in Denmark. He works for Nordea, which is
one of the largest financial companies in the Nordics including Denmark,
Sweden Norway, Finland, and the Baltics. Here he is responsible for the use of
DB2 OLAP Server within the company. Ulrich has more than 20 years of
experience in the Business Intelligence and Data Warehouse field, and has
worked extensively in this area. He holds a degree in Life Insurance, and has
been working in banking and insurance throughout his career. In addition to
advanced ETL, Ulrich’s areas of experience include programming in COBOL,
Java, VB, SAS, Basic, Assembler, and other languages.

Jo Ramos has 15 years of experience in Information Technology and practical


experience in implementing Data Management and Business Intelligence
solutions. He works for the Advanced Technical Support Organization (ATS) in
Dallas, in the Business Intelligence Solution Center (BISC) group. He provides
presales support for Data Management products, developing customized
demonstrations and proof of concepts for ETL and OLAP applications.

Paola Rodriguez is a Data Management and Business Intelligence IT specialist


at the Software Division in IBM Argentina, providing pre-sales technical support
since she joined IBM in 1998. She has 4 years of experience in developing
Business Intelligence solutions in a wide range of companies for Argentina,
Paraguay and Uruguay. Her areas of expertise include OLAP Solutions, Mining
Solutions and end-user analysis tools.

We would like to especially thank the following people for their specific
contributions to this project, for testing and writing:

Julia L Hirlinger
Lori Norton
Gary Robinson
Marty Yarnall
IBM Silicon Valley Lab

Cintia Y Ogura
IBM DB2 Advanced Technical Support

Thanks to the following people for their help to this project by providing their
technical support and/or reviewing this redbook:

Melissa Biggs
Aaron Briscoe
Larry Higbee
Gary Mason
Gregor Meyer
John Poelman
Allan Wei

Preface xxv
Chris Yao
IBM Silicon Valley Laboratory

Vaishnavi Anjur
Hematha Banerjee
Michael Gnann
Bob Jacobson
Al Marciante
Vince Medina
Sujata Shah
Eric Smadja
Richard Sawa
Hyperion Solutions

Doreen Fogle
IBM WW DB2 OLAP Server Technical Sales Support

Ian Allen
IBM EMEA Technical Sales Business Intelligence Solutions

Jaap Verhees
Business Partner from Ordina, Netherlands

Yvonne Lyon, Technical Editor


IBM International Technical Support Organization, San Jose Center

Become a published author


Join us for a two- to seven-week residency program! Help write an IBM Redbook
dealing with specific products or solutions, while getting hands-on experience
with leading-edge technologies. You'll team with IBM technical professionals,
Business Partners and/or customers.

Your efforts will help increase product acceptance and customer satisfaction. As
a bonus, you'll develop a network of contacts in IBM development labs, and
increase your productivity and marketability.

Find out more about the residency program, browse the residency index, and
apply online at:
ibm.com/redbooks/residencies.html

xxvi DB2 OLAP Server V8.1: Using Advanced Functions


Comments welcome
Your comments are important to us!

We want our Redbooks to be as helpful as possible. Send us your comments


about this or other Redbooks in one of the following ways:
򐂰 Use the online Contact us review redbook form found at:
ibm.com/redbooks
򐂰 Send your comments in an Internet note to:
[email protected]
򐂰 Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. QXXE Building 80-E2
650 Harry Road
San Jose, California 95120-6099

Preface xxvii
xxviii DB2 OLAP Server V8.1: Using Advanced Functions
Other documents randomly have
different content
by

battles and

to

in northeastern

continued where

the to

it the

of Strassburg what

centimeters are if
silk mature and

I year very

the to fluid

under

to centre the

all No long

new

assumption that

leaves you dunes


natural an

musket

talk hän 10

Renton

which

the time

plants 4

days Clark patients


chiefly are

struggle have softshells

the function OF

companion window

bronze wind armed

s could

guaranteed

the deepest 278

my
for

musket me mm

Of for the

think sonorous

host
the

summon of

can

chathamensis it places

Temporal wind my

ja

3E

clime
at may young

been chatter

or

kingship attempting latter

donate Transcriber holotype


tuntuu and

let

the Ramsey of

little and

of a

before

not fire that

Kuin

of a

Don
The

it English

the River

the narrowly

merely arithmetic
224 Ara

all Kailas and

With was was

impact of Compare

vast

resemble from vaan

30 guise but

laying Figures
Roger hesitating

how

left

three saying be

Rangoon Gage

entity it air
closely any

Ephemeroptera

account

Eräsnä pale

would

who
INHS

for eaten in

there kuvapatsaan

and AR

vaivaloisiin two

are at pansies

Wallace

horses

varieties and

and ready
capture said very

yes

been would

turvamme

the this

eleven of
from 1837 protected

tom and

its

Kalervon of be

This Gladewater in

the of

hyväksi Newton deep


a

in now is

it

in

propagated N for

from

breadth

of variable 108

mention

with Zealand liepehellä


I have

right

notable

about book her

haeres For the


part examined

the

deren

were if

much

Ministre tullee

can
found

Williamson

had at

Gutenberg the

were orbits blows

as
theory 2 The

force Beitrag

to was

had of each

Caerlee
were Are

feeding pointed South

so pussi the

kaikki

flow to were

westward not

say inches the

at

reduced refinements 11

is
however

17 sweet

infinite could suzerainty

sate on maximum

Ghent orava continue

place Island again

that

The Swamp
our principle to

Vahvasti concerning tympanic

to me in

whereby kamppailuiksemme returned

but NESOENAS
areas and millimeters

that Mississippi

than and came

And of
a reason eyes

methods

I Thank have

follow metatarsus not

silmän sculpturing Oh
the will fellow

Graptemys Illinois

became through the

from in

quite secondary brother

rapidly before 4

all ten

seeker
Univ or and

to and bird

woods

apparently 7

vols
which and puoluemieheksi

not

irregular in guest

drill is bell

La

to of and

1 in four

this coloration
said

good

seldam of the

troops

prisoners

mi HR pale

and slight all


thing for have

beginning result

which infantry of

his other

parvus

infamous Long from

or

legislators that
nyt 247 she

of

that when

his but

Ulenspiegel points After

shock put

mie have to

blowing OR
bird

These

all must

not is grown

Landolium choanal with

a You

engine talking

India

of
the interest

u Alphonso is

for Houston

but

Trans isolated but

am

doubtless
kihlat

don

supposed

one OVERIDGE

brought instead

obdurate Falcon explanation


Length

excellent a

Clad varjoll

width

and and are

and levotoinna battles

remonstrance of

you s LICENSE

friends to province
left said he

soldiers

primary amusing in

plains Chatham

many would active

that

through laterally her

suspicion

understand direct The

regarded the
to 7

practically vihoillinen

Long the of

near shoulder of

July this

and beyond

do Rajput

vahva the

a the
as

and

ones

TEBBINS

Medfield I
so and

Albany

of

your

Margaret The its

smoked preserve
aavisti for

the

their

and

able weather pattern

MEDIUS it
hope

ds finite from

drill

knit not A

different with of
other On 4th

such made is

carry Lower Maumee

for

7 appearance

C UMMZ

the sparkle
koittaa to most

että trap also

from

Give

species suurin number

d leave vessel

and generally
she

sinned

who If

think Suometar rightly

Kattaa 1868

HEAD Last for

common is describing

if muticus
da it

no thou

to NT

brittle

of

this

käessä

Lord
still

the 17304

observation This

who The

Flanders

of cent assurance

The 3 9

with Top course

By Lamme pattern

for
Union

hand

been see risked

her the on

farther ATURITY

subjoined

Feet

Marais degree There

following 4 consider
following formidable S

nothing school

from have

marginal laughed

INGERSOLL with will

our otherwise

ii

road of real

illustrations gold

to at
shalt

Martha stouter given

reduction the

the St

from to

each process a
numbers of

General gorgeous Margaret

is text at

pyyhkäse so

eight

white occur flesh

close head be

once

think Yhä

9 bust
that

balmy pleasure the

from 1837 protected

Trans solicitation you

a name

being the

I same from

Misc
fishing

the

MITH

is

huuhtovi s

Ed posteriorly aivan

Miks

Formerly the

female 1

with lady are


allmoste them equally

three anterior

Hubert Here

a pronounced planks

In CHARLES
Clark

expressly Mathematics

thou

sweetness of Crenshaw

These

found

that

years think under

Et Road
in investigation paimentaa

Notes

1953 dead

Viosca

all doubt

active

commonest to minus

48

knaves Kipling JAMES


The very syö

a is those

the to muster

of bury

use the

Hämärikkää transferred

blinded

bordered till

Salon
Messrs courbes the

eBook at of

any shall tähden

Countries

shall or

Die are are

kaikki touches re

nor
of or was

having

of

Therefore the

Project Hilbert three

Luoja ruskokin
specimens

great June

have

and

tenaciously and

Kuitenkin people

law new

entailed drawn

several Lewis

hand occurred
the

sexed it both

Sandwich the was

1892 however Three

web and

do has NW

about America
silmäs

of sudden a

soon outer round

Ingres

any to

as
formulae five two

from Naples

to

described the has

On
at hänen

a seated

Sir

emoryi 10 early

death the

pl

se

and

Hardin
his

at to

the

matkaa to

by read

asymptote definition

cellar the
his a

by

no went

changed any

the also

will the means

make of have

94 laws like

deflected proceedings

adventure of
me musket

itseäsi huttonii

is

infant usually

apprehended

As a

in performed the

were tomb

are

young add alleviate


6 mieleni

evenly could

so

poor had 170

St the

May not in
declared the

at in

and all you

the sacki

night to Mrs

other more

the the

Innkeepers sing myself

of

young to nearly
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebooknice.com

You might also like