|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.EnvironmentStats
public class EnvironmentStats
System wide statistics for a single environment.
Constructor Summary | |
---|---|
EnvironmentStats()
|
Method Summary | |
---|---|
long |
getAdminBytes()
The number of bytes of JE cache used for log cleaning metadata and other administrative structures. |
long |
getBufferBytes()
The total memory currently consumed by log buffers, in bytes. |
long |
getCacheDataBytes()
Deprecated. Please use getDataBytes() to get the amount of cache
used for data and use getAdminBytes() , getLockBytes() and
getBufferBytes() to get other components of the total cache usage
(getCacheTotalBytes() ). |
long |
getCacheTotalBytes()
The total amount of JE cache in use, in bytes. |
int |
getCleanerBacklog()
The number of files to be cleaned to reach the target utilization. |
long |
getCursorsBins()
The number of bins encountered by the INCompressor that had cursors referring to them when the compressor ran. |
long |
getDataBytes()
The amount of JE cache used for holding data, keys and internal Btree nodes, in bytes. |
long |
getDbClosedBins()
The number of bins encountered by the INCompressor that had their database closed between the time they were put on the compressor queue and when the compressor ran. |
long |
getEndOfLog()
The location of the next entry to be written to the log. |
long |
getInCompQueueSize()
The number of entries in the INCompressor queue when the getStats() call was made. |
long |
getLastCheckpointEnd()
The location in the log of the last checkpoint end. |
long |
getLastCheckpointId()
The Id of the last checkpoint. |
long |
getLastCheckpointStart()
The location in the log of the last checkpoint start. |
long |
getLockBytes()
The number of bytes of JE cache used for holding locks and transactions. |
long |
getNBINsStripped()
The number of BINS stripped by the evictor. |
long |
getNCacheMiss()
The total number of requests for database objects which were not in memory. |
long |
getNCheckpoints()
The total number of checkpoints run so far. |
long |
getNCleanerDeletions()
The number of cleaner file deletions this session. |
long |
getNCleanerEntriesRead()
The accumulated number of log entries read by the cleaner. |
long |
getNCleanerRuns()
The number of cleaner runs this session. |
long |
getNClusterLNsProcessed()
The accumulated number of LNs processed because they qualify for clustering. |
long |
getNDeltaINFlush()
The accumulated number of Delta INs flushed to the log. |
long |
getNEvictPasses()
The number of passes made to the evictor. |
int |
getNFileOpens()
The number of times a log file has been opened. |
long |
getNFSyncRequests()
The number of fsyncs requested through the group commit manager. |
long |
getNFSyncs()
The number of fsyncs issued through the group commit manager. |
long |
getNFSyncTimeouts()
The number of fsync requests submitted to the group commit manager which timed out. |
long |
getNFullBINFlush()
The accumulated number of full BINS flushed to the log. |
long |
getNFullINFlush()
The accumulated number of full INs flushed to the log. |
long |
getNINsCleaned()
The accumulated number of INs cleaned. |
long |
getNINsDead()
The accumulated number of INs that were not found in the tree anymore (deleted). |
long |
getNINsMigrated()
The accumulated number of INs migrated. |
long |
getNINsObsolete()
The accumulated number of INs obsolete. |
long |
getNLNQueueHits()
The accumulated number of LNs processed without a tree lookup. |
long |
getNLNsCleaned()
The accumulated number of LNs cleaned. |
long |
getNLNsDead()
The accumulated number of LNs that were not found in the tree anymore (deleted). |
long |
getNLNsLocked()
The accumulated number of LNs encountered that were locked. |
long |
getNLNsMarked()
The accumulated number of LNs that were marked for migration during cleaning. |
long |
getNLNsMigrated()
The accumulated number of LNs encountered that were migrated forward in the log. |
long |
getNLNsObsolete()
The accumulated number of LNs obsolete. |
int |
getNLogBuffers()
The number of log buffers currently instantiated. |
long |
getNMarkedLNsProcessed()
The accumulated number of LNs processed because they were previously marked for migration. |
long |
getNNodesExplicitlyEvicted()
The accumulated number of nodes evicted. |
long |
getNNodesScanned()
The accumulated number of nodes scanned in order to select the eviction set. |
long |
getNNodesSelected()
The accumulated number of nodes selected to evict. |
long |
getNNotResident()
The number of requests for database objects not contained within the in memory data structures. |
long |
getNonEmptyBins()
The number of bins encountered by the INCompressor that were not actually empty when the compressor ran. |
int |
getNOpenFiles()
The number of files currently open in the file cache. |
long |
getNPendingLNsLocked()
The accumulated number of pending LNs that could not be locked for migration because of a long duration application lock. |
long |
getNPendingLNsProcessed()
The accumulated number of LNs processed because they were previously locked. |
long |
getNRandomReadBytes()
The number of bytes read which required respositioning the disk head more than 1MB from the previous file position. |
long |
getNRandomReads()
The number of disk reads which required respositioning the disk head more than 1MB from the previous file position. |
long |
getNRandomWriteBytes()
The number of bytes written which required respositioning the disk head more than 1MB from the previous file position. |
long |
getNRandomWrites()
The number of disk writes which required respositioning the disk head by more than 1MB from the previous file position. |
long |
getNRepeatFaultReads()
The number of reads which had to be repeated when faulting in an object from disk because the read chunk size controlled by je.log.faultReadSize is too small. |
long |
getNRepeatIteratorReads()
The number of times we try to read a log entry larger than the read buffer size and can't grow the log buffer to accommodate the large object. |
long |
getNRootNodesEvicted()
The accumulated number of database root nodes evicted. |
long |
getNSequentialReadBytes()
The number of bytes read which did not require respositioning the disk head more than 1MB from the previous file position. |
long |
getNSequentialReads()
The number of disk reads which did not require respositioning the disk head more than 1MB from the previous file position. |
long |
getNSequentialWriteBytes()
The number of bytes written which did not require respositioning the disk head more than 1MB from the previous file position. |
long |
getNSequentialWrites()
The number of disk writes which did not require respositioning the disk head by more than 1MB from the previous file position. |
int |
getNSharedCacheEnvironments()
The number of environments using the shared cache. |
long |
getNTempBufferWrites()
The number of writes which had to be completed using the temporary marshalling buffer because the fixed size log buffers specified by je.log.totalBufferBytes and je.log.numBuffers were not large enough. |
long |
getNToBeCleanedLNsProcessed()
The accumulated number of LNs processed because they are soon to be cleaned. |
long |
getProcessedBins()
The number of bins that were successfully processed by the IN Compressor. |
long |
getRequiredEvictBytes()
The number of bytes that must be evicted in order to get within the memory budget. |
long |
getSharedCacheTotalBytes()
The total amount of the shared JE cache in use, in bytes. |
long |
getSplitBins()
The number of bins encountered by the INCompressor that were split between the time they were put on the compressor queue and when the compressor ran. |
long |
getTotalLogSize()
An approximation of the current total log size in bytes. |
void |
setAdminBytes(long adminBytes)
|
void |
setBufferBytes(long bufferBytes)
|
void |
setCacheTotalBytes(long cacheTotalBytes)
|
void |
setCleanerBacklog(int val)
|
void |
setCursorsBins(long val)
|
void |
setDataBytes(long dataBytes)
|
void |
setDbClosedBins(long val)
|
void |
setEndOfLog(long lsn)
|
void |
setInCompQueueSize(long val)
|
void |
setLastCheckpointEnd(long lsn)
|
void |
setLastCheckpointId(long l)
|
void |
setLastCheckpointStart(long lsn)
|
void |
setLockBytes(long lockBytes)
|
void |
setNBINsStripped(long l)
|
void |
setNCacheMiss(long nCacheMiss)
|
void |
setNCheckpoints(long val)
|
void |
setNCleanerDeletions(long val)
|
void |
setNCleanerEntriesRead(long val)
|
void |
setNCleanerRuns(long val)
|
void |
setNClusterLNsProcessed(long val)
|
void |
setNDeltaINFlush(long val)
|
void |
setNEvictPasses(long val)
|
void |
setNFileOpens(int val)
|
void |
setNFSyncRequests(long val)
|
void |
setNFSyncs(long val)
|
void |
setNFSyncTimeouts(long val)
|
void |
setNFullBINFlush(long val)
|
void |
setNFullINFlush(long val)
|
void |
setNINsCleaned(long val)
|
void |
setNINsDead(long val)
|
void |
setNINsMigrated(long val)
|
void |
setNINsObsolete(long val)
|
void |
setNLNQueueHits(long val)
|
void |
setNLNsCleaned(long val)
|
void |
setNLNsDead(long val)
|
void |
setNLNsLocked(long val)
|
void |
setNLNsMarked(long val)
|
void |
setNLNsMigrated(long val)
|
void |
setNLNsObsolete(long val)
|
void |
setNLogBuffers(int nLogBuffers)
|
void |
setNMarkedLNsProcessed(long val)
|
void |
setNNodesExplicitlyEvicted(long l)
|
void |
setNNodesScanned(long l)
|
void |
setNNodesSelected(long l)
|
void |
setNNotResident(long nNotResident)
|
void |
setNonEmptyBins(long val)
|
void |
setNOpenFiles(int val)
|
void |
setNPendingLNsLocked(long val)
|
void |
setNPendingLNsProcessed(long val)
|
void |
setNRandomReadBytes(long val)
|
void |
setNRandomReads(long val)
|
void |
setNRandomWriteBytes(long val)
|
void |
setNRandomWrites(long val)
|
void |
setNRepeatFaultReads(long val)
|
void |
setNRepeatIteratorReads(long val)
|
void |
setNRootNodesEvicted(long l)
|
void |
setNSequentialReadBytes(long val)
|
void |
setNSequentialReads(long val)
|
void |
setNSequentialWriteBytes(long val)
|
void |
setNSequentialWrites(long val)
|
void |
setNSharedCacheEnvironments(int nSharedCacheEnvironments)
|
void |
setNTempBufferWrites(long val)
|
void |
setNToBeCleanedLNsProcessed(long val)
|
void |
setProcessedBins(long val)
|
void |
setRequiredEvictBytes(long l)
|
void |
setSharedCacheTotalBytes(long sharedCacheTotalBytes)
|
void |
setSplitBins(long val)
|
void |
setTotalLogSize(long val)
|
java.lang.String |
toString()
Returns a String representation of the stats in the form of <stat>=<value> |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentStats()
Method Detail |
---|
public long getCursorsBins()
public long getDbClosedBins()
public long getInCompQueueSize()
public long getLastCheckpointId()
public long getNCacheMiss()
public long getNCheckpoints()
public int getCleanerBacklog()
public long getNCleanerRuns()
public long getNCleanerDeletions()
public long getNDeltaINFlush()
public long getLastCheckpointEnd()
public long getEndOfLog()
Note that the log entries prior to this position may not yet have been flushed to disk. Flushing can be forced using a Sync or WriteNoSync commit, or a checkpoint.
public long getLastCheckpointStart()
public long getNCleanerEntriesRead()
public long getNEvictPasses()
public long getNFSyncs()
public long getNFSyncRequests()
public long getNFSyncTimeouts()
public long getNFullINFlush()
public long getNFullBINFlush()
public long getNINsObsolete()
public long getNINsCleaned()
public long getNINsDead()
public long getNINsMigrated()
public long getNLNsObsolete()
public long getNLNsCleaned()
public long getNLNsDead()
public long getNLNsLocked()
public long getNLNsMigrated()
public long getNLNsMarked()
public long getNLNQueueHits()
public long getNPendingLNsProcessed()
public long getNMarkedLNsProcessed()
public long getNToBeCleanedLNsProcessed()
public long getNClusterLNsProcessed()
public long getNPendingLNsLocked()
public int getNLogBuffers()
public long getNRandomReads()
This number is approximate and may differ from the actual number of random disk reads depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNRandomReadBytes()
This number is approximate vary depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNRandomWrites()
This number is approximate and may differ from the actual number of random disk writes depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNRandomWriteBytes()
This number is approximate vary depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNSequentialReads()
This number is approximate and may differ from the actual number of sequential disk reads depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNSequentialReadBytes()
This number is approximate vary depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNSequentialWrites()
This number is approximate and may differ from the actual number of sequential disk writes depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNSequentialWriteBytes()
This number is approximate vary depending on the type of disks and file system, disk geometry, and file system cache size.
public long getNNodesExplicitlyEvicted()
public long getNRootNodesEvicted()
public long getNBINsStripped()
public long getRequiredEvictBytes()
public long getNNodesScanned()
public long getNNodesSelected()
public int getNSharedCacheEnvironments()
public long getSharedCacheTotalBytes()
To get the configured maximum cache size, see EnvironmentMutableConfig.getCacheSize()
.
public long getCacheTotalBytes()
This method returns the sum of getDataBytes()
, getAdminBytes()
, getLockBytes()
and getBufferBytes()
.
To get the configured maximum cache size, see EnvironmentMutableConfig.getCacheSize()
.
public long getBufferBytes()
public long getDataBytes()
public long getAdminBytes()
public long getLockBytes()
public long getCacheDataBytes()
getDataBytes()
to get the amount of cache
used for data and use getAdminBytes()
, getLockBytes()
and
getBufferBytes()
to get other components of the total cache usage
(getCacheTotalBytes()
).
public long getNNotResident()
public long getNonEmptyBins()
public long getProcessedBins()
public long getNRepeatFaultReads()
public long getNTempBufferWrites()
public long getNRepeatIteratorReads()
public int getNFileOpens()
public int getNOpenFiles()
public long getTotalLogSize()
public long getSplitBins()
public void setNSharedCacheEnvironments(int nSharedCacheEnvironments)
public void setSharedCacheTotalBytes(long sharedCacheTotalBytes)
public void setCacheTotalBytes(long cacheTotalBytes)
public void setDataBytes(long dataBytes)
public void setAdminBytes(long adminBytes)
public void setLockBytes(long lockBytes)
public void setNNotResident(long nNotResident)
public void setNCacheMiss(long nCacheMiss)
public void setNLogBuffers(int nLogBuffers)
public void setBufferBytes(long bufferBytes)
public void setCursorsBins(long val)
public void setDbClosedBins(long val)
public void setInCompQueueSize(long val)
public void setLastCheckpointId(long l)
public void setNCheckpoints(long val)
public void setCleanerBacklog(int val)
public void setNCleanerRuns(long val)
public void setNCleanerDeletions(long val)
public void setNDeltaINFlush(long val)
public void setLastCheckpointEnd(long lsn)
public void setEndOfLog(long lsn)
public void setLastCheckpointStart(long lsn)
public void setNCleanerEntriesRead(long val)
public void setNEvictPasses(long val)
public void setNFSyncs(long val)
public void setNFSyncRequests(long val)
public void setNFSyncTimeouts(long val)
public void setNFullINFlush(long val)
public void setNFullBINFlush(long val)
public void setNINsObsolete(long val)
public void setNINsCleaned(long val)
public void setNINsDead(long val)
public void setNINsMigrated(long val)
public void setNLNsObsolete(long val)
public void setNLNsCleaned(long val)
public void setNLNsDead(long val)
public void setNLNsLocked(long val)
public void setNLNsMigrated(long val)
public void setNLNsMarked(long val)
public void setNLNQueueHits(long val)
public void setNPendingLNsProcessed(long val)
public void setNMarkedLNsProcessed(long val)
public void setNToBeCleanedLNsProcessed(long val)
public void setNRandomReads(long val)
public void setNRandomWrites(long val)
public void setNSequentialReads(long val)
public void setNSequentialWrites(long val)
public void setNRandomReadBytes(long val)
public void setNRandomWriteBytes(long val)
public void setNSequentialReadBytes(long val)
public void setNSequentialWriteBytes(long val)
public void setNClusterLNsProcessed(long val)
public void setNPendingLNsLocked(long val)
public void setNNodesExplicitlyEvicted(long l)
public void setNRootNodesEvicted(long l)
public void setRequiredEvictBytes(long l)
public void setNBINsStripped(long l)
public void setNNodesScanned(long l)
public void setNNodesSelected(long l)
public void setNonEmptyBins(long val)
public void setProcessedBins(long val)
public void setNRepeatFaultReads(long val)
public void setNTempBufferWrites(long val)
public void setNRepeatIteratorReads(long val)
public void setNFileOpens(int val)
public void setNOpenFiles(int val)
public void setTotalLogSize(long val)
public void setSplitBins(long val)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |