Open main menu

Manual:Sqlite.php/es

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

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎日本語

Versión de MediaWiki: 1.16

Detalles

sqlite.php file is a maintenance script for tasks specific to SQLite backend.

Opciones

Currently, these options are supported:

--vacuum
Executes VACUUM command that compacts the database and improves its performance.

Ejemplo:

$ php sqlite.php --vacuum
VACUUM: Database size was 46995456 bytes, now 37796864 (19.6% reduction).
--integrity
Performs 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.

Ejemplo:

$ php sqlite.php --integrity
Performing database integrity checks:
ok
--backup-to <file name>
Backups the database to the given file.
Versión de MediaWiki: 1.17
--check-syntax <one or more file names>
Checks SQL files for compatibility with SQLite syntax. This option is intended for developer use.

All these options can be used at the same time.