Ubuntu Tip:Speed up Firefox by compacting SQLite databases

This post was written by admin on January 29, 2010
Posted Under: Mozilla Firefox

If your Firefox insists on doing huge amounts of I/O when closing, as well as acts slow when using the awesomebar,you can try this great tip original from:http://weblog.savanne.be/153-performance-tip-of-the-day

First,close down your Firefox completely and try following in Applications->Accessories->Terminal:

for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

this command just compacts your SQLite databases and no data will be lost.(You may first type sudo apt-get install sqlite3 to make this command run well.)

In addition,for OS X you can try:

for f in ~/Library/Application Support/Firefox/Profiles/*/*.sqlite; do sqlite3 "$f" 'VACUUM;'; done

Related posts:

  1. Speed up Firefox by moving cache into RAM in Ubuntu
  2. Share Firefox bookmarks/history/tabs between Ubuntu,Windows 7/Vista/XP
  3. Speed up web browsing in Firefox/Opera using Local DNS
  4. Firefox Bookmarks does not function properly with 3.5 upgrade
  5. How to view PDF files online in Firefox on Ubuntu 9.10(Karmic)

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address