SQLite » History » Version 1
  pennywise, 07/02/2009 05:12 PM 
  
| 1 | 1 | pennywise | h1. SQLite  | 
|---|---|---|---|
| 2 | 1 | pennywise | |
| 3 | 1 | pennywise | h2. Cleanup of the database  | 
| 4 | 1 | pennywise | |
| 5 | 1 | pennywise | * You could use vacuum http://www.sqlite.org/lang_vacuum.html  | 
| 6 | 1 | pennywise | * You can dump the database and import it again. You have to stop quassel(core) for this:  | 
| 7 | 1 | pennywise | |
| 8 | 1 | pennywise | <pre>  | 
| 9 | 1 | pennywise | mv ~/.quassel/quassel-storage.sqlite ~/.quassel/quassel-storage.sqlite.bak  | 
| 10 | 1 | pennywise | sqlite3 ~/.quassel/quassel-storage.sqlite.bak .dump | sqlite3 ~/.quassel/quassel-storage.sqlite  | 
| 11 | 1 | pennywise | </pre>  |