Skip to content

Roll-Up Consul Keys and Verification

The Job Executor and Scheduler Service Consul keys for roll-up, and the index sizes to expect after the roll-up.

2 min read Updated SS

Consul Keys#

Ensure that the following Consul keys are configured with the required values. If any of the listed keys are missing, add them accordingly.

consul kv put service/jobexecutor/accounts/configuration/cache/expire/interval/minutes 5
consul kv put service/jobexecutor/accounts/configuration/cache/max/size 50
consul kv put service/jobexecutor/application/users/configuration/cache/expire/interval/minutes 5
consul kv put service/jobexecutor/application/users/configuration/cache/max/size 100
consul kv put service/jobexecutor/consul/user/login/source false
consul kv put service/jobexecutor/sdg/time/conversion/unit MILLISECONDS
consul kv put service/jobexecutor/user/configuration/cache/expire/interval/minutes 5
consul kv put service/jobexecutor/user/configuration/cache/max/size 100
consul kv put service/schedulerservice/job/update/scheduler/mins 1
consul kv put service/schedulerservice/jobStatusUpdate/enabled true

Restart the modules listed in Module Restart Requirements whenever any modification is made to the Percona DB.

Post Roll-Up Verification#

After the roll-up completes, the disk size of the rolled-up indices is significantly smaller than the source (1-minute) index. The following tables show the OpenSearch store size and document count per index for three sample weeks.

Week 1:

Index Store Size Doc Count
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w1 2gb 9322570
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w1_15mins 55.3mb 224419
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w1_30mins 30.9mb 114256
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w1_60mins 17.9mb 62544
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w1_1440mins 2.5mb 5851

Explanation: compared with the 2 GB source index for Week 1, the roll-up reduces the 15-minute data to 55.3 mb, the 30-minute data to 30.9 mb, the 60-minute data to 17.9 mb, and the 1440-minute data to 2.5 mb.

Week 2:

Index Store Size Doc Count
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w2 3gb 13940947
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w2_15mins 164mb 438098
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w2_30mins 57.5mb 225287
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w2_60mins 33.8mb 122251
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w2_1440mins 4mb 11596

Explanation: compared with the 3 GB source index for Week 2, the roll-up reduces the 15-minute data to 164 mb, the 30-minute data to 57.5 mb, the 60-minute data to 33.8 mb, and the 1440-minute data to 4 mb.

Week 3:

Index Store Size Doc Count
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w3 3.8gb 18288174
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w3_15mins 167.7mb 675565
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w3_30mins 87.9mb 345442
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w3_60mins 49.7mb 185919
heal_collated_kpi_d681ef13-d690-4917-9f3a-6c79b-1_2026.w3_1440mins 6.4mb 17154

Explanation: compared with the 3.8 GB source index for Week 3, the roll-up reduces the 15-minute data to 167.7 mb, the 30-minute data to 87.9 mb, the 60-minute data to 49.7 mb, and the 1440-minute data to 6.4 mb.

Note: These figures show that the roll-up reduces the disk size by approximately 80%.

Next