Ubuntu 13.04 Suffers Performance

Nils Kassube kassube at gmx.net
Wed Jun 19 19:32:13 UTC 2013


Basil Chupin wrote:
> On 19/06/13 17:41, Nils Kassube wrote:
> > Basil Chupin wrote:
> >> I did read sometime ago that 'to make Firefox leaner and meaner'
> >> one
> >> should clear out the sqlite databases occasionally. The command to
> >> do
> >> this - in console as root, and put command all on the 1 (one) line:
> >> 
> >> Components.classes["@mozilla.org/browser/nav-history-service;1"].ge
> >> tSe
> >> rvice(Components.interfaces.nsPIPlacesDatabase).DBConnection.execu
> >> teSi mpleSQL("VACUUM");
> > 
> > Thanks for the command, but I don't understand what it does, so I
> > won't try it. If I read "executeSimpleSQL("VACUUM")", I fear it
> > would delete things I want to keep.
> 
> Well I did this 'vacuuming' a while back and I didn't notice any bad
> effects. But make a backup of ~/.mozilla of course just in case :-) .

While I don't expect any nefarious commands from you, I still don't like 
to run an unknown command as root on my main machine. Therefore I tried 
it with an Xubuntu 13.04 Live-CD and this is the result:

xubuntu at xubuntu:~$ sudo su
root at xubuntu:/home/xubuntu# 
Components.classes["@mozilla.org/browser/nav-history-
service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");
bash: syntax error near unexpected token 
`Components.interfaces.nsPIPlacesDatabase'
root at xubuntu:/home/xubuntu# 

Obviously there is something wrong with the command ...

I suppose it is a command to be run within a database program (sqlite?), 
but I'm not familiar with any of them, so I don't even know if that is a 
wrong guess.


Nils





More information about the ubuntu-users mailing list