2 ms·
To defrag your databases, first close Firefox then run: for i in ~/.mozilla/firefox/*default/*ite; do sqlite3 $i vacuum; done
by nodata 15y ago
To defrag your databases, first close Firefox then run:
for i in ~/.mozilla/firefox/*default/*ite; do sqlite3 $i vacuum; done
- gcp 15y agoNote that this does not defragment the storage on disk, just the internal SQLite pages. So it's not a complete solution.
- nirbheek 15y agoActually, that command will also rewrite the entire .sqlite file, and if you have enough free space, the filesystem will most likely rewrite it in a contiguous manner. I tested this with filefrag.