手册:blobs表

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Blobs table and the translation is 20% complete.

Other languages:
English • ‎español • ‎polski • ‎中文 • ‎日本語 • ‎한국어
手册:目录 MediaWiki数据库布局 blobs table/zh


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

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