use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.
the class PlannerStatsCollector method populateColumnSchema.
/**
* Specifies the columns of statistics that are added by this class to the schema of a statistical results.
* @param columns List of columns that are in a stats row.
*/
@Override
protected void populateColumnSchema(ArrayList<VoltTable.ColumnInfo> columns) {
super.populateColumnSchema(columns);
columns.add(new ColumnInfo(VoltSystemProcedure.CNAME_SITE_ID, VoltSystemProcedure.CTYPE_ID));
columns.add(new ColumnInfo("PARTITION_ID", VoltType.INTEGER));
columns.add(new ColumnInfo("CACHE1_LEVEL", VoltType.INTEGER));
columns.add(new ColumnInfo("CACHE2_LEVEL", VoltType.INTEGER));
columns.add(new ColumnInfo("CACHE1_HITS", VoltType.BIGINT));
columns.add(new ColumnInfo("CACHE2_HITS", VoltType.BIGINT));
columns.add(new ColumnInfo("CACHE_MISSES", VoltType.BIGINT));
columns.add(new ColumnInfo("PLAN_TIME_MIN", VoltType.BIGINT));
columns.add(new ColumnInfo("PLAN_TIME_MAX", VoltType.BIGINT));
columns.add(new ColumnInfo("PLAN_TIME_AVG", VoltType.BIGINT));
columns.add(new ColumnInfo("FAILURES", VoltType.BIGINT));
}
use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.
the class CommandLogStats method populateColumnSchema.
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
super.populateColumnSchema(columns);
columns.add(new VoltTable.ColumnInfo(StatName.OUTSTANDING_BYTES.name(), VoltType.BIGINT));
columns.add(new VoltTable.ColumnInfo(StatName.OUTSTANDING_TXNS.name(), VoltType.BIGINT));
columns.add(new VoltTable.ColumnInfo(StatName.IN_USE_SEGMENT_COUNT.name(), VoltType.INTEGER));
columns.add(new VoltTable.ColumnInfo(StatName.SEGMENT_COUNT.name(), VoltType.INTEGER));
columns.add(new VoltTable.ColumnInfo(StatName.FSYNC_INTERVAL.name(), VoltType.INTEGER));
}
use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.
the class CpuStats method populateColumnSchema.
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
super.populateColumnSchema(columns);
columns.add(new VoltTable.ColumnInfo("PERCENT_USED", VoltType.BIGINT));
}
use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.
the class InitiatorStats method populateColumnSchema.
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
super.populateColumnSchema(columns);
columns.add(new ColumnInfo("CONNECTION_ID", VoltType.BIGINT));
columns.add(new ColumnInfo("CONNECTION_HOSTNAME", VoltType.STRING));
columns.add(new ColumnInfo("PROCEDURE_NAME", VoltType.STRING));
columns.add(new ColumnInfo("INVOCATIONS", VoltType.BIGINT));
columns.add(new ColumnInfo("AVG_EXECUTION_TIME", VoltType.INTEGER));
columns.add(new ColumnInfo("MIN_EXECUTION_TIME", VoltType.INTEGER));
columns.add(new ColumnInfo("MAX_EXECUTION_TIME", VoltType.INTEGER));
columns.add(new ColumnInfo("ABORTS", VoltType.BIGINT));
columns.add(new ColumnInfo("FAILURES", VoltType.BIGINT));
}
use of org.voltdb.VoltTable.ColumnInfo in project voltdb by VoltDB.
the class LatencyStats method populateColumnSchema.
@Override
protected void populateColumnSchema(ArrayList<ColumnInfo> columns) {
// timestamp is milliseconds
super.populateColumnSchema(columns);
// milliseconds
columns.add(new ColumnInfo("INTERVAL", VoltType.INTEGER));
// samples
columns.add(new ColumnInfo("COUNT", VoltType.INTEGER));
// samples per second
columns.add(new ColumnInfo("TPS", VoltType.INTEGER));
// microseconds
columns.add(new ColumnInfo("P50", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("P95", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("P99", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("P99.9", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("P99.99", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("P99.999", VoltType.BIGINT));
// microseconds
columns.add(new ColumnInfo("MAX", VoltType.BIGINT));
}
Aggregations