Closed Bug 1219483 Opened 10 years ago Closed 8 years ago

remove exploitability_reports table

Categories

(Socorro :: Webapp, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: willkg)

References

Details

Attachments

(1 file)

The exploitability_reports table in prod is 6.5Gb [0] but the way we query it for the report is that we always only show the last 7 days worth of signatures. Why we don't have a 1, 3, 7, 14, 28 days choice on https://crash-stats.mozilla.com/report/exploitability/products/Firefox/versions/43.0a2 I don't know but suppose we add one, that means we can delete everything older than 28 days in a crontabber app. [0] https://gist.github.com/peterbe/9d7ded613578a461b1cc#file-gistfile1-txt-L8
Depends on: 1219960
Adjusting the scope of this to remove the exploitability_reports table from postgres and all code related to it. Making this block bug #1361394 covering simplifying postgres. Making this a P1 since doing this drops a large amount of stuff in our db and makes the upcoming infrastructure switchover easier.
Blocks: 1361394
No longer blocks: 1219417
Priority: -- → P1
Summary: Truncate exploitability_results → remove exploitability_results table
Fixing table name.
Summary: remove exploitability_results table → remove exploitability_reports table
Looks like there were stored procedures for updating the exploitability_reports table, but those were removed in migration f4c8c470b67e_bug_1424027_remove_procs.py. I don't see any other code that uses this table. So, I think this is just a straight-forward migration. Yippie!
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla-services/socorro https://github.com/mozilla-services/socorro/commit/5f12c9c32e677b3ccf1fb1e2093635fd60637675 fixes bug 1219483 - remove exploitability_reports table https://github.com/mozilla-services/socorro/commit/6ad605169dbe0d6aa4736f917355988fdd284243 Merge pull request #4325 from willkg/1219483-remove-exploitability-table fixes bug 1219483 - remove exploitability_reports table
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: