2014年6月4日

mysqldump 导出大表出错的解决

摘要: 注意,如果你运行mysqldump没有--quick或--opt选项,mysqldump将在导出结果前装载整个结果集到内存中,如果你正在导出一个大的数据库,这将可能是一个问题。为避免这个问题,需要加上--opt或--quick选项,这样将读一行写一行参考:http://blog.chinaunix.... 阅读全文

posted @ 2014-06-04 22:05 Still water run deep 阅读(215) 评论(0) 推荐(0) 编辑

mysqldump导出sql中insert语句的问题

摘要: 今天有同事问,mysqldump怎么样才能够将导出的sql中,每条记录对应一个insert语句,默认总是导出一个长的insert语句,如下所示:[zzx@localhost ~]$ mysqldump --compact -uroot test t1> a[zzx@localhost ~]$ mor... 阅读全文

posted @ 2014-06-04 22:01 Still water run deep 阅读(1987) 评论(0) 推荐(0) 编辑

Mysql源码目录结构

摘要: Programs for handling SQL commands. The "core" of MySQL.These are the.cand.ccfiles in thesqldirectory:derror.cc --- read language-dependent message fi... 阅读全文

posted @ 2014-06-04 20:30 Still water run deep 阅读(536) 评论(0) 推荐(0) 编辑

导航