Skip to main content

Multi-Dimensional Clustering Table Size Estimator for DB2

A utility for determining space requirements and simplifying administration of Multi-Dimensional Clustering (MDC) tables in DB2.

Date Posted: August 22, 2006

alphaworks tab navigation


 

Update: February 19, 2008 Updated binaries/tool for DB2 Version 8.1 Fixpack 14 for 64-bit AIX.

 

What is Multi-Dimensional Clustering Table Size Estimator for DB2?

Many applications, OLAP and data warehousing in particular, usually consider several attributes as dimensions for processing and maintenance. Performance and scalability of queries in this type of environment can be slow using the traditional relational-database approach based on one-dimensional clustering, in which an index composed of one or more key parts is identified as the basis for data clustering.

The Multi-Dimensional Clustering (MDC) Table support in DB2® is defined to include one or more clustering dimensions and resolves many of these performance issues. However, Database administrators working with MDC tables must manually estimate sizes of MDC tables and allocate space ahead of time. This can be both an error-prone and a time-consuming process.

Multi-Dimensional Clustering Table Size Estimator for DB2 can be used to determine the space requirements when a normal table is converted to MDC or when the clustering dimensions of an existing MDC table are changed. This utility optimally estimates the MDC table size requirements based on table statistics and MDC dimension parameters.

How does it work?

After installation, use the following syntax to launch the utility:

db2mdcsizer <database name> <schema name> 
   <table name> <dimension column list>
[dimension column expression] [-s] [-g] [-e] [-c] 
   [-user <username> -password <password>]

Notes:

The input parameters in the above code are as follows:

Note: The goal of the utility is to help estimate MDC table size within reasonable limits. Minor variance of a few cells might be observed if the sampling specified is not 100%.

The output includes the following:

About the technology author(s)

Palasamudram N. Praveena is a project leader for the information management team at IBM®""s India Software Lab. She has about six years of experience in DB2. Currently, Ms. Praveena provides technical support for DB2 UDB Data Links Manager. She is a certified IBM DB2 Database Administrator and has been part of the DB2 support team for some time.

Sam Lightstone is a senior technical staff member and a development manager with IBM""s DB2 Universal Database development team. He is a co-founder and leader of research and development for DB2""s autonomic computing.

Trademarks




Related technologies