Manual:runBatchedQuery.php

This page is a translated version of the page Manual:RunBatchedQuery.php and the translation is 90% complete.

詳細

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.

オプション

オプション 説明 必須かどうか 既定値
--table Table name 必須
--set SET clause 必須
--key Column name, the values of which are unique 必須
--where WHERE clause 省略可能
--batch-size Batch size 省略可能 1000
--db Database name, or omit to use the current wiki. 省略可能 current wiki db

使用法

php maintenance/runBatchedQuery.php --table tableName --key columnName --set newValue [ --where| --batch-size| --db ]

関連項目