Handbuch:runBatchedQuery.php

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

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 Description Required Default value
--table Table name Required
--set SET clause Required
--key Column name, the values of which are unique Required
--where WHERE clause Optional
--batch-size Batch size Optional 1000
--db Database name, or omit to use the current wiki. Optional current wiki db

Verwendung

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

Siehe auch