r1348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1347‎ | r1348 | r1349 >
Date:06:15, 23 May 2003
Author:eloquence
Status:old
Tags:
Comment:
Patch for speeding up "Oldest articles" special page.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-list.txt (modified) (history)
  • /trunk/phase3/maintenance/archives/patch-oldestindex.sql (added) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-list.txt
@@ -104,4 +104,8 @@
105105 required for changes to OutputPage.php and elsewhere to continue
106106 working on an older database.
107107
 108+* 2003-05-23: Index for "Oldest articles"
 109+"Oldest articles" needs an index on namespace, redirect and timestamp
 110+to be reasonably fast. (patch-oldestindex.sql)
 111+
108112 OutputPage.php User.php maintenance/buildTables.inc maintenance/patch-cache.sql maintenance/patch-list.txt
Index: trunk/phase3/maintenance/archives/patch-oldestindex.sql
@@ -0,0 +1,5 @@
 2+-- Add index for "Oldest articles" (Special:Ancientpages)
 3+-- 2003-05-23 Erik Moeller <moeller@scireview.de>
 4+
 5+ALTER TABLE cur
 6+ ADD KEY namespace_redirect_timestamp(cur_namespace,cur_is_redirect,cur_timestamp);
\ No newline at end of file
Property changes on: trunk/phase3/maintenance/archives/patch-oldestindex.sql
___________________________________________________________________
Added: svn:eol-style
17 + native
Added: svn:keywords
28 + Author Date Id Revision

Status & tagging log