Optimize Firefox Databases/Performance on Ubuntu
Firefox is an awesome browser. It’s even more than that with the awesome bar. But did you know your whole web history, bookmarks (and also some more info) are stored in sqlite databases? This means it’s more stable than standart DOM Storage but has less performance if it gets too many changes in a short period.
But fear not. Just like on your website, you can optimize your databases in Firefox. Under ubuntu you have to install sqlite3 from repository:
sudo apt-get install sqlite3
Then just run this command to Vacuum your databases under your firefox profile folder.
(It’s harmless but make a backup of your profile folder, in case of…life)
find $HOME/.mozilla/ \( -name "*.sqlite" \) -exec sqlite3 {} "vacuum" \;
[Via: Ubuntu Forums]