Optimize Firefox Performance Via Defragmentation Add-on Applications

Mozilla Firefox browser version 3 and above stores a variety of configuration data such as bookmarks, history, RSS feeds, cookies, etc in its self managed and self contained SQLite databases. Over time, the database will get fragmented. The size of the database will get inflated with more and more junk data mixed together with real data. This will technically affect the browser’s performance, e.g. slow down the browser’s loading, delay the start up, cause overall speed drops, etc. To boost and optimize the Firefox browser’s performance, users need to defragment the browser from time to time. By defragmenting the database, users will actually “vacuum” the database to get rid of old and junk data, thus optimizing its performance again.

Mozilla Firefox has disclosed a simple vacuum technique by running some codes in the Error Console command within the browser to defragment the SQLite database:

  • Go to MenuTools -> Error Console
  • Paste the following in the “Code:” text-box: Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL(”VACUUM”);
  • Press Enter or click Evaluate. The database will thence be vacuumed immediately.

The process will speed up the browser’s performance once it is completed done. Nevertheless, if users do not want to try this measure or encounter problems while doing this, there are some Firefox add-ons which users can add to their Firefox browser to defragment and vacuum the SQLite database.

Vacuum Places Improved

Based on Firefox’s add-on Vacuum Places app, Vacuum Places Improved is an improved version which works under a similar concept but features more options for users who want to defragment their Places Database. This database defragmentation tool offers users two options: to be configured for auto-cleaning the SQLite databases on every x startup of the browser OR issue users with reminders to clean the database manually after every x start by displaying an icon in the Firefox status bar. Users are given permission to freely set the “x” number.

VPI01

Users can download Vacuum Places Improved for their Firefox (version 3.5 above) via the link here.

SpeedyFox

For Windows only, SpeedyFox works a bit similarly to the Vacuum Places add-on which can speed up the browser’s performance by defragmenting the database. This new utility tool will auto-detect users’ default profile for optimization. Users can select other profiles for the same operation in the event users have more than one profile. The optimization process is pretty fast. However, the time consumed depends on the size of the database. The whole optimization process is safe as it does not affect your history, bookmarks, passwords, etc.

speedyfox

Users who want to try SpeedyFox can download the software application via the link here. The developer offers both setup and portable versions.


5 Responses to “Optimize Firefox Performance Via Defragmentation Add-on Applications”

  1. Jon K
    September 25th, 2009 18:55
    5

    How to use speedyfox on firefox portable ?

  2. Will
    September 8th, 2009 20:02
    4

    Indeed, thanks Joshua..

  3. Will
    September 8th, 2009 20:00
    3

    Neither commands work:

    Error: illegal character
    Source file: javascript:%20Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL(%E2%80%9DVACUUM%E2%80%9D);
    Line: 1, Column: 149
    Source code:
    Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL(”VACUUM”);

    I bet the blog here is missing it up..

  4. Joshua May
    September 8th, 2009 12:09
    2

    If it’s not working, replace the double quotes with your own. WordPress has a habit of converting things to fancy quotes, which isn’t just valid Javascript ;)

  5. kukubau
    September 6th, 2009 18:37
    1

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

    this is the right command. yours doesn’t work for some reason

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

optimize firefox - defrag firefox - firefox defrag - firefox defragment - firefox optimize - defragment firefox - firefox performance problems - optimize firefox 3.5 - how to optimize firefox - Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM"); - firefox bookmark defragment - firefox database defragment - how to optimize firefox browser - firefox addons not working in windows 7 - firefox performance problem - optimize firefox javascript - défragmentation firefox - optimize firefox performance - firefox optimizer - performance of firefox browser - .DBConnection.executeSimpleSQL("VACUUM"); :: - addons not working in firefox windows 7 - firefox optimize history - how difragment the firefox - optimize firefox 3.5 database - optimize my browser - Error: illegal character Source File - javascript "illegal character" empty file - optimizing firefox - @mozilla.org/browser/nav-history-service;1 - firefox performance add-ons - firefox 3.5 optimize - firefox defragmenter - performance add on for firefox - defragment firefox database - defrag firefox database - firefox database optimization - firefox database optimize - firefox illegal character - firefox performance - optimize firefox addon - how do I get rid of old apps in the firefox add ons? - firefox history optimizer - how to optimize firefox browser - firefox sqlite addon - defragment places firefox - how can optimize firefox - firefox defragment bookmarks - optimize firefox - firefox performance addon -