Manual:Querycache table/ja

querycache テーブルは、高負荷のグループ クエリをキャッシュするために使用されます. This table is populated with the maintenance script.

qc_type
キー名. 一般に特別ページの基底名.

qc_value
Some sort of stored value. Sizes, counts...

qc_namespace
Target namespace. Used in conjunction with gc_title.

qc_title
Target title. Used in conjunction with gc_namespace.

バージョン
mysql> describe querycache; +--+--+--+-+-+---+ +--+--+--+-+-+---+ +--+--+--+-+-+---+
 * Field       | Type             | Null | Key | Default | Extra |
 * qc_type     | varbinary(32)    | NO   | MUL | NULL    |       |
 * qc_value    | int(10) unsigned | NO   |     | 0       |       |
 * qc_namespace | int(11)         | NO   |     | 0       |       |
 * qc_title    | varbinary(255)   | NO   |     |         |       |

describe querycache; +--+--+--+-+-+---+ +--+--+--+-+-+---+ +--+--+--+-+-+---+
 * Field       | Type                 | Null | Key | Default | Extra |
 * qc_type     | varbinary(32)        |      | MUL |         |       |
 * qc_value    | int(10) unsigned     |      |     | 0       |       |
 * qc_namespace | tinyint(11) unsigned |     |     | 0       |       |
 * qc_title    | varchar(255)         |      |     |         |       |

describe querycache; in MediaWiki 1.8 gives the following:

+--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field       | Type            | Null | Key | Default | Extra |
 * qc_type     | char(32)        | NO   | MUL | NULL    |       |
 * qc_value    | int(5) unsigned | NO   |     | 0       |       |
 * qc_namespace | int(11)        | NO   |     | 0       |       |
 * qc_title    | char(255)       | NO   |     | NULL    |       |

+--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field       | Type            | Null | Key | Default | Extra |
 * qc_type     | char(32)        | NO   | MUL | NULL    |       |
 * qc_value    | int(5) unsigned | NO   |     | 0       |       |
 * qc_namespace | int(11)        | NO   |     | 0       |       |
 * qc_title    | char(255)       | NO   |     | NULL    |       |

+--+--+--+-+-+---+ +--+--+--+-+-+---+ +--+--+--+-+-+---+
 * Field       | Type             | Null | Key | Default | Extra |
 * qc_type     | varbinary(32)    | NO   | MUL | NULL    |       |
 * qc_value    | int(10) unsigned | NO   |     | 0       |       |
 * qc_namespace | int(11)         | NO   |     | 0       |       |
 * qc_title    | varchar(255)     | NO   |     | NULL    |       |

+--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field       | Type            | Null | Key | Default | Extra |
 * qc_type     | char(32)        | NO   | MUL | NULL    |       |
 * qc_value    | int(5) unsigned | NO   |     | 0       |       |
 * qc_namespace | int(11)        | NO   |     | 0       |       |
 * qc_title    | char(255)       | NO   |     | NULL    |       |