Table of Contents

Merge statistics

Merge statistics will indicate the performance of the system in persisting changes.
This monitor will check for the success and time taken by the merge operation applied on each table.
It will also detect potential future failing merge because of too large table

Configuration hints

Surveillance table

Merge time monitoring
ParameterDescription
ActiveIf checked, the rule is enabled and will be processed
HostCan be used to restrict the monitoring to a given host (multi instance case). A star (‘*’) will match any host
SchemaCan be used to restrict the monitoring on the tables within a given schema. A star (‘*’) will match any schema
TableCan be used to restrict the monitoring on a given table. A star (‘*’) will match any table
Threshold (sec)The maximum delta merges time before sending an alarm
Period (min)The period of time in the past (computed from now) to look for merge operations
AggregateIf checked, one alarm will be sent indicating the number of merge operations reaching the threshold. If not checked, one alarm per merge operation will be sent
SeverityDefines the level of severity of the alarm that will be generated if one of the thresholds is reached
Failed merge severityDefines the level of severity of the alarm that will be generated if one merge operation fails
Auto clearIf set, the generated alarms will be automatically cleared from the console if the alarm condition is not fulfilled anymore
Alarm tagYou can define some text to use as a prefix of the alarm message generated by the current rule
AlarmDefines if an alarm has to be generated for the given rule
MetricDefines if a metric has to be generated for the given rule
Merge size ratio monitoring
ParameterDescription
ActiveIf checked, the rule is enabled and will be processed
SchemaCan be used to restrict the monitoring on the tables within a given schema. A star (‘*’) will match any schema
TableCan be used to restrict the monitoring on a given table. A star (‘*’) will match any table
Max size ratio (%)The maximum size ratio between table disk space and effective memory allocation size
SeverityDefines the default severity of the alarm generated
Failed merge severityDefines the level of severity of the alarm that will be generated if one merge operation fails
Alarm tagYou can define some text to use as a prefix of the alarm message generated by the current rule

Generated metrics

metricIdmetricUnitmetric tagsmetricDescription
MERGE_STATISTICS_TIMESecondsSCHEMA.TABLESends the average time taken by merge operations within a period, for a given table
MERGE_STATISTICS_COUNTOccurenceSCHEMA.TABLESends the number of merge operations occurred for a given table within a period. Only generated in aggregate mode
MERGE_STATISTICS_TABLE_SIZE_RATIOPercentSCHEMA.TABLESends the table disk size vs effective allocation limit ratio