Lesson 8 | How do we measure Oracle performance? |
Objective | Name the metrics of Oracle performance. |
Measuring Oracle Performance
The following metrics help answer the question, "Is my database properly tuned?"
When is my database fully tuned?
The answer to this question is not simple. The Oracle database will always perform faster when given more resources. To use a simple example, an Oracle database that has enough memory to fully cache all programs and data will perform far faster than a database that must go to the disks to get programs and data. Hence, the tuning of Oracle must always be weighed against the resources of the computer where the server resides. Oracle should be given enough resources to prevent excessive I/O, but not given so many resources that other tasks on the computer will suffer from low resources.
There are specific metrics, things you can check to monitor the level of Oracle performance, to see how well different components are performing. Below are some common metrics. Of course there are external factors that can affect performance as well, but these metrics will help you examine the external factors which effect performance.
External factors that effect performance
When measuring Oracle performance, we must always remember that the Oracle database does not run by itself. When an end-user complains of poor response time, the cause could be the network and CPU or a host of other non-Oracle causes.
There are external factors within the computer that may cause Oracle performance degradation. Network bottlenecks, shortages of RAM storage, disk I/O bottlenecks, and CPU overloads can all influence Oracle performance.
Your Oracle database is at the mercy of the server. If you have a lack of CPU or memory,
no amount of tuning will improve performance.
Performance from the point at which the transaction enters Oracle until the result is passed back to the end user.
Common Performance Metrics
Measure Oracle Performance - Exercise