Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to defrag after removing all info before say a week's history

  • 2 replies
  • 2 have this problem
  • 4 views
  • Last reply by sparX

more options

How do I defrag after removing past cookies and history I won't need again?

How do I defrag after removing past cookies and history I won't need again?

All Replies (2)

more options

All SQLite database files have fixed sizes and are increased with a fixed amount to avoid fragmentation on disk.
For the places.sqlite file this is initially 10 MB and gets increased with 10 MB chunks and other sqlite files have their own initial size and increment (e.g. cookies 512 KB). The size doesn't get decreased if you delete data and a vacuum process is required to accomplish this.

Copy and Paste this code in the Code field in the "Web Developer > Error Console" (Ctrl+Shift+J) and click the "Evaluate" button to cleanup and compress the places.sqlite database file.

Components.utils.import("resource://gre/modules/PlacesDBUtils.jsm"); PlacesDBUtils.checkAndFixDatabase();

Modified by cor-el

more options

Not sure if I understand , but , If you don't need them anymore ...don't worry about it , just defrag the usual way: - Start >All Programs >Accessories >System Tools >Disk Defragmenter< / Or you can download a Defragmenter I've Liked from CNET Downloads.com (for free) "Auslogics Disk Defrag" or there are many more third party defraggers out there.