Projects / Memcached Functions for MySQL

Memcached Functions for MySQL

This is a set of MySQL UDFs (user defined functions) to work with memcached using libmemcached. With these functions, you can get, set, append, prepend, delete, increment, and decrement objects in memcached, provide statistics, and set which servers to use and which behavior the server connections will use. These functions can be combined with MySQL triggers. You can also use memcached as a global sequence generator for MySQL by making use of the increment function. These functions are compatible with all versions of MySQL.


Recent releases

  •  31 Jan 2009 03:52

    Release Notes: memc_servers_behavior_get('<behavior>'), memc_list_distribution_types(), memc_list_hash_types(), memc_behavior_get() (an alias to memc_servers_behavior_get() ), and memc_behavior_set() (an alias to memc_servers_behavior_set() ) functions were added. memc_servers_behavior_set() now works for all types of behaviors - Boolean, named behaviors (string), and numeric.

    •  30 May 2008 17:29

      Release Notes: This release adds expiration argument functionality to all functions that utilize it in libmemcached (set, add, and replace). Behavior has been updated to correspond with the latest libmemcached. An args processing function has been added to reduce redundancy. Tests have been added for expiration testing.

      •  03 Mar 2008 22:49

        Release Notes: memc_stats() has been added to supply information on memcached server status. memc_stat_get_keys() has been added. Buffering has been added to improve performance.

        •  19 Dec 2007 11:24

          Release Notes: The UDF memc_servers_behavior_set() and the UDF memc_list_behaviors() were added. Error handling was improved. The memc_get_servers function was added, using memcached_clone. Mac OS X compile warnings were cleaned up. Man pages for all commands were added.

          •  30 Nov 2007 23:39

            No changes have been submitted for this release.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.