1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications
epriestley ca4c0db2c1 Add a key to improve Diffusion's cache fill history query
Summary:
Ref T10560. I don't fully understand what MySQL is doing here, but it looks like this key improves the problematic dataset in practice.

(It makes sense that this key helps, I'm just not sure why the two separate keys and the UNION ALL are so bad.)

This key isn't hugely expensive to add, so we can try it and see if there are still issues.

Test Plan: Ran `bin/storage adjust`, saw key added to table. Used `SHOW CREATE TABLE ...` to verify the key exists. Used `EXPLAIN SELECT ...` to make sure MySQL actually uses it.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10560

Differential Revision: https://secure.phabricator.com/D15460
2016-03-10 17:38:36 -08:00
..
almanac Provide bin/nuance import and ngram indexes for sources 2016-03-08 10:30:24 -08:00
aphlict Update "should not run as root" message 2015-10-31 11:20:23 +00:00
arcanist/conduit Remove remaining arcanist project code 2015-07-08 19:37:28 +10:00
audit Fix some visibility issues with inline comments in Diffusion 2016-03-05 14:18:49 -08:00
auth Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
badges Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
base Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
cache Write 500 words on how to restart webservers 2015-12-02 09:16:10 -08:00
calendar Add back calendar comment form 2016-03-08 08:06:54 -08:00
celerity Polish up timeline for PHIUTwoColumnView 2016-03-08 17:51:53 -08:00
chatlog Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
conduit fix the typo in the label field 2016-02-16 15:14:19 -08:00
config Store Almanac "service types" instead of "service classes" 2016-02-26 06:21:50 -08:00
conpherence Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00
console Separate external editor integration from callsigns 2016-01-04 06:54:01 -08:00
countdown Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
daemon Make bin/phd debug quieter by default 2016-03-07 08:04:49 -08:00
dashboard Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00
differential Move DifferentialRevisionViewController to newPage() 2016-03-10 13:22:25 -08:00
diffusion Give AphrontTagView a getViewer(), deprecate getUser() 2016-03-06 09:27:38 -08:00
diviner Restrict PropertyListView width to just DocumentProView 2016-02-22 11:54:23 -08:00
doorkeeper Begin bridging GitHub objects through Doorkeeper 2016-03-09 09:29:21 -08:00
draft/storage Fix EditEngine preview/draft for first comment on a task you didn't create 2015-12-05 09:57:45 -08:00
drydock Provide bin/nuance import and ngram indexes for sources 2016-03-08 10:30:24 -08:00
fact Swap charts from gRaphael to D3 2016-02-01 10:36:59 -08:00
feed Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
files Remove shouldShowSubscribersProperty() from SubscribableInterface 2016-03-06 06:01:36 -08:00
flag Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
fund Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
harbormaster Provide bin/nuance import and ngram indexes for sources 2016-03-08 10:30:24 -08:00
help Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
herald Fix an issue with the Herald engine field value cache 2016-03-09 10:28:50 -08:00
home Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00
legalpad Remove shouldShowSubscribersProperty() from SubscribableInterface 2016-03-06 06:01:36 -08:00
lipsum Improve lispum generation of pastes 2015-12-25 07:41:38 -08:00
macro Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
maniphest Add date to author panel in Maniphest 2016-03-10 09:10:00 -08:00
meta Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
metamta Polish up timeline for PHIUTwoColumnView 2016-03-08 17:51:53 -08:00
multimeter Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
notification Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
nuance Begin adding test coverage to GitHub Events API parsers 2016-03-09 09:30:07 -08:00
oauthserver Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
owners Provide bin/nuance import and ngram indexes for sources 2016-03-08 10:30:24 -08:00
passphrase Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
paste Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
people Convert people manage page to two column 2016-03-09 08:57:11 -08:00
phame Give AphrontTagView a getViewer(), deprecate getUser() 2016-03-06 09:27:38 -08:00
phid Allow Harbormaster build plans to be tagged with projects and searched by tag 2016-02-29 05:22:59 -08:00
phlux Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
pholio Remove shouldShowSubscribersProperty() from SubscribableInterface 2016-03-06 06:01:36 -08:00
phortune Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
phpast Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
phragment Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
phrequent Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
phriction Remove shouldShowSubscribersProperty() from SubscribableInterface 2016-03-06 06:01:36 -08:00
phurl Update Phurl to PHUITwoColumnView 2016-03-08 19:53:44 +00:00
policy Simplify locking of Almanac cluster services 2016-02-25 03:38:39 -08:00
ponder Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
project Update project manage page for two column 2016-03-09 09:11:48 -08:00
releeph Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
remarkup/conduit phtize all the things 2015-05-22 21:16:39 +10:00
repository Add a key to improve Diffusion's cache fill history query 2016-03-10 17:38:36 -08:00
search Update Buildable search in Harbormaster 2016-02-27 07:13:10 -08:00
settings De-garbage the horrible garbage project section of the policy selection control 2016-02-05 09:50:06 -08:00
slowvote Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
spaces Sort Spaces dropdown by name, not "alphabetical ID" 2016-02-23 10:41:49 -08:00
subscriptions Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
tokens Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
transactions Allow applications to test if a user could edit a certain field by clicking "Edit Thing" 2016-03-08 10:29:34 -08:00
typeahead Allow Almanac interfaces to be browsed 2016-02-21 10:45:00 -08:00
uiexample Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
xhprof Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00