Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i have a large database to backup nightly and we currently do mysqldump on the master server which locks all inserts when dumping

we use a master slave mysql setup with magento configured to send all writes to the master and all reads to the slave. if we move the backup to the slave server will the mysqldump process lock out select queries or any other queries that would be reading data only and not inserting data to the DB?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

mysqldump uses a read local lock, so selects will still work

sources: (see sections on READ and LOCAL keywords)

share|improve this answer
can confirm testing this worked perfectly :) –  anthonysomerset Aug 2 '11 at 20:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.