Template:Slow: Difference between revisions

+TR and moved to documentation.
No edit summary
(+TR and moved to documentation.)
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 [http://followthescore.org/dpldemo/index.php/Issue:Modifiedby_and_createdby_produce_inefficient_SQL bug report].)
<noinclude>
{{doc}}
== 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.
 
[[Category:Templates]]
[[tr:Şablon:Yavaş]]
</noinclude>