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

Commit c84b97f

Browse files
committed
Merge branch 'PGPROEE9_6' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPROEE9_6
2 parents 53066f2 + 6290a59 commit c84b97f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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 to TRUE.</entry>
427+
<literal>auto_tuning</literal> variable to <literal>true</literal>.</entry>
428428
</row>
429429
</tbody>
430430
</tgroup>

doc/src/sgml/mamonsu.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
<para>
5353
To use <filename>mamonsu</filename>, you must have a <filename>zabbix</filename> account and a <filename>zabbix</filename> server set up, and install the
5454
<filename>zabbix</filename> agent on the system you are going to monitor.</para>
55-
<para>Pre-built <filename>mamonsu</filename> packages are
56-
provided together with <productname>&productname;</productname>, but have a
55+
<para>A pre-built <filename>mamonsu</filename> package is provided together with
56+
<productname>&productname;</productname>, but has a
5757
separate installer. Once you have installed both <productname>&productname;</productname> and <filename>mamonsu</filename>, complete the following
5858
steps to set up metrics collection:
5959
</para>
6060
<orderedlist>
6161
<listitem>
6262
<para>
63-
If you are starting from scratch, configure your <productname>&productname;</productname> instance and intialize a new database. For details, see
63+
If you are starting from scratch, configure your <productname>&productname;</productname> instance and initialize a new database. For details, see
6464
<xref linkend="creating-cluster">.
6565
</para>
6666
</listitem>
@@ -90,7 +90,7 @@ mamonsu bootstrap --host <replaceable>host_ip</replaceable> --dbname <replaceabl
9090
<para>Set the <varname>ZABBIX_USER</varname> and <varname>ZABBIX_PASSWD</varname> variables to the login and password of your <filename>zabbix</filename> account, respectively.</para>
9191
</listitem>
9292
<listitem>
93-
<para>Set the <varname>ZABBIX_URL</varname> to <literal>'http://zabbix/'</literal></para>
93+
<para>Set the <varname>ZABBIX_URL</varname> to <literal>http://zabbix/</literal></para>
9494
</listitem>
9595
</itemizedlist>
9696
<para>
@@ -110,7 +110,7 @@ mamonsu bootstrap --host <replaceable>host_ip</replaceable> --dbname <replaceabl
110110
<listitem>
111111
<para>
112112
Configure <filename>zabbix</filename>-related settings. You must
113-
set <varname>address</varname>to the <filename>zabbix</filename> server address and specify the name of the <filename>zabbix</filename> host that will receive the collected metrics. You can find the hosts available for your account in the <filename>zabbix</filename> web interface under <emphasis role="srong"><guimenu>Configuration</guimenu></emphasis> > <emphasis role="srong"><guimenu>Hosts</guimenu></emphasis>.
113+
set <varname>address</varname> to the <filename>zabbix</filename> server address and specify the name of the <filename>zabbix</filename> host that will receive the collected metrics. You can find the hosts available for your account in the <filename>zabbix</filename> web interface under <emphasis role="srong"><guimenu>Configuration</guimenu></emphasis> > <emphasis role="srong"><guimenu>Hosts</guimenu></emphasis>.
114114
</para>
115115
<programlisting>
116116
[zabbix]
@@ -236,7 +236,7 @@ mamonsu report
236236
<para>
237237
Based on the hardware information, <filename>mamonsu</filename>
238238
enables you to make a generic optimization for your system and the
239-
<productname>PostgreSQL</productname> instance:
239+
<productname>&productname;</productname> instance:
240240
</para>
241241
<programlisting>
242242
mamonsu tune

0 commit comments

Comments
 (0)