How to vacuum sqlite database? -
i want know how vacuum sqlite database. tried syntax manual vacuum command whole database command prompt:
$sqlite3 database_name "vacuum;"; but it's giving error as:
near "database_name": syntax error. and auto vacuum:
pragma auto_vacuum = incremental; and tried particular table as:
vacuum table_name; but no result.
you don't specify table name in syntax. vacuum works.
also, clean main database , not attached database files.
more info, refer sqlite.
hope helps.
Comments
Post a Comment