Page MenuHomePhabricator

Optimize feed story gc query.
AbandonedPublic

Authored by Pawka on Sep 10 2015, 11:34 AM.
Tags
None
Referenced Files
F14709292: D14091.diff
Fri, Jan 17, 12:41 PM
F14707879: D14091.id34058.diff
Fri, Jan 17, 7:15 AM
F14707873: D14091.id.diff
Fri, Jan 17, 7:13 AM
Unknown Object (File)
Tue, Dec 24, 5:45 PM
Unknown Object (File)
Dec 1 2024, 5:16 PM
Unknown Object (File)
Dec 1 2024, 3:59 PM
Unknown Object (File)
Nov 28 2024, 2:25 AM
Unknown Object (File)
Nov 19 2024, 8:06 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Ref: T9382. Removed ORDER BY clause to make query perform faster.

Test Plan

Launch phd workers and check if older than 90 days feed stories are
removed.

Diff Detail

Event Timeline

Pawka retitled this revision from to Optimize feed story gc query..
Pawka updated this object.
Pawka edited the test plan for this revision. (Show Details)
Pawka added a reviewer: epriestley.

See T9382#136333. I'd like to understand this behavior better before making this change.

Notably, this makes the query plan worse on our dataset, although we already GC'd so we don't have a large dataset handy to test if it makes the actual query worse or not.

Let's ignore DIFF this then. Probably this is some configuration issue what we do not see now ;)