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.

New Articles

Incoming Search Terms for the Article

optimize firefox - defrag firefox - firefox defrag - firefox optimize - optimizing firefox - firefox defragmenter - optimize firefox 3.5 - defragment firefox - how to optimize firefox - how to optimize firefox browser - optimize firefox browser - defrag mozilla database - 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”); - mozilla 2009 my digital life - firefox database optimize - how do i fix illegal character on my mozilla firefox? - firefoxdefrager - add-on performance firefox - how to optimize my firefox - Mozilla Firefox portable Hebrew - optimize firefox - optimize firefox 2009 - portable defragment windows 7 - Components.classes["@mozilla.org/browser - g firefox performance - optimize firefox for windows 7 - y - # ["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");# Hit [enter] or click the evaluate button. - addon firefox defrag - defrag history firefox add on - firefox optimize addon - optimize firefox 3.x - vacuum firefox script win7 - firefox add-ons not working - firefox defrgment - how to optimize firefox performance - vacuum places vs speedyfox - vacuum firefox javascript - what error is this Error: illegal character Source File: / - "firefox portable" srpski - addon firefox optimize - defragment places database - defragmenting with firefox - firefox defrag addon - is defragmenting my computer causes firefox - my firefox is slow addon - optimizing performance defrag - optimize firfox - portable firefox optimization - speedyfox history -