Jump to content

Podręcznik:$wgDefaultExternalStore

From mediawiki.org
This page is a translated version of the page Manual:$wgDefaultExternalStore and the translation is 42% complete.
LoadBalancer settings: $wgDefaultExternalStore
Default external store for new revisions.
Wprowadzono w wersji:1.6.0 (r12537)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:array, string or false
Domyślna wartość:false

Szczegóły

The place to put new revisions, false to put them in the local text table. Część adresu URL, np. 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. Przykład:

$wgDefaultExternalStore = array( 'DB://cluster1', 'DB://cluster2' );

Zobacz też