Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. $ ls -lh places.sqlite
  2. -rw------- 1 martin martin 1.2M Sep 8 07:24 places.sqlite
  3.  
  4. $ sqlite3 places.sqlite
  5. SQLite version 3.7.13 2012-06-11 02:05:22
  6. sqlite> .tables
  7. moz_anno_attributes moz_favicons moz_items_annos
  8. moz_annos moz_historyvisits moz_keywords
  9. moz_bookmarks moz_hosts moz_places
  10. moz_bookmarks_roots moz_inputhistory
  11.  
  12. sqlite> .output dump.sqlite
  13. sqlite> .dump
  14.  
  15. $ ls -lh
  16. total 1.2M
  17. -rw------- 1 martin martin 39K Sep 8 19:01 dump.sqlite
  18. -rw------- 1 martin martin 1.2M Sep 8 07:24 places.sqlite
  19.  
  20. sqlite> vacuum;
  21. Successful lookaside attempts: 3690
  22. Lookaside failures due to size: 913
  23. Lookaside failures due to OOM: 0
  24.  
  25. sqlite> vacuum full;
  26. Successful lookaside attempts: 6509
  27. Lookaside failures due to size: 1621
  28. Lookaside failures due to OOM: 0
  29.  
  30. analyze;
  31. select * from sqlite_stat1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement