Oracle provides powerful tools for diagnosing database performance bottlenecks, such as long running queries and disk I/O waits. These are Advanced Workload Repository (AWR) and Automated Database Diagnostic Monitor (ADDM) tools. These are very useful tools for understanding how the application level APIs affects how the DB performs. Often times, some application API calls will take more time to complete while a seemingly similar application API call takes much less time to complete, for example, a user's application might be drawing different layers of spatial data on a map. From the application's point of view, there might not be much difference between the different layers of data, but on the database, the underlying queries against the different layers might perform differently. In this section, we describe how to use database supplied tools to collect and analyze information regarding the application workloads.
While analyzing bottlenecks for an application, it is good practice...