Jump to content

Manual:$wgDefaultExternalStore

From mediawiki.org
This page is a translated version of the page Manual:$wgDefaultExternalStore and the translation is 25% complete.
LoadBalancer settings: $wgDefaultExternalStore
Default external store for new revisions.
Introducido en la versión:1.6.0 (r12537)
Eliminado en la versión:aún se usa
Valores permitidos:array, string or false
Valor predeterminado:false

Detalles

The place to put new revisions, false to put them in the local text table. Part of a URL, e.g. 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. Ejemplo:

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

See also