mondrian.server.monitor
Class ServerInfo

java.lang.Object
  extended by mondrian.server.monitor.Info
      extended by mondrian.server.monitor.ServerInfo

public class ServerInfo
extends Info

Information about a Mondrian server.


Field Summary
 int cellCacheHitCount
           
 int cellCacheMissCount
           
 int cellCachePendingCount
           
 int cellCacheRequestCount
           
 int cellCoordinateCount
          The sum of the dimensionality of every cells currently in cache.
 int cellCount
          The number of cells currently in cache.
 int connectionEndCount
           
 int connectionStartCount
           
 int executeEndCount
           
 int executeStartCount
           
 long jvmHeapBytesCommitted
           
 long jvmHeapBytesMax
           
 long jvmHeapBytesUsed
           
 int segmentCount
          The number of segments currently in cache.
 int segmentCreateCount
          The number of segments that have been created since the server started.
 int segmentCreateViaExternalCount
          The number of segments that have been created via external since the server started.
 int segmentCreateViaRollupCount
          The number of segments that have been created via rollup since the server started.
 int segmentCreateViaSqlCount
          The number of segments that have been created via SQL since the server started.
 int segmentDeleteViaExternalCount
          The number of segments that have been deleted via external since the server started.
 int sqlStatementCellRequestCount
          Total, over all SQL statements that are fetching cells into cache, of the number of requested cells that will be satisfied by those SQL statements.
 int sqlStatementEndCount
           
 int sqlStatementExecuteCount
           
 long sqlStatementExecuteNanos
          Cumulative time spent executing SQL statements.
 long sqlStatementRowFetchCount
          Cumulative number of rows fetched from SQL statements.
 int sqlStatementStartCount
           
 int statementEndCount
           
 int statementStartCount
           
 
Constructor Summary
ServerInfo(int connectionStartCount, int connectionEndCount, int statementStartCount, int statementEndCount, int sqlStatementStartCount, int sqlStatementExecuteCount, int sqlStatementEndCount, long sqlStatementRowFetchCount, long sqlStatementExecuteNanos, int sqlStatementCellRequestCount, int cellCacheHitCount, int cellCacheRequestCount, int cellCacheMissCount, int cellCachePendingCount, int executeStartCount, int executeEndCount, long jvmHeapBytesUsed, long jvmHeapBytesCommitted, long jvmHeapBytesMax, int segmentCount, int segmentCreateCount, int segmentCreateViaExternalCount, int segmentDeleteViaExternalCount, int segmentCreateViaRollupCount, int segmentCreateViaSqlCount, int cellCount, int cellCoordinateCount)
           
 
Method Summary
 int cellCacheMissCount()
           
 int connectionCurrentlyOpenCount()
           
 int sqlStatementCurrentlyOpenCount()
           
 int statementCurrentlyExecutingCount()
           
 int statementCurrentlyOpenCount()
           
 
Methods inherited from class mondrian.server.monitor.Info
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connectionStartCount

public final int connectionStartCount

connectionEndCount

public final int connectionEndCount

statementStartCount

public final int statementStartCount

statementEndCount

public final int statementEndCount

sqlStatementStartCount

public final int sqlStatementStartCount

sqlStatementExecuteCount

public final int sqlStatementExecuteCount

sqlStatementEndCount

public final int sqlStatementEndCount

sqlStatementRowFetchCount

public final long sqlStatementRowFetchCount
Cumulative number of rows fetched from SQL statements.


sqlStatementExecuteNanos

public final long sqlStatementExecuteNanos
Cumulative time spent executing SQL statements.


sqlStatementCellRequestCount

public final int sqlStatementCellRequestCount
Total, over all SQL statements that are fetching cells into cache, of the number of requested cells that will be satisfied by those SQL statements. Note that a given SQL statement may round out the predicates and bring back a few more cells than it was asked for.


cellCacheRequestCount

public final int cellCacheRequestCount

cellCacheHitCount

public final int cellCacheHitCount

cellCacheMissCount

public final int cellCacheMissCount

cellCachePendingCount

public final int cellCachePendingCount

executeStartCount

public final int executeStartCount

executeEndCount

public final int executeEndCount

jvmHeapBytesUsed

public final long jvmHeapBytesUsed

jvmHeapBytesCommitted

public final long jvmHeapBytesCommitted

jvmHeapBytesMax

public final long jvmHeapBytesMax

segmentCount

public final int segmentCount
The number of segments currently in cache.


segmentCreateCount

public final int segmentCreateCount
The number of segments that have been created since the server started. (Should equal the sum segmentCreateViaExternalCount + segmentCreateViaRollupCount + segmentCreateViaSqlCount.)


segmentCreateViaExternalCount

public final int segmentCreateViaExternalCount
The number of segments that have been created via external since the server started.


segmentDeleteViaExternalCount

public final int segmentDeleteViaExternalCount
The number of segments that have been deleted via external since the server started.


segmentCreateViaRollupCount

public final int segmentCreateViaRollupCount
The number of segments that have been created via rollup since the server started.


segmentCreateViaSqlCount

public final int segmentCreateViaSqlCount
The number of segments that have been created via SQL since the server started.


cellCount

public final int cellCount
The number of cells currently in cache.


cellCoordinateCount

public final int cellCoordinateCount
The sum of the dimensionality of every cells currently in cache.

For example, each cell in the segment (State={CA, TX} * Year={2011}) has two coordinates.

From this, we can compute the average dimensionality of segments in cache, weighted by the number of cells. It gives an idea of the memory overhead for segment axes.

Constructor Detail

ServerInfo

public ServerInfo(int connectionStartCount,
                  int connectionEndCount,
                  int statementStartCount,
                  int statementEndCount,
                  int sqlStatementStartCount,
                  int sqlStatementExecuteCount,
                  int sqlStatementEndCount,
                  long sqlStatementRowFetchCount,
                  long sqlStatementExecuteNanos,
                  int sqlStatementCellRequestCount,
                  int cellCacheHitCount,
                  int cellCacheRequestCount,
                  int cellCacheMissCount,
                  int cellCachePendingCount,
                  int executeStartCount,
                  int executeEndCount,
                  long jvmHeapBytesUsed,
                  long jvmHeapBytesCommitted,
                  long jvmHeapBytesMax,
                  int segmentCount,
                  int segmentCreateCount,
                  int segmentCreateViaExternalCount,
                  int segmentDeleteViaExternalCount,
                  int segmentCreateViaRollupCount,
                  int segmentCreateViaSqlCount,
                  int cellCount,
                  int cellCoordinateCount)
Method Detail

cellCacheMissCount

public int cellCacheMissCount()

sqlStatementCurrentlyOpenCount

public int sqlStatementCurrentlyOpenCount()
Returns:
number of SQL statements currently executing

statementCurrentlyExecutingCount

public int statementCurrentlyExecutingCount()
Returns:
number of statements currently executing

statementCurrentlyOpenCount

public int statementCurrentlyOpenCount()
Returns:
number of statements currently open

connectionCurrentlyOpenCount

public int connectionCurrentlyOpenCount()
Returns:
number of connections currently open

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads