Manual:Blobs table/zh

The blobs table stores the contents of the table. This table only exists if the wiki is configured to have, 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
+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * blob_id  | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * blob_text | longblob        | YES  |     | NULL    |                |

+---++--+-+-++ +---++--+-+-++ +---++--+-+-++
 * Field    | Type       | Null | Key | Default | Extra          |
 * blob_id  | int(8)     | NO   | PRI | NULL    | auto_increment |
 * blob_text | mediumtext | YES |     | NULL    |                |

++---+--+-+-+---+ ++---+--+-+-+---+ ++---+--+-+-+---+
 * Field     | Type      | Null | Key | Default | Extra |
 * blob_index | char(255) | NO  | PRI |         |       |
 * blob_data | longblob  | NO   |     | NULL    |       |