Oracle Enterprise Manager Oracle Expert User's Guide | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
Oracle Expert requires workload data for some of its tuning categories, for example, index and SQL tuning. Fortunately, you do not have to provide Oracle Expert with a complete database workload. Oracle Expert can make good tuning recommendations when provided with a representative workload for the database being tuned.
A representative workload includes:
After you have determined the goals of your tuning session, you need to collect a representative workload for Oracle Expert. After analyzing the representative workload you provide, Oracle Expert can make application tuning recommendations.
To obtain workload data from an active database, you can use Oracle Trace to collect it, or Oracle Expert can collect it from the database's SQL cache.
See the Oracle Enterprise Manager Oracle Trace User's Guide for more information about collecting data using Oracle Trace.
You can provide Oracle Expert with workload data that has been collected by Oracle Trace by collecting the Oracle Trace data directly into Oracle Expert from the Oracle Trace database. Use the Workload Collect Options dialog box to import the workload data directly from the Oracle Trace database into Oracle Expert.
By default, Oracle Expert does not save invalid requests (SQL statements) when it imports the workload. A request is invalid if it refers to a table or schema that has not been collected. To save invalid requests when importing Oracle Trace data, enable the Save Invalid Requests option on the Workload Collect Options dialog box.
By default, Oracle Expert does not save invalid requests (SQL statements) when it imports the workload. A request is invalid if it refers to a table or schema that has not been collected. To save invalid requests when importing SQL cache data, enable the Save Invalid Requests option on the Workload Collect Options dialog box.
The top category in the hierarchy is the Application category (this category is called the Workload Application category on the View/Edit page, to show that the elements in this category are the applications that comprise the tuning session's workload). A possible example of a workload element in this category would be an application called General Ledger.
The second category is the Business Unit category. A possible example of a workload element at this level would be a program module called Accounts Receivable, which would be a component of the General Ledger application in the Application category.
The third category is the Transaction category. A possible example of a Transaction category element would be a transaction called Deposit Payment that is part of the Accounts Receivable program module in the Business Unit category.
The bottom category is the Requests category. Possible examples of Requests category elements would be the SQL statements that comprise the Deposit Payment transaction in the Transaction category.
Table A-1 shows an example of the elements that could appear in a workload hierarchy. This example shows the workload elements that might exist for a single application. If you collect workload data for several applications, there could be many more elements in each workload category.
Workload Category
|
Category Element
|
---|---|
Application
|
General Ledger
|
Accounts Receivable
| |
Deposit Payment
| |
SELECT FROM...
| |
|
INSERT INTO...
|
Oracle Expert assigns names to individual elements in the workload categories when it collects workload data.
Specifying Importance Values for Workload Elements
One of the major benefits of Oracle Expert is that you can use it to optimize the performance of your business's most important applications. Oracle Expert uses the importance value for each workload element to determine the most important applications, then generates recommendations to optimize their performance. Overwriting Workload Data
The Overwrite Existing option on the Workload Collect Options dialog box pertains to workload data at the Application level. When you select Overwrite Existing, Oracle Expert deletes all existing workload data and replaces it with the workload data being imported for that Application.
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |