Open the Administration tray. Open the Administration tray. Click Oracle Query Optimizer, then Hint Rules Configuration. Open the Administration tray. Click Oracle Query Optimizer, then Hint Rules Configuration.

4-28 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server qualified columns columns that are qualified by tablealias names and columns that have a hint rule defined. The cache key excludes conditions that contain joins or subqueries. The following example illustrates how the cache key is generated from a given query: SELECT DocMeta., Documents., Revisions. FROM DocMeta, Documents, Revisions WHERE DocMeta.dID = Revisions.dID AND Revisions.dID=Documents.dID AND Revisions.dDocName=abc AND Revisions.dStatusDELETED AND Revisions.dReleaseState=U OR Revisions.dReleaseState=I OR Revisions.dReleaseState=Y AND Documents.dIsPrimary0 The generated cache key is as follows: documents.disprimary:notequal:documents|revisions.ddocname:equal:revisions|revisio ns.dreleasestate:in:revisions|revisions.dstatus:notequal:revisions

4.2.5.10.5 Hint Cache Persistence The hint cache is designed to be persistent. To ensure

the persistence, the hint cache is saved to the file system every two hours. The persisted hint cache is reloaded when the Oracle Content Server instance is started.

4.2.5.11 Using Hint Rules

The following tasks are involved in using hint rules: ■ Adding and Enabling New Hint Rules ■ Editing Existing Hint Rules ■ Disabling Hint Rules ■ Enabling Hint Rules ■ Removing Hint Rules To access the Edit Hint Rules Form:

1. Open the Administration tray.

2. Click Oracle Query Optimizer, then Hint Rules Configuration.

The Hint Rules Configuration Page is displayed, including the Edit Hint Rules Form.

4.2.5.11.1 Adding and Enabling New Hint Rules To add a new hint rule to the Hint Rules

Table:

1. Open the Administration tray.

2. Click Oracle Query Optimizer, then Hint Rules Configuration.

3. In the Edit Hint Rules Form, complete the fields. For more detailed explanations of each field, see Section 4.2.5.7, The Hint Rules Table and the Section A.1.3.8, Hint Rules Configuration Page.

4. Click the Add button.

The new hint rule is added to the Hint Rules Table and is effective immediately.

4.2.5.11.2 Editing Existing Hint Rules To edit an existing hint rule in the Hint Rules

Table:

1. Open the Administration tray.

2. Click Oracle Query Optimizer, then Hint Rules Configuration.

Managing System Settings 4-29 3. Select the desired hint rule in the Hint Rules Table on the Hint Rules Configuration Page . All of the applicable fields in the Edit Hint Rules Form are populated with the hint rules values. 4. Edit the fields as desired. For more detailed explanations of each field, see Section 4.2.5.7, The Hint Rules Table and the Section A.1.3.8, Hint Rules Configuration Page. 5. Change the key.

6. Click the Add button.