#!/bin/bash

MONASCA_TABLES="\
  MonMetrics.Dimensions \
  MonMetrics.Definitions \
  MonMetrics.DefinitionDimensions \
  MonMetrics.Measurements"


for table in $MONASCA_TABLES
do
  /usr/sbin/vsql -c "select analyze_statistics('$table');"
done

#!/bin/bash

MONASCA_TABLES="\
  MonMetrics.Dimensions \
  MonMetrics.Definitions \
  MonMetrics.DefinitionDimensions \
  MonMetrics.Measurements \
  MonAlarms.StateHistory"


for table in $MONASCA_TABLES
do
  /usr/sbin/vsql -c "select analyze_statistics('$table');"
done

Include vertica alarms state history table in stats update
Include vertica alarms state history table in stats update

Change-Id: I5855791553d410fd6bee28fbd01a44c505770e37
