Vacuum Database to Speedup Firefox

| Posted by watashii | Filed under Software

vacuum_firefox

Firefox performance can be improved by defragmenting the internal SQLite database.  This can be done by running a vacuum command within Firefox, as explained in Mozilla Links.   The process are as follows:

1) Open Tools > Error Console (or Press Ctrl + Shift + J)

2) In the Code text box, paste the following (in one single line)

Components.classes["@mozilla.org/browser/nav-history-service;1"].
getService(Components.interfaces.nsPIPlacesDatabase).
DBConnection.executeSimpleSQL("VACUUM"); 

Note:  Make sure the double-quotes are normal quotes and not slanted quotes

3) Press Evaluate.  Firefox will freeze for a few seconds while the database is being defragmented.

A handier add-on extension is also available to perform this action.

Share:

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Print
  • email

Related Posts:

  1. Firefox 3.0 Upgraded
  2. Viewing Firefox Cache Files
  3. Add Search Engines to Firefox
  4. Firefox Reserved Ports Restricted For Security Reasons
  5. Firefox Disable Flashing Cursor

Tags: , ,

Leave a Reply