关于mysqldump命令的--skip-add-locks --skip-lock-tables这2个参数。
如果不带有这2个参数,则show open tables where in_use>0 显示所有表都会被使用。造成
1 insert超时;
2 update超时;
3 delete超时。
4 select可以查询。
如果加上这2个参数,则show open tables where in_use>0 显示仅当前表被使用。
1 insert正常;
2 update正常;
3 delete正常。
4 select可以查询。