Tag: Defragments

Firefox databases for better performance

July 29, 2009 by Jason

Since Firefox 3.0, bookmarks, history and most storage is kept in SQLite databases. Also, the default history time span was raised from 9 to 90 days as it became more discoverable and useful thanks to the awesome bar, so depending on your browsing habits it could represent some pretty large databases.

Aas any other database, SQLite databases become fragmented over time and empty spaces appear all around. But, since there are no managing processes checking and optimizing the database, these factors eventually result in a performance hit. So, a good way to improve startup and some other bookmarks and history related tasks is to defragment and trim unused space from these databases.

To do this:

Step 1: get sqlite3, a single file command line SQLite database manager, for your platform (available for Linux, Windows, and Mac OS X).

Step 2: Copy the downloaded binary to your profile folder where all your .sqlite files reside.

Step 3: Close Firefox. Read More»

How to Perform Disk Defragment Windows Vista from the Command Line

February 19, 2008 by Jason

The Windows Vista Disk Defragmenter has been improved over the Windows XP version, but you can’t see or use all the best features unless you run it from the command line. By default the defrag tool only defragments files smaller than 64 MB, because according to Microsoft’s benchmarks, fragments of this size, which already consist of at least 16000 contiguous clusters, have a negligible impact on performance. If you still want to defrag files larger than 64 MB too, you need to use the -w switch mentioned below to defragment files of all size.

Disk Defragmenter does not defragment files in the Recycle Bin, or files which are in use. Disk Defragmenter will not degragment Bootsect dos, Safeboot fs, Safeboot csv, Safeboot rsv, Hiberfil sys, Memory dmp, or the Windows page file. Using the -b parameter will optimize these boot files. Read More»