mysql 及其他

MySQL之Explain
     摘要: Explain命令用于查看执行效果。虽然这个命令只能搭配select类型语句使用,如果你想查看update,delete类型语句中的索引效果,也不是太难的事情,只要保持条件不变,把类型转换成select就行了。
  阅读全文

posted @ 2010-04-27 13:51 bestmost 阅读(585) | 评论 (0)  编辑

MYSQL数据库设计的一些小技巧[整理]
     摘要: 选表类型:
mysql的myisam表适合读操作大,写操作少;表级锁表
innodb表正好相反;行级锁表
互联网服务,不算支付性的服务外,互动产品,新闻系统等等一般都是读多,写少。用 myisam表比较合适。

表的设计

  阅读全文

posted @ 2010-03-27 10:37 bestmost 阅读(349) | 评论 (0)  编辑

mysql proxy 实现读写分离
     摘要: 【http://www.tjcuxiao.com和http://www.mujiz.cn友情赞助】

听说mysql proxy 0.7.0即将发布,正好前些日子从bzr上获取mysql proxy的代码编译过,看看当时bzr的版本号,和现在也差不了多少。在这期间,我又花了一些时间把mysql配置成读写分离,出了不少状况,由于使用的人不太多,解决问题超费劲——搜索不到有帮助的内容啊。

但是我可能是比较幸运的,最后成功的实现了读写分离,目前在开发环境运行的比较稳定,所以有必要做个笔记分享一下。

读写分离脚本的问题
  阅读全文

posted @ 2009-08-07 11:15 bestmost 阅读(468) | 评论 (0)  编辑

在MySQL中如何为连接添加索引(转)

posted @ 2009-05-09 11:39 bestmost 阅读(652) | 评论 (0)  编辑

MYSQL开发实用知识集合

posted @ 2009-02-23 13:33 bestmost 阅读(667) | 评论 (0)  编辑

mysql一句话更新排行

posted @ 2009-01-12 15:52 bestmost 阅读(411) | 评论 (0)  编辑

preg_match_all结合str_replace替换内容中所有img

posted @ 2008-10-10 16:42 bestmost 阅读(458) | 评论 (0)  编辑

如何加速动态网站的MySQL索引分析和优化

posted @ 2008-09-22 14:55 bestmost 阅读(609) | 评论 (0)  编辑

Mysql Explain 详解

posted @ 2008-09-22 11:19 bestmost 阅读(162) | 评论 (0)  编辑

优化MySQL数据库查询(索引)

posted @ 2008-09-22 11:18 bestmost 阅读(724) | 评论 (0)  编辑

MySQL查询优化程序

posted @ 2008-09-22 10:17 bestmost 阅读(703) | 评论 (0)  编辑

mysql全文索引

posted @ 2008-09-22 09:37 bestmost 阅读(756) | 评论 (0)  编辑

优化MySQL数据库性能的八种方法

posted @ 2008-09-08 18:36 bestmost 阅读(274) | 评论 (0)  编辑

提高Oracle性能的方法(转)

posted @ 2008-09-08 13:34 bestmost 阅读(304) | 评论 (0)  编辑

SQL_语句详细说明(部分)

posted @ 2008-09-02 18:14 bestmost 阅读(204) | 评论 (0)  编辑

如何用数据库保存多级结构的数据

posted @ 2008-09-02 13:38 bestmost 阅读(222) | 评论 (1)  编辑

数据库设计经验谈

posted @ 2008-08-30 15:23 bestmost 阅读(267) | 评论 (0)  编辑

MySQL怎样优化WHERE子句

posted @ 2008-08-27 16:56 bestmost 阅读(220) | 评论 (0)  编辑

mysql 插入数据 LOAD DATA 的用法

posted @ 2008-08-27 12:02 bestmost 阅读(786) | 评论 (0)  编辑

数据库主键设计之思考

posted @ 2008-07-29 13:50 bestmost 阅读(234) | 评论 (0)  编辑

[MySQL] 主键和外键的设计原则

posted @ 2008-07-29 13:49 bestmost 阅读(1437) | 评论 (0)  编辑

MySQL索引分析和优化 (笔记)

posted @ 2008-07-19 01:04 bestmost 阅读(760) | 评论 (1)  编辑

<2010年9月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

导航

统计

公告

留言簿(6)

随笔分类(325)

all

搜索

积分与排名

最新评论

阅读排行榜

千百亿工作室
BT促销网