上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
  2014年8月21日
摘要: 内存上的数据什么时候被会刷到磁盘,触发机制是什么? 阅读全文
posted @ 2014-08-21 10:46 zitong 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 怎么启用apache的mod_log_sql模块将所有的访问信息直接记录在mysql中 阅读全文
posted @ 2014-08-21 10:38 zitong 阅读(256) 评论(0) 推荐(0) 编辑
摘要: myisam崩溃后发生损坏的概率比innodb高的原因 阅读全文
posted @ 2014-08-21 10:36 zitong 阅读(443) 评论(0) 推荐(0) 编辑
摘要: innodb+sphinx怎么做 阅读全文
posted @ 2014-08-21 10:33 zitong 阅读(175) 评论(0) 推荐(0) 编辑
摘要: grant select on *.* to za@localhost;revoke select on *.* to za@localhost;grant all privileges on *.* to z1@localhost;grant all privileges*.* to z1@loc... 阅读全文
posted @ 2014-08-21 10:25 zitong 阅读(158) 评论(0) 推荐(0) 编辑
摘要: show table status like ‘表名’\G 阅读全文
posted @ 2014-08-21 05:47 zitong 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 表的定义是在服务器层统一处理的。 阅读全文
posted @ 2014-08-21 05:45 zitong 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 是属于服务器层的。 阅读全文
posted @ 2014-08-21 05:43 zitong 阅读(102) 评论(0) 推荐(0) 编辑
  2014年8月20日
摘要: select sum(if(color='blue',1,0)) as blue,sum(if(color='red',1,0)) as red from ys;select count(color='blue' or null) as blue,count(color='red' or null)... 阅读全文
posted @ 2014-08-20 21:54 zitong 阅读(225) 评论(0) 推荐(0) 编辑
摘要: select count(*) fromworld.city where id>5;等价于select (select count(*) from world.city) -count(*) from world.city where id <=5 阅读全文
posted @ 2014-08-20 21:41 zitong 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页