Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f040c1

Browse files
author
Liudmila Mantrova
committed
Bug fix for aqo docs
1 parentbface17 commit1f040c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/src/sgml/aqo.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ shared_preload_libraries = 'aqo'
4444
Create the <filename>aqo</filename> extension using the following query:
4545
</para>
4646
<programlisting>
47-
&quot;CREATE EXTENSION aqo;&quot;
47+
CREATE EXTENSION aqo;
4848
</programlisting>
4949
</listitem>
5050
</orderedlist>
@@ -231,7 +231,7 @@ SELECT * FROM aqo_queries;
231231

232232
SET aqo.mode='intelligent';
233233
SELECT * FROM a, b WHERE a.id=b.id;
234-
SET aqo.mode='manual';
234+
SET aqo.mode='controlled';
235235

236236
-- Disable auto_tuning, enable both learn_aqo and use_aqo
237237
-- for this query type:
@@ -325,7 +325,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
325325
<entry>Optimizes all queries together, regardless of the query type.</entry>
326326
</row>
327327
<row>
328-
<entry><literal>manual</literal></entry>
328+
<entry><literal>controlled</literal></entry>
329329
<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>
330330
</row>
331331
<row>
@@ -424,7 +424,7 @@ UPDATE aqo_queries SET use_aqo=false, learn_aqo=false, auto_tuning=false;
424424
intelligent mode. In other modes, new queries are not
425425
appended to <structname>aqo_queries</structname> automatically.
426426
You can change this behavior by setting the
427-
<literal>auto_tuning</literal> variable toTRUE.</entry>
427+
<literal>auto_tuning</literal> variable to<literal>true</literal>.</entry>
428428
</row>
429429
</tbody>
430430
</tgroup>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp