1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/feed
vrana 511a8bae34 Optimize feed query
Summary:
This was killing us. `EXPLAIN` after:

<table>
<tr><th>id</th><th>select_type</th><th>table</th><th>type</th><th>possible_keys</th><th>key</th><th>key_len</th><th>ref</th><th>rows</th><th>Extra</th></tr>
<tr><td>1</td><td>SIMPLE</td><td>story</td><td>index</td><td>chronologicalKey</td><td>chronologicalKey</td><td>8</td><td></td><td>201</td><td> </td></tr>
<tr><td>1</td><td>SIMPLE</td><td>ref</td><td>ref</td><td>chronologicalKey</td><td>chronologicalKey</td><td>8</td><td>phabricator_feed.story.chronologicalKey</td><td>1</td><td>Using index</td></tr>
</table>

Test Plan: /feed/

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3628
2012-10-04 16:07:39 -07:00
..
builder Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
constants Publish feed stories about commits 2012-06-20 06:03:44 -07:00
controller Minor, restore missing limits from 310cf00fc3 2012-07-03 06:25:03 -07:00
storage Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
story Aggregate Differential notifications 2012-08-22 08:19:38 -07:00
view Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorFeedQuery.php Optimize feed query 2012-10-04 16:07:39 -07:00
PhabricatorFeedStoryPublisher.php Minor, set default value for subscribedPHIDs to avoid: 2012-08-23 06:41:58 -07:00