public class TransactionStats
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
TransactionStats.Active |
Modifier and Type | Method | Description |
---|---|---|
int |
getInittxns() |
The initial number of transactions configured.
|
LogSequenceNumber |
getLastCkp() |
The LSN of the last checkpoint.
|
int |
getLastTxnId() |
The last transaction ID allocated.
|
int |
getMaxNactive() |
The maximum number of active transactions at any one time.
|
int |
getMaxNsnapshot() |
The maximum number of transactions on the snapshot list at any one time.
|
int |
getMaxTxns() |
The maximum number of active transactions configured.
|
long |
getNaborts() |
The number of transactions that have aborted.
|
int |
getNactive() |
The number of transactions that are currently active.
|
long |
getNumBegins() |
The number of transactions that have begun.
|
long |
getNumCommits() |
The number of transactions that have committed.
|
int |
getNumRestores() |
The number of transactions that have been restored.
|
int |
getNumSnapshot() |
The number of transactions on the snapshot list.
|
long |
getRegionNowait() |
The number of times that a thread of control was able to obtain the
transaction region mutex without waiting.
|
long |
getRegionWait() |
The number of times that a thread of control was forced to wait before
obtaining the transaction region mutex.
|
long |
getRegSize() |
The size of the region.
|
long |
getTimeCkp() |
The time the last completed checkpoint finished (as the number of
seconds since the Epoch, returned by the IEEE/ANSI Std 1003.1
(POSIX) time interface).
|
TransactionStats.Active[] |
getTxnarray() |
An array of
Active objects, describing the currently active transactions. |
java.lang.String |
toString() |
public int getNumRestores()
public LogSequenceNumber getLastCkp()
public long getTimeCkp()
public int getLastTxnId()
public int getInittxns()
public int getMaxTxns()
public long getNaborts()
public long getNumBegins()
public long getNumCommits()
public int getNactive()
public int getNumSnapshot()
DatabaseConfig.setMultiversion(boolean)
, and which have committed or aborted, but
the copies of pages they created are still in the cache.public int getMaxNactive()
public int getMaxNsnapshot()
public long getRegionWait()
public long getRegionNowait()
public long getRegSize()
public TransactionStats.Active[] getTxnarray()
Active
objects, describing the currently active transactions.public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.