Add support of performance settings like 'SET GLOBAL max_allowed_packet=1073741824'.

This commit is contained in:
2025-01-17 21:16:53 +01:00
parent b2d543a290
commit abb4f675e0
5 changed files with 679 additions and 33 deletions

View File

@ -130,6 +130,26 @@
#MYSQL_CREDENTIALS="-u root -S /run/mysqld/mysqld.sock"
# MYSQL_PERFORMANCE_SETTINGS
#
# To increase performance, some global variables are changed before writing the database dump.
#
# Settings are:
# - SET GLOBAL autocommit='OFF'
# - SET GLOBAL foreign_key_checks='OFF'
# - SET GLOBAL unique_checks='OFF'
# - SET GLOBAL innodb_flush_log_at_trx_commit=2
# SET GLOBAL max_allowed_packet=1073741824
#
# After the databases have been backed up, the values are reset.
#
# Defaults to:
#
# MYSQL_PERFORMANCE_SETTINGS=false
#
#MYSQL_PERFORMANCE_SETTINGS=false
# PSQL_SYSTEM_USER
#
# User who owns PostgreSQL services