Jump to content

Manual:Objectcache table/es: Difference between revisions

From mediawiki.org
Content deleted Content added
FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 16: Line 16:
===exptime===
===exptime===
<span lang="en" dir="ltr" class="mw-content-ltr">Date the cache entry should be expired (in seconds), and therefore removed.</span>
<span lang="en" dir="ltr" class="mw-content-ltr">Date the cache entry should be expired (in seconds), and therefore removed.</span>

===modtoken===
{{MW 1.37|+}}
?

===flags===
{{MW 1.37|+}}
?


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 13:29, 20 May 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.

modtoken

Versión de MediaWiki:
1.37

?

flags

Versión de MediaWiki:
1.37

?

Schema summary

Versión de MediaWiki:
1.37
Gerrit change 666780

DESCRIBE objectcache;

+----------+------------------+------+-----+-------------------+-------+
| Field    | Type             | Null | Key | Default           | Extra |
+----------+------------------+------+-----+-------------------+-------+
| keyname  | varbinary(255)   | NO   | PRI |                   |       |
| value    | mediumblob       | YES  |     | NULL              |       |
| exptime  | binary(14)       | NO   | MUL | NULL              |       |
| modtoken | varbinary(17)    | NO   |     | 00000000000000000 |       |
| flags    | int(10) unsigned | YES  |     | NULL              |       |
+----------+------------------+------+-----+-------------------+-------+
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    |       |
+---------+------------------+------+-----+---------+-------+