Speeding Chrome / Chromium start up on Linux

If you have been using Chromium like me, you know it can get pretty slow on the first start up after a couple of months of usage.
It's mainly because of all the SQLite 3.x databases it uses for history and other settings.
So here's a simple script to defrag and reindex all the databases chromium uses.

1. Install SQLite3 :

2. Close Chromium.

3. Execute this in bash :

VACUUM : The VACUUM command rebuilds the entire database.
REINDEX : The REINDEX command is used to delete and recreate indices from scratch.

4. Results (I ran this a couple of weeks ago so the result isn't as good as it would be the first time. :

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTMLtags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">