Closed
Bug 1959694
Opened 10 months ago
Closed 2 months ago
Shrink favicons database by removing favicon relations expired months ago
Categories
(Toolkit :: Places, task, P2)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
147 Branch
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 file)
Many icon relations have not been updated in ages, I have like 20k relations in my database (corresponding to about 250 icons) that were not updated on their last visit and are older than 1 year.
In most cases they are urls that started redirecting or returning errors, or bogus favicons.
SELECT icon_url, page_url
FROM moz_icons_to_pages ip
JOIN moz_icons i ON i.id = icon_id
JOIN moz_pages_w_icons pi ON pi.id = page_id
JOIN moz_places ON url_hash = page_url_hash
WHERE ip.expire_ms < min((last_visit_date / 1000), (strftime('%s', 'now', 'localtime', 'start of day', '-1 year', 'utc') * 1000))
AND root = 0
AND foreign_count = 0
Updated•10 months ago
|
| Assignee | ||
Updated•2 months ago
|
Assignee: nobody → mak
Status: NEW → ASSIGNED
| Assignee | ||
Updated•2 months ago
|
Summary: Shrink favicons database removing relations expired from more than 1 year → Shrink favicons database by removing favicon relations expired months ago
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed by mak77@bonardo.net:
https://github.com/mozilla-firefox/firefox/commit/f0e0295fbc6a
https://hg.mozilla.org/integration/autoland/rev/a535ef8ca3c0
Shrink favicons database by removing favicon relations expired months ago. r=daisuke,places-reviewers
Comment 3•2 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox147:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Updated•2 months ago
|
QA Whiteboard: [qa-triage-done-c148/b147]
| Assignee | ||
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•