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
Create the <filename>aqo</filename> extension using the following query:
45
45
</para>
46
46
<programlisting>
47
-
"CREATE EXTENSION aqo;"
47
+
CREATE EXTENSION aqo;
48
48
</programlisting>
49
49
</listitem>
50
50
</orderedlist>
@@ -231,7 +231,7 @@ SELECT * FROM aqo_queries;
231
231
232
232
SET aqo.mode='intelligent';
233
233
SELECT * FROM a, b WHERE a.id=b.id;
234
-
SET aqo.mode='manual';
234
+
SET aqo.mode='controlled';
235
235
236
236
-- Disable auto_tuning, enable both learn_aqo and use_aqo
237
237
-- for this query type:
@@ -325,7 +325,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
325
325
<entry>Optimizes all queries together, regardless of the query type.</entry>
326
326
</row>
327
327
<row>
328
-
<entry><literal>manual</literal></entry>
328
+
<entry><literal>controlled</literal></entry>
329
329
<entry><emphasis role="strong">Default.</emphasis> Uses the default planner for all new queries, but can reuse the collected statistics for already known query types, if any.</entry>
330
330
</row>
331
331
<row>
@@ -424,7 +424,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
424
424
intelligent mode. In other modes, new queries are not
425
425
appended to <structname>aqo_queries</structname> automatically.
426
426
You can change this behavior by setting the
427
-
<literal>auto_tuning</literal> variable to TRUE.</entry>
427
+
<literal>auto_tuning</literal> variable to <literal>true</literal>.</entry>
0 commit comments