2012年8月13日
摘要: 系统参数系列show table status where name = "film": 显示某个表的属性show status : 显示mysql状态show processlist : 显示mysql连接状态show index from user : 显示user表索引show profiles : 显示查询执行时间状况,使用前先设置参数 set profiling=1;show profile for query 1: 查看第一条sql的具体执行情况PAGER cat > /dev/null : 将输出转到垃圾黑洞TRUNCATE TABLE: 清空table 阅读全文
posted @ 2012-08-13 22:18 ZimZz 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 先看参数介绍FormatOption FileDescriptionIntroduced--auto-generate-sqlauto-generate-sqlGenerate SQL statements automatically when they are not supplied in files or using command options--auto-generate-sql-add-autoincrementauto-generate-sql-add-autoincrementAdd AUTO_INCREMENT column to automatically generat 阅读全文
posted @ 2012-08-13 19:24 ZimZz 阅读(3529) 评论(0) 推荐(0) 编辑