wiki.techinc.nl/maintenance/archives/patch-add-cl_collation_ext_index.sql
Brian Wolff eec016ece6 Add new index to make updateCollation.php painless
We want to update categories in order, to minimize disruption
to users. Previous indexes required a filesort to do this, which
exploded things on large wikis. See bug for details

Bug: T58041
Change-Id: Iee6cd997ff87a313a46fda19d8ab063d0fed8ce8
2016-03-22 16:32:52 -06:00

2 lines
113 B
SQL

-- @since 1.27
CREATE INDEX /*i*/cl_collation_ext ON /*_*/categorylinks (cl_collation, cl_to, cl_type, cl_from);