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

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 -h127.0.0.1 --no-create-info --single-transaction --quick --master-data=2 $1 > ${bak_dir}/$1_$d.dump

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

Options: ReplyQuote

Written By
Swap usage increased when mysqldump
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.