Manual:blobs table

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎中文 • ‎日本語 • ‎한국어
Manual:Contents MediaWiki database layout blobs table


This table stores the contents of the text table. This table only exists if the wiki is configured to have External Storage , usually on a separate database than the other tables of the wiki.

Before MediaWiki 1.5, this table had an undocumented usage, but since MediaWiki 1.5 this table is no longer used for its original purpose.

Schema summary[edit]

MediaWiki versions: 1.3 – 1.4
+------------+-----------+------+-----+---------+-------+
| Field      | Type      | Null | Key | Default | Extra |
+------------+-----------+------+-----+---------+-------+
| blob_index | char(255) | NO   | PRI |         |       |
| blob_data  | longblob  | NO   |     | NULL    |       |
+------------+-----------+------+-----+---------+-------+
MediaWiki version: 1.21
+-----------+------------------+------+-----+---------+----------------+
| Field     | Type             | Null | Key | Default | Extra          |
+-----------+------------------+------+-----+---------+----------------+
| blob_id   | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
| blob_text | longblob         | YES  |     | NULL    |                |
+-----------+------------------+------+-----+---------+----------------+