Jump to: navigation, search
This page is a translated version of the page Manual:$wgAlternateMaster and the translation is 25% complete.

Other languages:
English • ‎français • ‎日本語 • ‎polski
LoadBalancer settings: $wgAlternateMaster
A map of database name to connection index.
導入されたバージョン: 1.10.0
除去されたバージョン: 1.13.0
可能な値: 配列
既定値: array()
他の設定: アルファベット順 | 機能順


A map of database name (key) to connection index (value), describing the master database server for each database. The connection index is an index into the $wgDBservers array. If a database is not listed here, the default load balancing settings will be used.

To use this feature in 1.13 and above, you have to customize $wgLBFactoryConfManual:$wgLBFactoryConf and use LBFactory_Multi as class.