手册:$wgDefaultExternalStore
Appearance
负载均衡设置: $wgDefaultExternalStore | |
---|---|
Default external store for new revisions. |
|
引进版本: | 1.6.0 (r12537) |
移除版本: | 仍在使用 |
允许的值: | 数组、字符串或false |
默认值: | false |
其他设置: 按首字母排序 | 按功能排序 |
详情
The place to put new revisions, false to put them in the local text
table.
URL的一部分,例如
DB://cluster1
Can be an array instead of a single string, to enable data distribution. A cluster will be chosen randomly each time from the array. If inserting on the selected cluster fails, another one will be tried until all clusters fail. Keys must be consecutive integers, starting at zero. 例子:
$wgDefaultExternalStore = array( 'DB://cluster1', 'DB://cluster2' );