Manual:RunBatchedQuery.php/pl

Category:MediaWiki code/pl#RunBatchedQuery.php

Details

runBatchedQuery.php file is a maintenance script to run a database query in batches and wait for replica DBs. This is used on large wikis to prevent excessive replication lag when executing large write queries.

Opcje

Opcja Opis Wymagane Domyślna wartość
--tableTable nameWymagane
--setSET clauseWymagane
--keyColumn name, the values of which are uniqueWymagane
--whereWHERE clauseOptional
--batch-sizeBatch sizeOptional1000
--dbDatabase name, or omit to use the current wiki.Optionalcurrent wiki db

Użycie

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

Zobacz też

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