Created
January 4, 2021 15:06
-
-
Save tsleite/f013d7a617973c4a0aa2f2c83efaf192 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use zabbix; | |
truncate table history; | |
truncate table history_log; | |
truncate table history_str; | |
truncate table history_text; | |
truncate table history_uint; | |
truncate table trends; | |
truncate table trends_uint; | |
optimize table history; | |
optimize table history_log; | |
optimize table history_str; | |
optimize table history_text; | |
optimize table history_uint; | |
optimize table trends; | |
optimize table trends_uint; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment