Berkeley DB Java Edition
version 1.7.1

com.sleepycat.je
Class EnvironmentStats

java.lang.Object
  extended bycom.sleepycat.je.EnvironmentStats

public class EnvironmentStats
extends Object

System wide statistics for a single environment.


Method Summary
 long getBufferBytes()
          The total memory currently consumed by log buffers, in bytes.
 long getCacheDataBytes()
          The amount of JE cache used for holding data, in bytes.
 long getCacheTotalBytes()
          The amount of JE cache in use, in bytes.
 int getCursorsBins()
          The number of bins encountered by the INCompressor that had cursors referring to them when the compressor ran.
 int 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.
 int 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 getNBINsStripped()
          The number of BINS stripped by the evictor.
 long getNCacheMiss()
          The total number of requests for database objects which were not in memory.
 int getNCheckpoints()
          The total number of checkpoints run so far.
 int getNCleanerDeletions()
          The number of cleaner file deletions this session.
 int getNCleanerEntriesRead()
          The accumulated number of log entries read by the cleaner.
 int getNCleanerRuns()
          The number of cleaner runs this session.
 int getNDeltaINFlush()
          The accumulated number of Delta INs flushed to the log.
 int getNDeltasCleaned()
          The accumulated number of delta BINs that were cleaned.
 int getNEvictPasses()
          The number of passes made to the evictor.
 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.
 int getNFullBINFlush()
          The accumulated number of full BINS flushed to the log.
 int getNFullINFlush()
          The accumulated number of full INs flushed to the log.
 int getNINsCleaned()
          The accumulated number of INs cleaned.
 int getNINsMigrated()
          The accumulated number of INs migrated.
 int getNLNsCleaned()
          The accumulated number of LNs cleaned.
 int getNLNsDead()
          The accumulated number of LNs that were not found in the tree anymore (deleted).
 int getNLNsLocked()
          The accumulated number of LNs encountered that were locked.
 int getNLNsMigrated()
          The accumulated number of LNs encountered that were migrated forward in the log.
 int getNLogBuffers()
          The number of log buffers currently instantiated.
 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.
 int getNonEmptyBins()
          The number of bins encountered by the INCompressor that were not actually empty when the compressor ran.
 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.
 int 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.
 int 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.
 String toString()
          Returns a String representation of the stats in the form of <stat>=<value>
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBufferBytes

public long getBufferBytes()
The total memory currently consumed by log buffers, in bytes.


getCursorsBins

public int getCursorsBins()
The number of bins encountered by the INCompressor that had cursors referring to them when the compressor ran.


getDbClosedBins

public int 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.


getInCompQueueSize

public int getInCompQueueSize()
The number of entries in the INCompressor queue when the getStats() call was made.


getLastCheckpointId

public long getLastCheckpointId()
The Id of the last checkpoint.


getNCacheMiss

public long getNCacheMiss()
The total number of requests for database objects which were not in memory.


getNCheckpoints

public int getNCheckpoints()
The total number of checkpoints run so far.


getNCleanerDeletions

public int getNCleanerDeletions()
The number of cleaner file deletions this session.


getNCleanerEntriesRead

public int getNCleanerEntriesRead()
The accumulated number of log entries read by the cleaner.


getNCleanerRuns

public int getNCleanerRuns()
The number of cleaner runs this session.


getNDeltaINFlush

public int getNDeltaINFlush()
The accumulated number of Delta INs flushed to the log.


getLastCheckpointEnd

public long getLastCheckpointEnd()
The location in the log of the last checkpoint end.


getLastCheckpointStart

public long getLastCheckpointStart()
The location in the log of the last checkpoint start.


getNDeltasCleaned

public int getNDeltasCleaned()
The accumulated number of delta BINs that were cleaned.


getNEvictPasses

public int getNEvictPasses()
The number of passes made to the evictor.


getNFullBINFlush

public int getNFullBINFlush()
The accumulated number of full BINS flushed to the log.


getNFSyncs

public long getNFSyncs()
The number of fsyncs issued through the group commit manager.


getNFSyncRequests

public long getNFSyncRequests()
The number of fsyncs requested through the group commit manager.


getNFSyncTimeouts

public long getNFSyncTimeouts()
The number of fsync requests submitted to the group commit manager which timed out.


getNFullINFlush

public int getNFullINFlush()
The accumulated number of full INs flushed to the log.


getNINsCleaned

public int getNINsCleaned()
The accumulated number of INs cleaned.


getNINsMigrated

public int getNINsMigrated()
The accumulated number of INs migrated.


getNLNsCleaned

public int getNLNsCleaned()
The accumulated number of LNs cleaned.


getNLNsDead

public int getNLNsDead()
The accumulated number of LNs that were not found in the tree anymore (deleted).


getNLNsLocked

public int getNLNsLocked()
The accumulated number of LNs encountered that were locked.


getNLNsMigrated

public int getNLNsMigrated()
The accumulated number of LNs encountered that were migrated forward in the log.


getNLogBuffers

public int getNLogBuffers()
The number of log buffers currently instantiated.


getNNodesExplicitlyEvicted

public long getNNodesExplicitlyEvicted()
The accumulated number of nodes evicted.


getNBINsStripped

public long getNBINsStripped()
The number of BINS stripped by the evictor.


getRequiredEvictBytes

public long getRequiredEvictBytes()
The number of bytes that must be evicted in order to get within the memory budget.


getNNodesScanned

public long getNNodesScanned()
The accumulated number of nodes scanned in order to select the eviction set.


getNNodesSelected

public long getNNodesSelected()
The accumulated number of nodes selected to evict.


getCacheTotalBytes

public long getCacheTotalBytes()
The amount of JE cache in use, in bytes.


getCacheDataBytes

public long getCacheDataBytes()
The amount of JE cache used for holding data, in bytes.


getNNotResident

public long getNNotResident()
The number of requests for database objects not contained within the in memory data structures.


getNonEmptyBins

public int getNonEmptyBins()
The number of bins encountered by the INCompressor that were not actually empty when the compressor ran.


getProcessedBins

public int getProcessedBins()
The number of bins that were successfully processed by the IN Compressor.


getNRepeatFaultReads

public 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.


getNRepeatIteratorReads

public 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. This happens during scans of the log during activities like environment open or log cleaning. Implies that the read chunk size controlled by je.log.iteratorReadSize is too small.


getSplitBins

public int 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.


toString

public String toString()
Returns a String representation of the stats in the form of <stat>=<value>


Berkeley DB Java Edition
version 1.7.1

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.