Compacting SQLite bases of Firefox 3

Last update on June 10, 2009 06:44 AM by jak58
Published by deri58

Compacting SQLite bases of Firefox 3







SQLite?


Firefox 3 uses SQLite database to store the history, bookmarks, the anti-phishing, etc..
SQLite is a database very powerful.

This helps to provide excellent performance, very fast search and ensure that data will not be corrupted.
The disadvantage is that these bases SQLite bigger and take place. Firefox does not compact these databases regularly.
These are the files. Sqlite content in your Firefox profile (home directory).

Here is a manipulation that reduces the size of these files without any loss of data.
This manipulation does no data base: It is fair to claim the unused disk blocks SQLite files.

Download SQLite


Optimizing


Close Firefox (important)

Then type:
sqlite databasename.sqlite "VACUUM" 

(For example: sqlite urlclassifier3.sqlite "VACUUM")

The size of the SQLite files should be decrease

Batch


To optimize all SQLite files , here is a batch for Windows:

@FOR %%G IN (*.sqlite) DO ( sqlite3 %%G "VACUUM" )


You can copy this file. Def (and sqlite3.exe) in the directory containing your files .Sqlite and run from time to time.
Best answers for « Compacting SQLite bases of Firefox 3 » in :
Firefox 3 Bookmark Manager Show Firefox 3 Bookmark Manager Compared to Firefox 2, Firefox 3 uses a new manager for bookmarks. Bookmarks are no more stored in the bookmarks.html file (in the directory of your Firefox profile), but in a SQLite database...
Automatically export bookmarks from Firefox ShowAutomatically export bookmarks from Firefox Compared to Firefox 2, Firefox 3 uses a new manager for bookmarks. Bookmarks are no more stored in the bookmarks.html file (in the directory of your Firefox profile), but in a SQLite database...
Optimizing Firefox completely ShowOptimizing Firefox completely Intro Increase the speed of loading pages Optimize memory usage Intro Type about:config in the address bar of Firefox, then read and confirm the warning. - To obtain a value, type the name or part...
How to install flash under firefox? ShowHow to install flash under firefox? Introduction Automatic installation Manual installation Introduction Flash is a software created in vector animation which allows image , vector graphic image, animation and videos on certain...
Download Firefox ShowDescription: Mozilla Firefox is a secure web-browser frequently updated and with Hundreds of extension, themes, etc. When installed, it also allows you to import your bookmarks from your old browser, thus you will not lose your bookmarks. Take...
Ethernet ShowIntroduction to Ethernet Ethernet (also known as IEEE 802.3 standard) is a data transmission standard for local area networks based on the following principle: All machines on an Ethernet network are connected to the same communication line, made...
Compact Flash memory card ShowCompact Flash Compact Flash memory (sometimes called CF) is a kind of memory card created in 1994 by the company SanDisk. Compact Flash is made up of a memory controller and a flash memory chip contained within a miniature casing (42.8mm wide and...
Introduction to Microsoft Windows ShowHistory of Windows Windows is the operating system sold by the Seattle-based company Microsoft. Microsoft, originally christened "Traf-O-Data" in 1972, was renamed "Micro-soft" in November 1975, then "Microsoft" on November 26, 1976. Microsoft...