Closed
Bug 1142648
Opened 10 years ago
Closed 10 years ago
gzip the json blobs in the artifact tables
Categories
(Tree Management :: Treeherder: Data Ingestion, defect)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: wlach)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
As mentioned in the meeting the other day, we should gzip the json blobs in job_artifact, performance_artifact, performance_series, result_set_artifact to reduce their storage requirements and mean the more time consuming bug 1080758 can be left until later.
Assignee | ||
Comment 1•10 years ago
|
||
:edmorley and I agreed that we can start with these two types of data, which take up the lion's share of disk space. Note that this patch only compresses *new* objects, but old objects should still work fine, I think.
Assignee: nobody → wlachance
Attachment #8580763 -
Flags: review?(mdoglio)
Updated•10 years ago
|
Attachment #8580763 -
Flags: review?(mdoglio) → review+
Comment 2•10 years ago
|
||
:wlach thanks for tackling this, it's a very good first step to reduce the size of our DB.
Comment 3•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-service
https://github.com/mozilla/treeherder-service/commit/7a07fdf4f98a5c77e972c444a73da099a6812565
Bug 1142648 - Zlib compress new job_artifact, performance_artifact blobs
Old uncompressed blobs will continue to work transparently
Assignee | ||
Comment 4•10 years ago
|
||
Pushed. Doing a test on stage before resolving this.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Reporter | ||
Updated•10 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Reporter | ||
Comment 5•10 years ago
|
||
I've just run an OPTIMIZE TABLE on stage {mozilla_inbound,mozilla_central,try,fx_team,mozilla_b2g}_jobs_1.performance_artifact to free up some space given today's disk usage alerts. It has freed about 44GB - we should run it again once we've expired the rest of the old uncompressed rows.
Assignee | ||
Comment 6•10 years ago
|
||
I think we can resolve this for now, I don't think we should gzip the other stuff until we have a demonstrated need.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•