MySQL 最新开发版 5.6.6 目前尚未发布,但从官网给出的 CHANGES 文档可得知,该版本将内嵌 memcached 的支持,以后可以用No SQL的方式使用mysql,在数据库中充分利用memcached的优点。缓存和数据的一致性问题不再是个问题。
这算一个好消息,还是一个不好不坏的消息?或者是个可有可无的消息?

解决方案 »

  1.   

    嗯嗯, PHP接口就不知道哪年了。
      

  2.   

    http://dev.mysql.com/doc/refman/5.6/en/news-5-6-6.htmlFunctionality Added or ChangedPerformance: InnoDB: The MySQL server now includes the widely used memcached in-memory caching system, and a plugin that allows fast NoSQL-style access to InnoDB tables through the memcached protocol. This access method avoids the overhead of SQL parsing and constructing a query optimization plan. You can store the underlying data in a single InnoDB table, or spread it across multiple tables. You can read and write data through both memcached and SQL. For example, you can do fast single-key lookups through memcached get calls, and do statistical reports across all the data through SQL.Several configuration options let you fine-tune this system, in particular to balance raw performance against durability and consistency of data. The main new configuration options are daemon_memcached_option, daemon_memcached_r_batch_size, daemon_memcached_w_batch_size, innodb_api_trx_level, innodb_api_enable_mdl, and innodb_api_enable_binlog.See Section 14.2.10, “InnoDB Integration with memcached” for full details.
      

  3.   

    方便操作总是好的,别让安全问题加剧,希望能有套好的机制,数据库在发展,Added or Changed,看来是谁用谁知道啦
      

  4.   

    应该说这不是一个什么好消息!
    应该说,引入先进的技术了改进自身的性能,是正确的做法
    但 mysql 的开发者们似乎是把 memcached 和 No SQL 作为 mysql 的新卖点。这应该是不可取的的
    关系型数据库一定会在短期内消亡吗?或许由于语言的问题,我不能正确理解 mysql 开发者们的描述。
    其实 memcached 与 mysql 的内存表并没有本质上的区别
      

  5.   

    我想起了js 要死要死的那几年...
    然后突然就红了,红得一发不可收拾...jquery 又帮它渡了一层金身。