- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 整合编译mysql和tcmalloc失败的原因
google-perftools里的tcmalloc比glibc的malloc的分配效率和性能要搞多了,所以经常用来优化。据说,对mysql大并发下有效的提高性能。。 环境 centos 5.3 mysql 5.1.30 我编译mysql 的参数是 ./configure --prefix=/usr/local/mysql --without-debug --with-
2009-02-07 16:37:00 1104
原创 MySql分页limit 优化
mysql的分页比较简单,只需要limit offset,length就可以获取数据了,但是当offset比较大的时候,mysql明显性能下降 1.子查询优化法 mysql> set profiling=1;Query OK, 0 rows affected (0.00 sec) mysql> select count(*) from Member;
2009-02-06 21:17:00 127
翻译 PHP-FPM高负载技巧 (PHP-FPM on highload tips)
When you running a highload website with PHP-FPM via FastCGI, the following tips may be useful to you : )您使用PHP-FPM运营FastCGI的高负载网站,这些技巧也许对您有用:) 1. Compile PHP’s modules as less as possible, the
2009-02-05 09:19:00 279
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人