Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a92fcff

Browse files
author
Liudmila Mantrova
committed
expanded aqo_query_stat table description per Sergey B.feedback
1 parent 7d9168a commit a92fcff

File tree

1 file changed

+48
-22
lines changed

1 file changed

+48
-22
lines changed

doc/src/sgml/aqo.sgml

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -458,32 +458,58 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
458458
</sect4>
459459
<sect4 id="aqo-query-stat-table">
460460
<title>aqo_query_stat Table</title>
461-
<para>
461+
<para>
462462
The <literal>aqo_query_stat</literal> table stores statistics
463-
about query execution, by query type:
464-
</para>
465-
<itemizedlist spacing="compact">
466-
<listitem>
467-
<para>
468-
execution time
469-
</para>
470-
</listitem>
471-
<listitem>
472-
<para>
473-
planning time
474-
</para>
475-
</listitem>
476-
<listitem>
477-
<para>
478-
cardinality estimation error in the selected query plans
479-
</para>
480-
</listitem>
481-
</itemizedlist>
482-
<para>
483-
The <filename>aqo</filename> extension uses this data when the
463+
about query execution, by query type. The <filename>aqo</filename> extension uses this data when the
484464
<literal>auto_tuning</literal> option is enabled for a
485465
particular query type.
486466
</para>
467+
<table id="aqo-query-stat-ref">
468+
<title>aqo_query_stat Table</title>
469+
<tgroup cols="2">
470+
<thead>
471+
<row><entry>Data</entry><entry>Description</entry>
472+
</row>
473+
</thead>
474+
475+
<tbody>
476+
<row>
477+
<entry><literal>execution_time_with_aqo</literal></entry>
478+
<entry>Execution time for queries run with <filename>aqo</filename> enabled.</entry>
479+
480+
</row>
481+
<row>
482+
<entry><literal>execution_time_without_aqo</literal></entry>
483+
<entry>Execution time for queries run with <filename>aqo</filename> disabled.</entry>
484+
</row>
485+
<row>
486+
<entry><literal>planning_time_with_aqo</literal></entry>
487+
<entry>Planning time for queries run with <filename>aqo</filename> enabled.</entry>
488+
</row>
489+
<row>
490+
<entry><literal>planning_time_without_aqo</literal></entry>
491+
<entry>Planning time for queries run with <filename>aqo</filename> disabled.</entry>
492+
</row>
493+
<row>
494+
<entry><literal>cardinality_error_with_aqo</literal></entry>
495+
<entry>Cardinality estimation error in the selected query plans with <filename>aqo</filename> enabled.</entry>
496+
</row>
497+
<row>
498+
<entry><literal>cardinality_error_without_aqo</literal></entry>
499+
<entry>Cardinality estimation error in the selected query plans with <filename>aqo</filename> disabled.</entry>
500+
</row>
501+
<row>
502+
<entry><literal>executions_with_aqo</literal></entry>
503+
<entry>Number of queries run with <filename>aqo</filename> enabled.</entry>
504+
</row>
505+
<row>
506+
<entry><literal>executions_without_aqo</literal></entry>
507+
<entry>Number of queries run with <filename>aqo</filename> disabled.</entry>
508+
</row>
509+
</tbody>
510+
</tgroup>
511+
</table>
512+
487513
</sect4>
488514
</sect3>
489515
</sect2>

0 commit comments

Comments
 (0)