Pages

Tuesday, January 12, 2010

Speed up Firefox by cleaning out your SQLite databases

Filed under: , , ,

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!

[via Lifehacker]

Speed up Firefox by cleaning out your SQLite databases originally appeared on Download Squad on Mon, 24 Aug 2009 18:00:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

No comments:

Post a Comment