Manual:Transcache table

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語
Manual:Contents MediaWiki database layout transcache table



MediaWiki version: 1.8

The transcache table is used to cache content that has been transcluded from other MediaWiki installations. See the interwiki table docs and the $wgEnableScaryTranscluding configuration variable for details on the feature.

Fields[edit | edit source]

tc_url[edit | edit source]

URL of cached content.

tc_contents[edit | edit source]

Contents of cache.

tc_time[edit | edit source]

Timestamp of cache.

Versions[edit | edit source]

MediaWiki version: 1.19
mysql> describe transcache;
+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | blob           | YES  |     | NULL    |       |
| tc_time     | binary(14)     | YES  |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+


MediaWiki version: 1.18

"DESCRIBE transcache" in MediaWiki 1.18+ returns the following:

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | blob           | YES  |     | NULL    |       |
| tc_time     | int(11)        | NO   |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+


MediaWiki version: 1.8

"DESCRIBE transcache" in MediaWiki 1.8+ returns the following:

+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| tc_url      | varchar(255) | NO   | PRI | NULL    |       |
| tc_contents | text         | YES  |     | NULL    |       |
| tc_time     | int(11)      | NO   |     | NULL    |       |
+-------------+--------------+------+-----+---------+-------+
Databases Engines: MySQLOraclePostgreSQLSQLite
Technical documentation: Schema (tables) – API property associationsField prefixesPrimary key storage in other fieldsWikimedia extension tables
Configuration: SettingsSharing
Development: AccessOptimizationPolicyUpdaterExtension schema updatesPatch file
Core tables: archivecategorycategorylinkschange_tagconfigexternallinksfilearchivehitcounterimageimagelinksinterwikiiwlinksipblocksjobl10n_cachelanglinkslogginglog_searchmsg_resourcemsg_resource_linksmodule_depsobjectcacheoldimagepagepagelinkspage_propspage_restrictionsprotected_titlesquerycachequerycachetwoquerycache_inforecentchangesredirectrevisionsearchindexsitessite_statstag_summarytemplatelinkstexttranscacheupdateloguploadstashuseruser_former_groupsuser_groupsuser_newtalkuser_propertiesvalid_tagwatchlist