diff options
Diffstat (limited to 'maintenance/archives/patch-categorylinksindex.sql')
-rw-r--r-- | maintenance/archives/patch-categorylinksindex.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/maintenance/archives/patch-categorylinksindex.sql b/maintenance/archives/patch-categorylinksindex.sql new file mode 100644 index 00000000..8a9ff123 --- /dev/null +++ b/maintenance/archives/patch-categorylinksindex.sql @@ -0,0 +1,11 @@ +-- +-- patch-categorylinksindex.sql +-- +-- Per bug 10280 / http://bugzilla.wikimedia.org/show_bug.cgi?id=10280 +-- +-- Improve enum continuation performance of the what pages belong to a category query +-- + +ALTER TABLE /*$wgDBprefix*/categorylinks + DROP INDEX cl_sortkey, + ADD INDEX cl_sortkey(cl_to, cl_sortkey, cl_from); |