Add support of performance settings like 'SET GLOBAL max_allowed_packet=1073741824'.
This commit is contained in:
@ -114,6 +114,31 @@
|
||||
#NC_DB_BACKUP_DIR="/data/backup/sql"
|
||||
|
||||
|
||||
# ---
|
||||
# DB related parameters
|
||||
# ---
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
# ---
|
||||
# Other Backups
|
||||
# ---
|
||||
|
Reference in New Issue
Block a user