DB2 Estimator
DB2 Estimator is a free stand-alone tool runs on a personal computer and can be that can be used to estimate the performance of applications that run against DB2 V5, V6, V7 or V8 subsystems. DB2 Estimator does not need to connect to a DB2 subsystem in order to function.
DB2 Estimator can be used to provide a table sizing information, and can be used to provide detailed performance analysis of an entire DB2 application.
DB2 Estimator is a proven aid to application DBA’s and can help to save time, lower costs migrate applications into production environments, enhance and modify existing applications.
DB2 Estimator can be used throughout all phases of the life cycle of a relational database application.
Initial Design Phase
In the initial design phase, the detailed specifications of the tables,indexes and SQL statements used by your application might not be available. Using DB2 Estimator, you can quickly and easily determine whether your proposed design is feasible and optimal.
Tables can be defined in DB2 Estimator ahead of time. Columns and significant attributes of the table can be entered into DB2 Estimator. Index creation is as simple as choosing the columns that need to be added From these basic definitions, DASD space requirements can be viewed, giving you a ball-park figure for the space needed to accomodate your application.
SQL statements can be defined or imported into DB2 Estimator which will approximate those statements that will be used within the application. Then DB2 Estimator can be used to view the cost and performance of running those SQL statements in terms of CPU and I/O capacity. SQL statements can be grouped together to model DB2 transactions and costs can then be viewed at the transaction level.
Finally, DB2 applications can be modelled by grouping transactions and specifying a rate for each transaction type. DB2 estimator estimates the amount of CPU and I/O capacity needed to run the application in your environment as well as the average elapsed time for each transaction type. The sample results screen contains the results of such an estimate.
DB2 Estimator can be used to model standalone DB2 systems, or distributed DB2 Server Systems and include Data-Sharing. DB2 Estimator also provides several predefined utilities and determine the costs of running them.
DB2 Estimator allows the definitions contained within the project to help evaluate alternative application designs. By comparing the cost and performance of these designs, it is possible to determine which design provides the optimum cost/performance ratio before valuable time and resources are invested in developing the application or creating a real database.
Developing Application and Database Objects
When you are ready to create real database objects, you can use the models specified in DB2 Estimator as a guide for naming columns and specifying attribute values. As application modules or individual programs are designed and coded, DB2 Estimator can be used to get a quick estimate of the expected performance without the need for creating real database objects. These estimates can alert you to problems that are easiest to fix at this early stage.
As application code and database design nears completion. DB2 Estimator can be used to ensure that performance is still optimal.
The accuracy of the estimates generated by DB2 Estimator can be enhanced by inputting data into DB2 Estimator from the DB2 EXPLAIN statement, or from such tools as DB2 PM.
Production Application
Performance monitoring tools such as Mainview or DB2PM are commonly used to detect application performance problems during production. Common solutions to these performance problems include changes in index and SQL design. DB2 Estimator can be used to evaluate alternative SQL designs and the resulting effects on system performance before any production database objects are modified. DB2 Estimator can also help to determine the impact resulting from a hardware and/or workload change.
Major Benefits of DB2 Estimator
- Can provide accurate estimates of DB2 application capacity requirements
- Can handle DB2 UDB for OS/390 versions 5, 6, and 7
- The easiest way to estimate performance of alternative Table structures and SQL coding. DB2 application capacity requirements
- Lets you view costs instantly online, and print or export files to spreadsheet applications
- Easily obtain DASD size calculations by table, index and application.
- Provides online help and an easy-to-use graphical user interface
- Can be used without a connection to a DB2 subsystem
- Can be used as a training and learning tool
- You can download table, index, view and SQL definitions via flat files
Assumptions
DB2 Estimator assumes that only one table exists per table space.
DB2 Estimator assumes that each table and index is on a separate disk device and that each partition of a table or index is on a separate device.
It is not possible to override DB2 Estimator and allocate more than one table or index on a disk device.
It is not possible to put more than one table in a table space.
With this simplification, DB2 Estimator does not need to mention table spaces in the table sizing reports, utility performance estimates, or in Capacity Runs reports.
Sphere: Related Content
