Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Retrieves information about log holds, including those created on behalf of incremental backups, replication peers, persistent XLA subscribers, XA, long-running transactions and checkpoints. This procedure can help diagnose situations where it appears that checkpoint operations are not purging all unneeded transaction log files.
This procedure requires no privilege.
Syntax
ttLogHolds()
Parameters
ttLogHolds has no parameters.
Result set
ttLogHolds returns the result set:
Column | Type | Description |
---|---|---|
HoldLFN |
TT_INTEGER NOT NULL | Returns the transaction log file number of the hold. |
HoldLFO |
TT_INTEGER NOT NULL | Returns the transaction log file offset of the hold |
type |
TT_CHAR (30) NOT NULL | Returns the type of hold, one of:
|
description |
TT_VARCHAR (1024) NOT NULL | Describes the type-specific object for which the hold was created. Each description corresponds with the Type returned. Descriptions are one of:
|
Example
CALL ttLogHolds(); < 0, 1148544, Long-Running XA Transaction , 0x1-476c6f62616c-5861637431 > < 0, 1149752, Long-Running Transaction, 4.2 > < 0, 1149992, Checkpoint , sample.ds1 > < 0, 1150168, Checkpoint , sample.ds0 >