This have bothered me from time to to me over the last years, and now it happened again. And this time I thought I could write down the quick fix (for lilnux, probably works with Macs too)
- stop Firefox
- cd into your firefox profile
- for i in `find . -iname \*sqlite`; do echo " -- $i --"; ls -l $i; sqlite3 $i VACUUM; ls -l $i ; echo; done
This reduced places.sqlite from 21 to 3MB, cookies.sqllite almost halved in size, while some of Firefox's own db's remained unchanged.
And most importantly - Firefox feels a lot quicker now:-)
Thanks! Works fine but requires installed sqlite.
ReplyDeleteDer ewige Carsten
ReplyDeleteDo you have a fix for FF under MSwindows too? tnx
ReplyDeleteCarsten; thanks for the reminder - you are of course correct.
ReplyDeleteA more complete description of this procedure can be found at
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
Anonymous; The article have links for downloading sqlite binaries for both Mac and MS Windows (Linux-users should just use their package manager to install Sqlite) and the article has a script to run this in windows.