Manual:Sqlite.php/ja

Category:MediaWiki deprecated or obsolete features/ja#Sqlite.php
MediaWiki バージョン:
1.16 1.35
Category:MediaWiki code/ja#Sqlite.php

詳細

sqlite.php file is a maintenance script for tasks specific to SQLite backend. This script has been moved to SqliteMaintenance.php in MediaWiki 1.36.

オプション/引数

オプション 説明 必須かどうか
--vacuumExecutes VACUUM command that compacts the database and improves its performance.省略可能
--integrityPerforms integrity check of the database. If no error is detected, a single "ok" will be displayed, otherwise the script will show up to 100 errors.省略可能
--backup-toBackups the database to the given file.省略可能
--check-syntaxChecks SQL files for compatibility with SQLite syntax. This option is intended for developer use. (Added in MediaWIki 1.17)省略可能

All these options can be used at the same time.

使用法

php maintenance/sqlite.php [ --vacuum| --integrity| --backup-to| --check-syntax ]


Checking integrity

Terminal

Vacuum Operation

Terminal

関連項目

Category:Maintenance scripts/ja#Sqlite.php/ja Category:Database maintenance scripts/ja
Category:Database maintenance scripts/ja Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:MediaWiki deprecated or obsolete features/ja