MySQL Forums
Forum List  »  Backup

Swap usage increased when mysqldump
Posted by: burning kustom
Date: August 28, 2018 11:04PM

Hi, is mysqldump keep increasing swap usage ?

because my swap usage is increased 10% at the time mysqldump running

This is my mysqldump script, it working ! but swap usage is increasing too

mysql_db_bak-GR.sh

bak_dir=/blj/db_bak
d=$(date -d "today" '+%Y-%m-%d-%H%M')

mysql -uadmindb -pmypass -h127.0.0.1 --execute="show master status\G;" > ${bak_dir}/$1_$d_'masterpos'.dump

mysqldump -uadmindb -pmysql_db_bak-GR.sh -h127.0.0.1 --no-create-info --single-transaction --quick --master-data=2 $1 > ${bak_dir}/$1_$d.dump

mysqldump -uadmindb -pmysql_db_bak-GR.sh -h127.0.0.1 --no-data $1 > ${bak_dir}/$1_$d_'schema'.dump

Options: ReplyQuote


Subject
Views
Written By
Posted
Swap usage increased when mysqldump
197
August 28, 2018 11:04PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.