wiki.techinc.nl/maintenance/archives/patch-objectcache.sql
Brion Vibber 0c2fba0ac4 Add an objectcache table for limited caching when memcached isn't
available. Currently using for the message cache to avoid reading
every message separately. This now is only slightly slower than
memcached in my tests when $wgUseDatabaseMessages is enabled, so
it's a bit of a speedup for common hosts.
2004-05-09 05:12:55 +00:00

8 lines
219 B
SQL

-- For a few generic cache operations if not using Memcached
CREATE TABLE objectcache (
keyname char(255) binary not null default '',
value mediumblob,
exptime datetime,
unique key (keyname),
key (exptime)
);