Package mondrian.server.monitor
Class ServerInfo
java.lang.Object
mondrian.server.monitor.ServerInfo
Information about a Mondrian server.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
final int
final int
final int
final int
The sum of the dimensionality of every cells currently in cache.final int
The number of cells currently in cache.final int
final int
final int
final int
final long
final long
final long
final int
The number of segments currently in cache.final int
The number of segments that have been created since the server started.final int
The number of segments that have been created via external since the server started.final int
The number of segments that have been created via rollup since the server started.final int
The number of segments that have been created via SQL since the server started.final int
The number of segments that have been deleted via external since the server started.final int
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.final int
final int
final long
Cumulative time spent executing SQL statements.final long
Cumulative number of rows fetched from SQL statements.final int
final String
A printout of the stack trace which represents the code stack when the event was created.final int
final int
-
Constructor Summary
ConstructorDescriptionServerInfo
(String stack, 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
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
int
int
long
long
long
int
int
int
int
int
int
int
int
int
int
long
long
int
int
int
int
int
toString()
-
Field Details
-
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 sqlStatementRowFetchCountCumulative number of rows fetched from SQL statements. -
sqlStatementExecuteNanos
public final long sqlStatementExecuteNanosCumulative time spent executing SQL statements. -
sqlStatementCellRequestCount
public final int sqlStatementCellRequestCountTotal, 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 segmentCountThe number of segments currently in cache. -
segmentCreateCount
public final int segmentCreateCountThe number of segments that have been created since the server started. (Should equal the sumsegmentCreateViaExternalCount
+segmentCreateViaRollupCount
+segmentCreateViaSqlCount
.) -
segmentCreateViaExternalCount
public final int segmentCreateViaExternalCountThe number of segments that have been created via external since the server started. -
segmentDeleteViaExternalCount
public final int segmentDeleteViaExternalCountThe number of segments that have been deleted via external since the server started. -
segmentCreateViaRollupCount
public final int segmentCreateViaRollupCountThe number of segments that have been created via rollup since the server started. -
segmentCreateViaSqlCount
public final int segmentCreateViaSqlCountThe number of segments that have been created via SQL since the server started. -
cellCount
public final int cellCountThe number of cells currently in cache. -
cellCoordinateCount
public final int cellCoordinateCountThe 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.
-
stack
A printout of the stack trace which represents the code stack when the event was created. Useful for debugging purposes and identifying orphaned connections and statements.
-
-
Constructor Details
-
ServerInfo
public ServerInfo(String stack, 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 Details
-
getCellCacheMissCount
public int getCellCacheMissCount() -
getSqlStatementCurrentlyOpenCount
public int getSqlStatementCurrentlyOpenCount()- Returns:
- number of SQL statements currently executing
-
getStatementCurrentlyExecutingCount
public int getStatementCurrentlyExecutingCount()- Returns:
- number of statements currently executing
-
getStatementCurrentlyOpenCount
public int getStatementCurrentlyOpenCount()- Returns:
- number of statements currently open
-
getConnectionCurrentlyOpenCount
public int getConnectionCurrentlyOpenCount()- Returns:
- number of connections currently open
-
getConnectionStartCount
public int getConnectionStartCount() -
getConnectionEndCount
public int getConnectionEndCount() -
getStatementStartCount
public int getStatementStartCount() -
getStatementEndCount
public int getStatementEndCount() -
getSqlStatementStartCount
public int getSqlStatementStartCount() -
getSqlStatementExecuteCount
public int getSqlStatementExecuteCount() -
getSqlStatementEndCount
public int getSqlStatementEndCount() -
getSqlStatementRowFetchCount
public long getSqlStatementRowFetchCount() -
getSqlStatementExecuteNanos
public long getSqlStatementExecuteNanos() -
getSqlStatementCellRequestCount
public int getSqlStatementCellRequestCount() -
getCellCacheRequestCount
public int getCellCacheRequestCount() -
getCellCacheHitCount
public int getCellCacheHitCount() -
getCellCachePendingCount
public int getCellCachePendingCount() -
getExecuteStartCount
public int getExecuteStartCount() -
getExecuteEndCount
public int getExecuteEndCount() -
getJvmHeapBytesUsed
public long getJvmHeapBytesUsed() -
getJvmHeapBytesCommitted
public long getJvmHeapBytesCommitted() -
getJvmHeapBytesMax
public long getJvmHeapBytesMax() -
getSegmentCount
public int getSegmentCount() -
getSegmentCreateCount
public int getSegmentCreateCount() -
getSegmentCreateViaExternalCount
public int getSegmentCreateViaExternalCount() -
getSegmentDeleteViaExternalCount
public int getSegmentDeleteViaExternalCount() -
getSegmentCreateViaRollupCount
public int getSegmentCreateViaRollupCount() -
getSegmentCreateViaSqlCount
public int getSegmentCreateViaSqlCount() -
getCellCount
public int getCellCount() -
getCellCoordinateCount
public int getCellCoordinateCount() -
toString
-