I want to know how to vacuum sqlite database. I tried a syntax MANUAL VACUUM command for the whole database from command prompt:
$sqlite3 database_name \"VACUU
You don't to specify the table name in the syntax. Only VACUUM works.
VACUUM
Also, it will clean the main database only and not any attached database files.
For more info, refer to the SQLite documentation.