Chinaunix首页 | 论坛 | 博客
  • 博客访问: 424975
  • 博文数量: 126
  • 博客积分: 35
  • 博客等级: 民兵
  • 技术积分: 1262
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-19 16:39
文章分类

全部博文(126)

文章存档

2017年(2)

2016年(20)

2015年(64)

2014年(24)

2013年(16)

我的朋友

分类: Mysql/postgreSQL

2015-09-22 20:40:46


  -t, --no-create-info   Don't write table creation info(带-t 删表重建,不带-t则不删表重建。

  -l, --lock-tables   Lock all tables for read. (锁表,默认是开启的。--lock-tables=false 不锁表)

  --single-transaction 
                      Creates a consistent snapshot by dumping all tables in a
                      single transaction. Works ONLY for tables stored in
                      storage engines which support multiversioning (currently
                      only InnoDB does); the dump is NOT guaranteed to be
                      consistent for other storage engines. While a
                      --single-transaction dump is in process, to ensure a
                      valid dump file (correct table contents and binary log
                      position), no other connection should use the following
                      statements: ALTER TABLE, DROP TABLE, RENAME TABLE,
                      TRUNCATE TABLE, as consistent snapshot is not isolated
                      from them. Option automatically turns off --lock-tables.
(设置整个导出的过程为一个事务,不使用锁)
阅读(625) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~