Manual:Objectcache table/es: Difference between revisions
Appearance
Content deleted Content added
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 21: | Line 21: | ||
</div> |
</div> |
||
{{MW 1. |
{{MW 1.36|+|gerrit change=636049}} |
||
{{describe table}} |
|||
<pre> |
|||
+---------+----------------+------+-----+---------+-------+ |
|||
| Field | Type | Null | Key | Default | Extra | |
|||
+---------+----------------+------+-----+---------+-------+ |
|||
| keyname | varbinary(255) | NO | PRI | | | |
|||
| value | mediumblob | YES | | NULL | | |
|||
| exptime | binary(14) | NO | MUL | NULL | | |
|||
+---------+----------------+------+-----+---------+-------+ |
|||
</pre> |
|||
{{MW version|version=1.10|version2=1.35}} |
|||
{{describe table}} |
{{describe table}} |
||
<pre> |
<pre> |
||
Revision as of 03:16, 3 January 2021
| Versión de MediaWiki: | ≥ 1.3 |
The objectcache table is used for a few generic cache operations if not using Memcached. Its content can be deleted and excluded from backups as it will be regenerated when needed.
Campos
keyname
Unique identifier of the cached object. e.g. <instance>:user:id:<userid>
value
Cached object.
exptime
Date the cache entry should be expired (in seconds), and therefore removed.
Schema summary
| Versión de MediaWiki: | ≥ 1.36 Gerrit change 636049 |
DESCRIBE objectcache;
+---------+----------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------+----------------+------+-----+---------+-------+ | keyname | varbinary(255) | NO | PRI | | | | value | mediumblob | YES | | NULL | | | exptime | binary(14) | NO | MUL | NULL | | +---------+----------------+------+-----+---------+-------+
| Versiones de MediaWiki: | 1.10 – 1.35 |
DESCRIBE objectcache;
+---------+----------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------+----------------+------+-----+---------+-------+ | keyname | varbinary(255) | NO | PRI | | | | value | mediumblob | YES | | NULL | | | exptime | datetime | YES | MUL | NULL | | +---------+----------------+------+-----+---------+-------+
| Versiones de MediaWiki: | 1.3 – 1.9 |
DESCRIBE objectcache;
+---------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---------+------------------+------+-----+---------+-------+ | keyname | char(255) binary | NO | PRI | NULL | | | value | mediumblob | YES | | NULL | | | exptime | datetime | YES | MUL | NULL | | +---------+------------------+------+-----+---------+-------+