1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src
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
..
aphront Declare used properties 2012-10-04 14:46:06 -07:00
applications Optimize feed query 2012-10-04 16:07:39 -07:00
docs Update database.schema doc to include how to upgrade the schema 2012-10-04 15:26:16 -07:00
infrastructure Remove all optimistic lock code from Lisk 2012-10-04 13:55:43 -07:00
rsrc Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
view Declare used properties 2012-10-04 14:46:06 -07:00
__celerity_resource_map__.php Restore flavor text to applications 2012-10-03 15:16:26 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php allow arcanist projects to be deleted via the ui 2012-10-04 13:25:58 -07:00