Manual:$wgAlternateMaster

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAlternateMaster and the translation is 38% complete.

Other languages:
English • ‎français • ‎polski • ‎日本語
ロードバランサーの設定: $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 $wgLBFactoryConf and use LBFactory_Multi as class.