This is my personal blog being used as a news portal for another web site. News I find interesting will be posted here and then picked up via the RSS feed to use on another site. Please contact me with any questions.

Wednesday, August 26, 2009

Speed up Firefox by cleaning out your SQLite databases

A while back, Jason mentioned giving your Firefox performance a boost by limiting the length of time items are saved in history.

At Mozilla Links, they've shared another handy tip from Mozilla developer Jeremy Orem.
His advice: take a vacuum to your SQLite databases. Here's how to do it:

  1. Open the Firefox tools menu and click on error console.
  2. Paste the following command into the code box as a single line (as pictured):
    Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");
  3. Hit [enter] or click the evaluate button.

After a momentary hang, you'll be able to close the console and return to your main Firefox window to enjoy your leaner, meaner browser!

Speed up Firefox by cleaning out your SQLite databases

Blog Archive