ttXactLog
Displays a formatted dump of the contents of a TimesTen transaction log.
It is designed to be used by TimesTen customer support to diagnose problems in the log or database.
A loss of data can occur with certain options such as -tr
, therefore only use this tool if you have been asked to do so by a TimesTen customer support representative.
Required Privilege
This utility requires the ADMIN
privilege.
Usage in TimesTen Scaleout and TimesTen Classic
This utility is supported in both TimesTen Classic and TimesTen Scaleout; however, in TimesTen Scaleout, the utility is limited to diagnosing issues only on single elements.
Syntax
ttXactLog {-h | -help | -?} ttXactLog {-V | -version} ttXactLog [-v verbosity] [-m maxChars] [-s] [-t] [-b blkID] [-l1 lfn.lfo [-l2 lfn.lfo]] [-r recType] [...] [-tr dir] [-lb] [-headers recs] [-logdir dir] {-connStr connection_string | DSN | dspath} ttXactLog [-v verbosity] -logAnalyze [-s subscriberName -host hostname]] [-xid xid] {-connStr connection_string | DSN | dspath}
Options
ttXactLog
has the options:
Option | Description |
---|---|
|
Restricts log records to those accessing this block, plus any transaction records. |
|
An ODBC connection string that specifies a database location, driver, and optionally other connection attribute settings. |
|
The ODBC source name of the database for which to display the transaction log. |
|
The fully qualified name of the database. This is not the DSN associated with the connection but the fully qualified database path name associated with the database as specified in the For example, for a database consisting of files |
|
Prints a usage message and exits. |
- |
Prints one header for every |
|
Specifies the name of the host on which the subscriber resides. Use this option with the |
- |
Connects to the database and prints out the log buffer. Contents of the transaction log files are not printed. Requires |
|
Transaction log file number ( |
|
Considers this log record only (unless an - |
|
Considers records between - |
|
Determines the remaining amount of a database to be replicated for one or all of the subscribers.Use with the
Use with |
|
Specifies the directory where the database's transaction log files reside. If |
|
Maximum number of characters printed for binary items (for |
|
Considers only records of the specified type. This option may be used multiple times to specify a list of desired log record types. |
|
Prints summary information. Requires |
|
Specifies the name of the subscriber. To qualify the name of the subscriber, use |
|
Only reads transaction log file tail (from start of last checkpoint transaction log file or, if no checkpoint, the most recent transaction log file). |
|
Truncates all log records in the directory at the |
|
Prints the release number of |
|
Specifies the verbosity level. One of:
|
|
Specifies the transaction ID. |
Examples
% ttXactLog -v 3 -m 100 /users/pat/TimesTen/Daily/F112697SS
See Also
- Analyze Outstanding Transactions in the Replication Log in the Oracle TimesTen In-Memory Database Replication Guide .