Page MenuHomePhabricator

Optimize feed story gc query.
AbandonedPublic

Authored by Pawka on Sep 10 2015, 11:34 AM.
Tags
None
Referenced Files
F15437654: D14091.diff
Tue, Mar 25, 8:51 PM
F15433217: D14091.id.diff
Mon, Mar 24, 10:06 PM
F15416123: D14091.id34058.diff
Thu, Mar 20, 9:22 AM
F15412334: D14091.id.diff
Wed, Mar 19, 12:30 PM
F15407838: D14091.diff
Tue, Mar 18, 7:54 PM
F15402413: D14091.diff
Mon, Mar 17, 10:25 PM
F15367221: D14091.id34058.diff
Tue, Mar 11, 4:36 PM
Unknown Object (File)
Mar 2 2025, 8:20 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 ;)