OpensourceICTSolutions / zabbix-mysql-partitioning-perl

This script is a script written in Perl to partition the Zabbix database tables in time based chunks. We can use this script to replace the Zabbix housekeeper process which tends to get too slow once you hit a certain database size.
https://oicts.com
GNU General Public License v3.0
33 stars 21 forks source link

fix deletion of week period & code simplifications #5

Closed beinvisible closed 3 years ago

beinvisible commented 3 years ago

This pull request fixes the missing handling 'week' periods when deleting partitions.

It also includes lots of simplifications in the code.

beinvisible commented 3 years ago

moved the timestamp fix to a separate branch, so github doesn't automatically combine the commits into the same pull request