Skip to content

Need to dump both routines, and any event(s) that trigger those routi… - #27

Open
CompPhy wants to merge 1 commit into
maxhq:masterfrom
CompPhy:MySQL-EVENT
Open

Need to dump both routines, and any event(s) that trigger those routi…#27
CompPhy wants to merge 1 commit into
maxhq:masterfrom
CompPhy:MySQL-EVENT

Conversation

@CompPhy

@CompPhy CompPhy commented Jan 7, 2021

Copy link
Copy Markdown

It is not sufficient to export just the routines. You also need to export any events that are used to trigger those routines. This is especially key for those of us that have partitioned our history tables, as the routines are how we maintain the partitions.

This has been tested to work for both export and import on Zabbix 3.0.31 release. As this is a function of the mysqldump command, I would expect this to work just fine with any other Zabbix version.

@CompPhy

CompPhy commented Jan 7, 2021

Copy link
Copy Markdown
Author

Also... Is there a reason you used --skip-extended-insert on the data export? This option makes importing take FOREVER because it doesn't take advantage of bulk inserts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant