Manual:Sqlite.php/fr

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

Options
Les options suivantes sont prises en charge actuellement :


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

Exemple : $ 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.

Exemple : $ php sqlite.php --integrity Performing database integrity checks: ok
 * --backup-to &lt;file name&gt;: Backups the database to the given file.


 * --check-syntax &lt;one or more file names&gt;: Checks SQL files for compatibility with SQLite syntax. This option is intended for developer use.

Toutes ces options peuvent être utilisées simultanément.