Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

atcroft (5054)

atcroft
  (email not shown publicly)

Journal of atcroft (5054)

Friday September 18, 2009
06:24 PM

Compacting db in FF from error console

[ #39647 ]

(This is mostly for my own reference, because at one time I had encountered the information, but forgot where I stored it.)

To compact the database used by FireFox 3.x from the Error Console,

  1. Go to Tools -> Error Console
  2. Paste in (as a single line) the following:
    Components.classes[ "@mozilla.org/browser/nav-history-service;1" ].getService( Components.interfaces.nsPIPlacesDatabase ).DBConnection.executeSimpleSQL( "VACUUM" );

(Many thanks to the folks on #firefox on irc.mozilla.org, and especially to dr|z3d, who was able to quickly offer me with clue in this instance.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.