1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00

add (definite) articles to improve flow of reading

This commit is contained in:
Katrin Leinweber 2017-06-13 20:33:27 +02:00
parent 1024897fd5
commit 6da511c912
5 changed files with 13 additions and 13 deletions

View File

@ -5,11 +5,11 @@
<h1><%= $title =%></h1>
<p class="slogan"><strong>explain.depesz.com</strong> is tool for finding real cause for slow queries.</p>
<p class="slogan"><strong>explain.depesz.com</strong> is a tool for finding real causes for slow queries.</p>
<p>Generally, one would use <code>EXPLAIN ANALYZE</code> query; and read the output. The problem is
<p>Generally, one would use the <code>EXPLAIN ANALYZE</code> query; and read the output. The problem is
that not all parts of the output are easily understandable by anybody, and it's not always obvious
whether node that executes in 17.3ms is faster or slower than the one that runs in 100ms - given the
whether a node that executes in 17.3ms is faster or slower than the one that runs in 100ms - given the
fact that the first one is executed 7 times.</p>
<p>To use the site, simply go to <a href="<%= url_for 'new-explain' %>" title="link to: new explain">first page</a>
@ -19,7 +19,7 @@ and paste there explain analyze output from your psql.</p>
nice for me :) colorized to put emphasis on important parts.</p>
<p>The url for colorized output is persistent, so you can simply use it to show it to
others - for example - for those nice guys on irc channel <em>#postgresql</em> on freenode.</p>
others - for example - for those nice guys on the irc channel <em>#postgresql</em> on freenode.</p>
<p>This graph uses 4 colors to mark important things:</p>
@ -35,9 +35,9 @@ others - for example - for those nice guys on irc channel <em>#postgresql</em> o
<h2>Exclusive</h2>
<p>This is total amount of time <a href="http://www.postgresql.org" title="link to PostgreSQL site">PostgreSQL</a> spent
<p>This is the total amount of time <a href="http://www.postgresql.org" title="link to PostgreSQL site">PostgreSQL</a> spent
evaluating this node, without time spent in its subnodes. If the node has been executed many times (for example because
of <code>Nested Loop</code> plan), this time will be correctly multiplied.</p>
of a <code>Nested Loop</code> plan), this time will be correctly multiplied.</p>
<h3>Colors:</h3>
@ -50,8 +50,8 @@ of <code>Nested Loop</code> plan), this time will be correctly multiplied.</p>
<h2>Inclusive</h2>
<p>This is just like <strong>Exclusive</strong>, but it doesn't exclude time of subnodes. So, by definition - top node will
have <strong>Inclusive</strong> time equal to total time of query.</p>
<p>This is just like <strong>Exclusive</strong>, but it doesn't exclude time of subnodes. So, by definition the top node will
have <strong>Inclusive</strong> time equal to the total time of the query.</p>
<h3>Colors:</h3>
@ -66,7 +66,7 @@ have <strong>Inclusive</strong> time equal to total time of query.</p>
<p>This value stores information about how big the planner's mistake was when it estimated the return row count.</p>
<p>For example - if planner estimated that given node will return 230 rows, but it returned 14118 rows, the
<p>For example, if planner estimated that a given node will return 230 rows, but it returned 14118 rows, the
error is 14118/230 == 61.4.</p>
<p>It has to be noted that if the numbers were the other way around (estimated 14118, but really only 230), the

View File

@ -43,7 +43,7 @@
% } else {
<p class="msg msg-no-results">
Sorry, but no results was found in database for this page.
Sorry, but no results were found in the database for this page.
</p>
% }

View File

@ -51,7 +51,7 @@
</div>
<div class="fe fe_is_public">
<label for="is_public">I want this plan to be visible on <a href="<%= url_for 'history' %>" title="link to: history">history</a> page.</label>
<label for="is_public">I want this plan to be visible on the <a href="<%= url_for 'history' %>" title="link to: history">history</a> page.</label>
<input type="checkbox" class="checkbox" id="is_public" name="is_public" value="1" checked="checked" />
</div>

View File

@ -32,7 +32,7 @@
</div>
<div class="fe fe_register">
<label for="is_registration">I want to register new account</label>
<label for="is_registration">I want to register a new account</label>
<input type="checkbox" class="checkbox" id="is_registration" name="is_registration" value="1" <% if ( param('is_registration') ) { %>checked="1"<% } %>/>
</div>

View File

@ -27,7 +27,7 @@
<div class="fe">
<label for="new-pw">New password:</label>
<input id="new-pw" type="password" name="new-pw" title="Enter your new password"/>
<label for="new-pw2">Repeat new password:</label>
<label for="new-pw2">Repeat your new password:</label>
<input id="new-pw2" type="password" name="new-pw2" title="Repeat your new password"/>
</div>
<div class="fe fe-last fe-buttons">