LTXHWM configuration parameter
Use the LTXHWM configuration parameter to specify the long-transaction high-watermark. The long-transaction high-watermark is the percentage of available log space that, when filled, triggers the database server to check for a long transaction.
- onconfig.std value
- LTXHWM 70
- if not present
80
(if DYNAMIC_LOGS is set to1
or2
)50
(if DYNAMIC_LOGS is set to0
)- values
- 1 - 100
- units
- Percent
- takes effect
- After you edit your onconfig file and restart the database server.
Usage
When the logical-log space reaches the LTXHWM threshold, the database server starts rolling back the transaction. If you decrease the LTXHWM value, increase the size or number of log files to make rollbacks less likely.
If
DYNAMIC_LOGS is set to 1
or 2
, the
database server can add a sufficient number of log files to complete
the transactions or to prevent rollbacks from hanging when you have
long transactions.
100
,
the database server issues a warning message:LTXHWM is set to 100%. This long transaction high water mark will never be reached. Transactions will not be aborted automatically by the server, regardless of their length.
If the transaction hangs, follow the instructions for recovering from a long transaction hang, in the chapter on managing logical-log files in the HCL OneDB™ Administrator's Guide.