Page MenuHomePhabricator

Optimize feed story gc query.
AbandonedPublic

Authored by Pawka on Sep 10 2015, 11:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 1, 2:56 PM
Unknown Object (File)
Mon, Apr 1, 12:44 PM
Unknown Object (File)
Tue, Mar 26, 9:54 PM
Unknown Object (File)
Mar 16 2024, 7:04 AM
Unknown Object (File)
Mar 5 2024, 4:02 AM
Unknown Object (File)
Feb 29 2024, 11:50 PM
Unknown Object (File)
Feb 21 2024, 5:42 AM
Unknown Object (File)
Feb 3 2024, 6:34 AM
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 ;)