Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Performance Basics >

A Basic Approach to Performance Measurement and Tuning

Early indications of a performance problem are often vague; users might report that the system seems sluggish. Users might complain that they cannot get all their work done, that transactions take too long to complete, that queries take too long to process, or that the application slows down at certain times during the day. To determine the nature of the problem, you must measure the actual use of system resources and evaluate the results.

Users typically report performance problems in the following situations:

To maintain optimum performance for your database applications, develop a plan for measuring system performance, making adjustments to maintain good performance and taking corrective measures when performance degrades. Regular, specific measurements can help you to anticipate and correct performance problems. By recognizing problems early, you can prevent them from affecting users significantly.

An iterative approach to optimizing database server performance is recommended. If repeating the steps found in the following list does not produce the desired improvement, insufficient hardware resources or inefficient code in one or more client applications might be causing the problem.

To optimize performance
  1. Establish performance objectives.
  2. Take regular measurements of resource utilization and database activity.
  3. Identify symptoms of performance problems: disproportionate utilization of CPU, memory, or disks.
  4. Tune the operating-system configuration.
  5. Tune the database server configuration.
  6. Optimize the chunk and dbspace configuration, including placement of logs, sort space, and space for temporary tables and sort files.
  7. Optimize the table placement, extent sizing, and fragmentation.
  8. Improve the indexes.
  9. Optimize background I/O activities, including logging, checkpoints, and page cleaning.
  10. Schedule backup and batch operations for off-peak hours.
  11. Optimize the implementation of the database application.
  12. Repeat steps 2 through 11.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]