By Jorgen Austvik on May 26, 2008
He forgot to post the table we used in the database. Nothing revolutionary, but here it is:
DROP TABLE IF EXISTS memcached;
CREATE TABLE memcached (
key VARCHAR (250),
CONSTRAINT pk_key PRIMARY KEY (key)
The data column contains both the Memcached header and the data from the application, it would probably be a better idea to store the header and the data in separate columns, then the header_size column could be removed as well.