NoSQL to InnoDB with Memcached

MySQL is the most popular open source SQL database. The ever-increasing performance demands of web-based services have generated significant interest in providing NoSQL access methods to MySQL. Today, MySQL is announcing the preview of the NoSQL to InnoDB via memcached. This offering provides users with the best of both worlds – maintain all of the advantages of rich SQL query language, while providing better performance for simple queries via direct access to shared data.

In this preview release, memcached is implemented as a MySQL plugin daemon, accessing InnoDB directly via the native InnoDB API:

Features provided in the current release:

  • Memcached as a daemon plugin of mysqld: both mysqld and memcached are running in the same process space, with very low latency access to data
  • Direct access to InnoDB: bypassing SQL parser and optimizer
  • Support standard protocol (memcapable): support both memcached text-based protocol and binary protocol; all 55 memcapable tests are passed
  • Support multiple columns: users can map multiple columns into “value”. The value is separated by a pre-defined “separator” (configurable).
  • Optional local caching: three options – “cache-only”, “innodb-only”, and “caching” (both “cache” and “innodb store”). These local options can apply to each of four Memcached operations (set, get, delete and flush).
  • Batch operations: user can specify the batch commit size for InnoDB memcached operations via “daemon_memcached_r_batch_size” and “daemon_memcached_w_batch_size” (default 32)
  • Support all memcached configure options through MySQL configure variable “daemon_memcached_option”

Sounds interesting? You can download the source or binary from MySQL Labs (only tested on Linux) – select”mysql-5.6-labs-innodb-memcached”. After unpacking the files, please read the readme file “README-innodb_memcached”. Also, please read the upcoming blog “Get started with InnoDB Memcached Daemon plugin” by Jimmy.

This is a technology preview, with some limitations. We will gradually address those limitations. If you’d like to see additional new features or improvements, please let us know.

20 Responses

  1. Transactions on InnoDB » Blog Archive » Get started with InnoDB Memcached Daemon plugin Says:

    [...] Calvin mentioned in “NoSQL to InnoDB with Memcached“, we just released a “technology preview” of the feature that makes memcached a [...]

  2. Quora Says:

    Why does Quora use MySQL as the data store rather than NoSQLs such as Cassandra, MongoDB, CouchDB, etc?…

    “I think the “NoSQL” fad will end when someone finally implements a distributed relational database with relaxed semantics.” Adam D’Angelo MySQL’s NDBCLUSTER engine springs to mind as an example of this.  Though I’m not sure what is meant by “r…

  3. M-A-O-L » MySQL pre-releases integrated Memcached Says:

    [...] which comes with an integrated Memcached plugin accessing the InnoDB storage engine directly: NoSQL to InnoDB with Memcached The ever-increasing performance demands of web-based services have generated significant interest [...]

  4. MySQL 5.6.2 Теперь ещё и Memcached интерфейс! | Токарчук Андрей Says:

    [...] http://blogs.innodb.com/wp/2011/04/nosql-to-innodb-with-memcached/ http://blogs.oracle.com/mysql/2011/04/nosql_to_mysql_with_memcached.html Related postsNoSQL в [...]

  5. [Software] memcached integrato con MySQL, ossia MySQL NoSQL? Says:

    [...] [...]

  6. MySQL 5.6 NoSQL? – Allegro Nanu Says:

    [...] Learn more » [...]

  7. מה חדש ב-MySQL 5.6? | MySQL.org.il Says:

    [...] פעולות כגון SQL Statement Parsing לא פועלות, כך שיותר משאבי מערכת (מעבד, זיכרון ו-I/O) מוקדשים לשרת שאילתות במנוע האחסון עצמו. ניתן לקרוא עוד בלינק הבא. [...]

  8. Transactions on InnoDB » Blog Archive » InnoDB blogs, slides, etc. Says:

    [...] NoSQL to InnoDB with Memcached, by Calvin Sun [...]

  9. MySQL 5.6 — InnoDB and Memcached « Open Source DBA's Blog Says:

    [...] NoSQL to InnoDB with Memcached [...]

  10. MySQL 5.6 — InnoDB and Memcached | Database, MySql, Oracle, SQL and more Says:

    [...] NoSQL to InnoDB with Memcached [...]

  11. MySQL与NoSQL——SQL与NoSQL的融合 | 萝卜根 Says:

    [...] 写这一篇内容的原因是MySQL5.6.2突然推出了memcached的功能。NoSQL to InnoDB with Memcached的 出现,可以看出NoSQL对关系数据库的确产生了巨大的影响,个人觉得这是一个非常大的进步,可以让开发人员更加方便的使用NoSQL和关系数据库。 NoSQL一般被认为性能高于关系数据库,那么直接在InnoDB之上提供NoSQL功能并和MySQL共存是否是一个更好的选择呢? [...]

  12. MySQL 5.6, o que há de novidade? Says:

    [...] interno da integração entre o MySQL 5.6 o chamado “NoSQL Style”, publicada no site da InnoDB (antiga InnoBase Oy), empresa de propriedade da Oracle desde 2005, que desenvolve o InnoDB built-in e o InnoDB [...]

  13. links for 2011-07-26 | Michael Ong | On9 Systems Says:

    [...] Transactions on InnoDB » Blog Archive » NoSQL to InnoDB with Memcached (tags: nosql innodb mysql memcached) [...]

  14. As a NoSQL put MySQL-a story for exceeding 750000 QPS on a server has [reproduced] Says:

    [...] for exceeding 750000 QPS on a server has [reproduced] UPDATE: Oracle officially released memcached daemon plugin that talks with InnoDB. I’m glad to see that NoSQL+MySQL has become an official solution. [...]

  15. NoSQL in MySQL « NETWAYS Blog Says:

    [...] http://blogs.innodb.com/wp/2011/04/nosql-to-innodb-with-memcached/ [...]

  16. Weekly Snap: NoSQL in MySQL, a Project at Deutsche Post & a New Apprentice « NETWAYS Blog Says:

    [...] and transactions, bringing the best of both worlds together. More information can be found on the InnoDB blog, as well as an installation guide. Weiterführende Artikel04.10.2011 — NoSQL in MySQL26.09.2011 [...]

  17. Eric Blue’s Blog » Weekly Lifestream for December 25th Says:

    [...] Shared Transactions on InnoDB » Blog Archive » NoSQL to InnoDB with Memcached. [...]

  18. Fotograf Rzeszów Says:

    When i’ used memcached my server load decrease about 70%.

    [Reply]

  19. MySQL 5.6, o que há de novidade? - ZanTutos Says:

    [...] interno da integração entre o MySQL 5.6 o chamado “NoSQL Style”, publicada no site da InnoDB (antiga InnoBase Oy), empresa de propriedade da Oracle desde 2005, que desenvolve o InnoDB built-in e o InnoDB [...]

  20. MySQL incrementado com NoSQL | DPKG Says:

    [...] introduziu em sua entrutura uma interface NoSQL usando a API memcached que permite que usuários acessem diretamente o motor de armazenamento InnoDB, contornando completamente procedimentos SQL e mantendo compatibilidade com o modelo de base de [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.