getRedoLogGCStat
Syntax
getRedoLogGCStat()
Arguments
None
Details
Get the status of garbage collection of the redo log. Return a table containing the following columns:
-
physicalName: physical name of the table in the format of /<databaseName>/<physicalName>.
-
txnCount: the number of transactions that have not been garbage-collected.
-
numOfTxnPendingGC: the number of transactions that can be garbage-collected.
-
minTidPendingGC: the minimum tid (transaction ID) of the transactions that can be garbage-collected.
-
numOfTxnPendingFlush: the number of transactions that can be flushed to disk from the cache engine.
-
minTidPendingFlush: the minimum tid of the transactions that can be flushed to disk from the cache engine.
Examples
getRedoLogGCStat()
physicalName | txnCount | numOfTxnPendingGC | minTidPendingGC | numOfTxnPendingFlush | minTidPendingFlush |
---|---|---|---|---|---|
/test/pt_2 | 2 | 0 | 2 | 1031 | |
/listdb/pt_2 | 1 | 1 | 1033 | 0 |