sysadmin sqt_dump_queue

Dumps the transaction cache for an inbound queue or a DSI queue.

Syntax

sysadmin sqt_dump_queue {, q_number | server[, database]}, 
        q_type, reader 
        [, {open | closed | read}] 
        [, num_cmds]
        [, {L0 | L1 | L2 | L3}]
        [, {RSSD | client | “log” | file_name}]

Parameters

Examples

Usage

  • Before using sysadmin sqt_dump_queue, execute admin who, sqt to make sure the transaction cache for the database exists.

  • This command dumps all the statements of transactions in the transaction cache.

  • sysadmin sqt_dump_queue dumps transaction statements into one of these:
    • Replication Server log

    • Alternate log file

    • RSSD

    • Client issuing the command

    To dump transactions into the RSSD or client, the last argument of sysadmin sqt_dump_queue must be RSSD or client.

    If an alternative log file for dumping transactions is specified through the sysadmin dump_file command or through the file_name option, the output goes into the alternative dump file.

    If the RSSD or client option is not specified, or the log option is specified, output goes into the Replication Server log.

  • The output from the sysadmin sqt_dump_queue indicates the state of transactions in the transaction cache as open, closed, or read. Open transactions are transactions that do not have a commit yet. Closed transactions have a commit but have not been completely read out yet. Read transactions have been completely read out but have not been deleted yet.

  • You can modify the cache size by setting the configuration parameter, sqt_max_cache_size.

Permissions

sysadmin sqt_dump_queue requires “sa” permission.

Related reference
admin who
sysadmin dump_file