Template:Slow: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
im>Maiden taiwan
(see bug report)
 
imported>FrozenPlum
m (Fix inconsistent doc format, am getting things roughly back to how they were before making wiki public again, just, Fandom import created lots of unnecessary junk to clean up)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
:<span style="font-weight:bold;color:red;text-decoration:underline;">Warning:</span> This keyword can produce very slow and inefficient queries on your MediaWiki system, potentially impacting performance for all users. (See [[Issue:Modifiedby and createdby produce inefficient SQL|bug report]].)
<onlyinclude><includeonly>{{note|'''Warning:''' This keyword can result in very slow and inefficient queries on your MediaWiki system, potentially impacting performance for all users (see [http://followthescore.org/dpldemo/index.php/Issue:Modifiedby_and_createdby_produce_inefficient_SQL bug report]).|error}}</includeonly></onlyinclude>
{{Documentation}}
<noinclude>
== Background ==
This template was written by [[User:Maiden_taiwan]] after the DPL <code>createdby</code> keyword hurt performance on his MediaWiki system significantly. On a MediaWiki site with 100,000 articles and 3,000 users, this DPL took '''2.5 minutes''' to run:

<pre>
<dpl>
namespace=
createdby=someuser
</dpl>
</pre>

People were making these DPL calls all the time to find out what articles they had created. When two of these ran at once, it significantly hurt wiki performance.
</noinclude>

Latest revision as of 04:37, 29 March 2022

[view | edit | purge]Template Documentation

Used to denote expensive functions that can cause performance issues.

Background

This template was written by wikia:User:Maiden_taiwan after the DPL createdby keyword hurt performance on his MediaWiki system significantly. On a MediaWiki site with 100,000 articles and 3,000 users, this DPL took 2.5 minutes to run:

<dpl>
namespace=
createdby=someuser
</dpl>

People were making these DPL calls all the time to find out what articles they had created. When two of these ran at once, it significantly hurt wiki performance.

[view | edit | purge]The above documentation is transcluded from Template:Slow/doc.