Skip to content

Instantly share code, notes, and snippets.

@maltzsama
Last active December 16, 2015 07:08
Show Gist options
  • Select an option

  • Save maltzsama/5396025 to your computer and use it in GitHub Desktop.

Select an option

Save maltzsama/5396025 to your computer and use it in GitHub Desktop.
SQLite VACUUM
//Executando o VACUUM no SQLite:
//código C:
sqlite_exec(db, "VACUUM;", 0, 0);
//Objective-c com FMDB:
FMResultSet *resultQuery = [db executeUpdate:@"VACUUM;"];
//utiliário SQLite:
sqlite> VACUUM;
//ou
sqlite filename 'VACUUM;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment