The <versiontrigger> database configuration
element
The <versiontriggers> element in file database-config.xml can contain any number of occurrences of subelement <versiontrigger>. The use of the <versiontrigger> element is optional. Use this element to provide specific override instructions for a named version trigger.
The <versiontriggers> element has the following syntax. The following code sample shows required attributes in bold font.
<database>
<upgrade>
<versiontriggers>
<versiontrigger extendedquerytracingenabled="true|false" name="string"
parallel-dml="true|false" parallel-query="true|false"
queryoptimizertracingenabled="true|false" recordcounters="true|false"
updatejoinorderedhint="true|false" updatejoinusemergehint="true|false"
updatejoinusenlhint="true|false"/>
</versiontriggers>
</upgrade>
</database>
The following list describes the attributes that you can configure on the <versiontrigger> element.
|
Required. Case-sensitive, fully qualified name of a version trigger. |
The following attributes are all optional. |
|
|
Boolean. (Oracle) Whether PolicyCenter uses extended SQL tracing (Oracle
event 10046) for the SQL statements that the version trigger executes. The default
is This output can be very useful if debugging certain types of performance problems. The trace files that PolicyCenter generates exist only on the actual database computer. PolicyCenter does not integrate this information into the upgrade instrumentation. |
|
Boolean. (Oracle) Whether Oracle executes DML (Data Manipulation Language) statements in parallel for this particular version trigger during the database upgrade. Valid values are:
If not set, Oracle executes DML statements in parallel, if set in the code or the
|
|
Boolean. (Oracle) Whether a version trigger provides a hint to the optimizer to use parallel queries while executing SQL queries. This can be useful in improving performance as some version triggers read large amounts of data while running their version check. Valid values are:
The default is See The <upgrade> database configuration element for more information. |
|
Boolean. (Oracle) Whether PolicyCenter uses query optimizer tracing (Oracle
event 10053) for the SQL statements that the version trigger executes. The default
is This output can be very useful if debugging certain types of performance problems. The trace files that PolicyCenter generates exist only on the actual database computer. PolicyCenter does not integrate this information into the upgrade instrumentation. |
|
Boolean. Whether to record the values of DBMS-specific counters at the beginning and end of each execution of the specified version trigger. Valid values are:
The default is PolicyCenter writes differences to the DBMS-specific instrumentation screens of the upgrade instrumentation. PolicyCenter only persists these values with the upgrade instrumentation if the execution time of the version trigger exceeds the configured threshold. See also The <versiontriggers> database configuration element. |
|
Boolean. (Oracle) Whether to use the |
|
Boolean. (Oracle) Whether to use the |
|
Boolean. (Oracle) Whether to use the |
The <version-trigger> element does not contain additional subelements.
See also
