webappsstore.sqlite is larger than it should be
Categories
(Core :: Storage: localStorage & sessionStorage, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| fennec | + | --- |
People
(Reporter: rnewman, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: dom-lws-bugdash-triage)
| Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
| Reporter | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
| Reporter | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
| Reporter | ||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment 19•11 years ago
|
||
| Reporter | ||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
| Reporter | ||
Updated•11 years ago
|
Updated•10 years ago
|
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Comment 28•9 years ago
|
||
| Reporter | ||
Comment 29•9 years ago
|
||
Comment 30•9 years ago
|
||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
Comment 33•9 years ago
|
||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Comment 36•9 years ago
|
||
| Reporter | ||
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Comment 40•9 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 42•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Comment 43•1 year ago
|
||
I checked and mine has 285mb of stuff with 36274 lines.
I am wondering if there is a way to clean up data from an year ago as example, the columns in the table doesn't have this kind of data.
Comment 44•1 year ago
|
||
Now I am noticing that the file last change is 19/05/22 and the size didn't changed.
Maybe the files is not used anymore and it is safe to remove it?
Comment 45•1 year ago
|
||
So the file doesn't changed in the meantime (still 19/05/22) but the webappsstore.sqlite-wal file instead was touched on 05/04/2024.
The file can be removed or not?
Comment 46•1 year ago
|
||
(In reply to Daniele "Mte90" Scasciafratte from comment #45)
So the file doesn't changed in the meantime (still 19/05/22) but the webappsstore.sqlite-wal file instead was touched on 05/04/2024.
The file can be removed or not?
This can happen when the storage/ls-archive.sqlite has been manually removed or entire storage/ folder has been removed.
The archive needs to be created again and for that webappsstore.sqlite serves as a data source (hence the modified time of the wal file). If webappsstore.sqlite is unusable or empty, everything should work normally, the ls-archive.sqlite will end up being empty and that's ok as well.
So I would say (for now unofficially) that removing webappsstore.sqlite and webappsstore.sqlite-wal manually while the app is fully closed is ok. These files may reappear (if ls-archive.sqlite needs to be recreated), but they will be rather small and will stay small.
Comment 47•1 year ago
•
|
||
I removed the file and everything works with no issues.
I see that the file was generated again and that on storage there is ls-archive.sqlite that is like 200~ mb
Comment 48•1 year ago
|
||
I guess the next question which is coming is whether you can remove ls-archive.sqlite :)
Comment 49•3 months ago
|
||
I understand there to have been 2 primary concerns here, both having to do with the amount of disk usage:
- Potential inefficiency in the SQLite database page size / growth factor.
- Data clearing policy for web sites that haven't been visited in a while.
The single database file has been replaced by QuotaManager-managed individual files and we were sensitive to growth factors in the choice of page sizes there. Data clearing policy is still an active issue for enhancement, but is somewhat difficult because it's hard to tell a website a user will want to visit again from one they won't want to visit. The anti-tracking team does have a subsystem that tries to at least determine sites that were tracker-y in nature and purge those.
Description
•