摘要: As we observed before, configuring APC with low memory can be a drag on performance, causinghigh executing times.We saw this recently for a client with a large web site on a dedicated server that approached 2bits.com for performance tuning.They initially had eAccelerator running on Red Hat, but when 阅读全文
posted @ 2011-07-20 18:51 inThink 阅读(220) 评论(0) 推荐(0) 编辑
摘要: UPDATE: Oracle officially releasedmemcached daemon pluginthat talks with InnoDB. I'm glad to see that NoSQL+MySQL has become an official solution. It's still preview release but will be very promising. Let's try it to make it better! Most of high scale web applications use MySQL + memcac 阅读全文
posted @ 2011-07-20 18:47 inThink 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 本文讨论了Mysql和memcached的联合应用,未来的趋势已经逐渐的明了,两者的联合可以使Mysql更加强壮。差不多在一年前,写过一篇文章介绍将MySQL数据映射到Memcached,当时MySQL和Memcached Functions for MySQL都还不够成熟,时过一年,Memcached Functions for MySQL升级到了0.8版本,而MySQL也发布了GA版本,加上很多朋友反应前一篇文章中的实现他们因种种原因没能成功,于是便有了这篇文章,就当是上一篇文章的升级版本吧。测试环境在Linux下进行,版本系统为CentOS5.以下为相关软件,包括其版本和下载地址:mys 阅读全文
posted @ 2011-07-20 18:14 inThink 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 本文讨论了实现Mysql索引的算法和原理,适合新手,与大家共享。 不敢破坏作者有模有样的格式,保留了全部的内容。 在编程领域有一句人尽皆知的法则“程序 = 数据结构 + 算法”,我个人是不太赞同这句话(因为我觉得程序不仅仅是数据结构加算法),但是在日常的学习和工作中我确认深深感受到数据结构和算法的重要性,很多东西,如果你愿意稍稍往深处挖一点,那么扑面而来的一定是各种数据结构和算法知识。例如几乎每个程序员都要打交道的数据库,如果仅仅是用来存个数据、建建表、建建索引、做做增删改查,那么也许觉得数据结构和这东西没什么关系。不过要是哪天心血来潮,想知道的多一点,想研究一下如何优化数据库,那么一定避免不了研究索引的原理,如果想要真正明白索引是怎么工作的,如何合理的使用索引以优化数据库,那么就免不了纠结于一堆数据结构与算法之间了。所以,如果说“程序的核心基础 = 数据结构 + 算法”我是十分赞同的,而一个想成为高手的程序员,一定会去学习程序的核心基础。 阅读全文
posted @ 2011-07-20 17:05 inThink 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 本文来自Mysql社区对Mysql和Memcached联合使用的讨论,揭示了下一版本Mysql的发展方向,与大家共享。 The ever increasing performance demands of web-based services has generated significant interest in providing NoSQL access methods to MySQL - enabling users to maintain all of the advantages of their existing relational database infrastructure, while providing blazing fast performance for simple queries, using an API to complement regular SQL access to their data. 阅读全文
posted @ 2011-07-20 12:07 inThink 阅读(610) 评论(1) 推荐(0) 编辑