Re: mysqldump with --single-transaction backup still blocks the write
Posted by:
ray somcio
Date: March 14, 2006 06:09PM
Hi Lisa,
I'm not sure which version you are running but i think the problem is by default the --opt options is on. This option locks the database unless you explicitly say --skip-lock-tables.
mysqldump -proot -pxxx --skip-lock-tables --single-transaction database
=== from the manual ===
--opt
This option is shorthand; it is the same as specifying --add-drop-table --add-locks --create-options --disable-keys --extended-insert --lock-tables --quick --set-charset. It should give you a fast dump operation and produce a dump file that can be reloaded into a MySQL server quickly.
As of MySQL 4.1, --opt is enabled by default, but can be disabled with --skip-opt. To disable only certain of the options enabled by --opt, use their --skip forms; for example, --skip-add-drop-table or --skip-quick.
Subject
Views
Written By
Posted
12106
March 01, 2006 07:04PM
Re: mysqldump with --single-transaction backup still blocks the write
6418
March 14, 2006 06:09PM
Sorry, you can't reply to this topic. It has been closed.
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.