You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/sgml/aqo.sgml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,8 @@ DROP EXTENSION aqo;
90
90
<listitem>
91
91
<para>
92
92
<literal>controlled</literal> — this mode
93
-
uses the default planner for all new queries, but continues collecting
94
-
statistics for already known query types, if any.
93
+
uses the default planner for all new queries, but continues using
94
+
the previously specified planning settings for already known query types, if any.
95
95
</para>
96
96
</listitem>
97
97
<listitem>
@@ -111,7 +111,7 @@ SET aqo.mode = '<replaceable>mode</>';
111
111
</programlisting>
112
112
where <replaceable>mode</> is the name of the optimization mode to use.
113
113
</para>
114
-
<important><para>The intelligent mode of <filename>aqo</filename>
114
+
<important><para>The <literal>intelligent</literal> mode of <filename>aqo</filename>
115
115
may not work well if the queries in your workload are of multiple
116
116
different types. In this case, you can try resetting the optimization mode to <literal>controlled</literal>.</para>
117
117
</important>
@@ -255,7 +255,8 @@ UPDATE aqo_queries SET learn_aqo=false
255
255
</programlisting>
256
256
257
257
<para>
258
-
If your data or query distribution is rapidly changing, obsolete statistics may affect <filename>aqo</filename> performance. After a while, <filename>aqo</filename> will learn the new statistics, but it may take longer than expected. To speed up learning, reset the
258
+
If your data or query distribution is rapidly changing, learning new statistics will take longer than usual.
259
+
In this case, obsolete statistics may affect performance. To speed up <filename>aqo</filename> learning, reset the
259
260
statistics. To remove all the collected machine learning
0 commit comments