8.6.2  DB2 UDB configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
8.7  Database management tools  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
8.7.1  MySQL phpMyAdmin and Control Center. . . . . . . . . . . . . . . . . . . . 256
8.7.2  DB2 UDB Control Center  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
8.7.3  DB2 UDB Web Command Center. . . . . . . . . . . . . . . . . . . . . . . . . . 260
Chapter 9.  Testing and tuning
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
9.1  Test planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
9.1.1  Principles of software tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
9.1.2  Test documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
9.1.3  Test phases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
9.1.4  Time planning and time exposure . . . . . . . . . . . . . . . . . . . . . . . . . . 269
9.2  Data checking techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
9.2.1  IMPORT/LOAD messages  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
9.2.2  Data checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
9.3  Code and application testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
9.3.1  Application code check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
9.3.2  Security testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
9.3.3  Tools for testing and problem tracking  . . . . . . . . . . . . . . . . . . . . . . 276
9.4  Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
9.4.1  Interpreting DB2 informational messages . . . . . . . . . . . . . . . . . . . . 277
9.4.2  DB2 diagnostic logs  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
9.4.3  DB2 support information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
9.4.4  Problem determination tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
9.5  Initial tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
9.5.1  Table spaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
9.5.2  Physical placement of database objects . . . . . . . . . . . . . . . . . . . . . 298
9.5.3  Buffer pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
9.5.4  Large transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
9.5.5  SQL execution plan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
9.5.6  Configuration Advisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
9.5.7  Index Advisor  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Chapter 10.  Advanced DB2 UDB features
. . . . . . . . . . . . . . . . . . . . . . . . . 317
10.1  Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
10.2  Stored procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
10.3  Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
10.4  User defined data types (UDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
10.5  User defined functions  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
10.6  Materialized query tables (MQT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
10.7  Multidimensional clustering (MDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Appendix A.  Sample code for user defined functions
. . . . . . . . . . . . . . . 335
A.1  Sample code for BIT_AND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
vi
MySQL to DB2 UDB Conversion Guide






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

san diego web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved