Manual:RunBatchedQuery.php/de

Category:MediaWiki code/de#RunBatchedQuery.php

Details

Die runBatchedQuery.php Datei ist eine Wartung Skript, um eine Datenbankabfrage in Chargen fahren und warten Sklaven. This is used on large wikis to prevent excessive replication lag when executing large write queries.

Optionen

Option Beschreibung Notwendig Standardwert
--tableTable nameNotwendig
--setSET clauseNotwendig
--keyColumn name, the values of which are uniqueNotwendig
--whereWHERE clauseOptional
--batch-sizeBatch sizeOptional1000
--dbDatabase name, or omit to use the current wiki.Optionalcurrent wiki db

Verwendung

php maintenance/run.php runBatchedQuery --table tableName --key columnName --set newValue [ --where| --batch-size| --db ]
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Siehe auch

Category:Maintenance scripts/de Category:Database maintenance scripts/de
Category:Database maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de