1
- <REFENTRY ID ="APP-VACUUMDB">
2
- <REFMETA >
3
- <REFENTRYTITLE >
4
- <application>vacuumdb</application>
5
- </REFENTRYTITLE >
6
- <REFMISCINFO >Application</REFMISCINFO >
7
- </REFMETA >
8
- <REFNAMEDIV >
9
- <REFNAME id="vacuumdb">
10
- <application>vacuumdb</application>
11
- </REFNAME >
12
- <REFPURPOSE >
13
- Clean and analyze a <productname>Postgres</productname> database
14
- </REFPURPOSE >
1
+ <refentry id ="APP-VACUUMDB">
2
+ <refmeta >
3
+ <refentrytitle >
4
+ <application>vacuumdb</application>
5
+ </refentrytitle >
6
+ <refmiscinfo >Application</refmiscinfo >
7
+ </refmeta >
8
+ <refnamediv >
9
+ <refname id="vacuumdb">
10
+ <application>vacuumdb</application>
11
+ </refname >
12
+ <refpurpose >
13
+ Clean and analyze a <productname>Postgres</productname> database
14
+ </refpurpose >
15
15
</refnamediv>
16
- <REFSYNOPSISDIV>
17
- <REFSYNOPSISDIVINFO>
18
- <DATE>1998-10-04</DATE>
19
- </REFSYNOPSISDIVINFO>
20
- <SYNOPSIS>
21
- vacuumdb [ --analyze | -z ] [ --verbose | -v ] [ <replaceable class="parameter">dbname</replaceable> ]
22
- vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ]
23
- [ --table '<replaceable class="parameter">table</replaceable> [ ( <replaceable class="parameter">column</replaceable> [,...] ) ]' ]
16
+ <refsynopsisdiv>
17
+ <refsynopsisdivinfo>
18
+ <date>1998-10-04</date>
19
+ </refsynopsisdivinfo>
20
+ <synopsis>
21
+ vacuumdb [ --analyze | -z ] [ --verbose | -v ] [ <replaceable
22
+ class="parameter">dbname</replaceable> ]
23
+ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p
24
+ <replaceable class="parameter">port</replaceable> ]
25
+ [ --table '<replaceable class="parameter">table</replaceable> [ (
26
+ <replaceable class="parameter">column</replaceable> [,...] ) ]' ]
24
27
[ <replaceable class="parameter">dbname</replaceable> ]
25
- </SYNOPSIS >
28
+ </synopsis >
26
29
27
- <REFSECT2 ID ="R2-APP-VACUUMDB-1">
28
- <REFSECT2INFO >
29
- <DATE >1998-10-04</DATE >
30
- </REFSECT2INFO >
31
- <TITLE >
30
+ <refsect2 id ="R2-APP-VACUUMDB-1">
31
+ <refsect2info >
32
+ <date >1998-10-04</date >
33
+ </refsect2info >
34
+ <title >
32
35
Inputs
33
- </TITLE >
34
- <PARA >
36
+ </title >
37
+ <para >
35
38
<application>vacuumdb</application> accepts the following command line arguments:
36
39
37
40
<variablelist>
@@ -80,10 +83,12 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
80
83
81
84
<varlistentry>
82
85
<term>
83
- --table <replaceable class="parameter">table</replaceable> [ (<replaceable class="parameter">column</replaceable> [,...]) ]
86
+ --table <replaceable class="parameter">table</replaceable> [
87
+ (<replaceable class="parameter">column</replaceable> [,...]) ]
84
88
</term>
85
89
<term>
86
- -t <replaceable class="parameter">table</replaceable> [ (<replaceable class="parameter">column</replaceable> [,...]) ]
90
+ -t <replaceable class="parameter">table</replaceable> [
91
+ (<replaceable class="parameter">column</replaceable> [,...]) ]
87
92
</term>
88
93
<listitem>
89
94
<para>
@@ -148,22 +153,23 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
148
153
</para>
149
154
</refsect2>
150
155
151
- <REFSECT2 ID ="R2-APP-VACUUMDB-2">
152
- <REFSECT2INFO >
153
- <DATE >1998-10-04</DATE >
154
- </REFSECT2INFO >
155
- <TITLE >
156
+ <refsect2 id ="R2-APP-VACUUMDB-2">
157
+ <refsect2info >
158
+ <date >1998-10-04</date >
159
+ </refsect2info >
160
+ <title >
156
161
Outputs
157
- </TITLE >
158
- <PARA >
162
+ </title >
163
+ <para >
159
164
<application>vacuumdb</application> executes a <command>VACUUM</command> command
160
165
on the specified database, so has not explicit external output.
161
166
162
167
<variablelist>
163
168
<varlistentry>
164
169
<term>
165
170
ERROR: Can't vacuum columns, only tables. You can 'vacuum analyze' columns.
166
- vacuumdb: database vacuum failed on <replaceable class="parameter">dbname</replaceable>.
171
+ vacuumdb: database vacuum failed on <replaceable
172
+ class="parameter">dbname</replaceable>.
167
173
</term>
168
174
<listitem>
169
175
<para>
@@ -221,43 +227,43 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
221
227
</refsect2>
222
228
</refsynopsisdiv>
223
229
224
- <REFSECT1 ID ="R1-APP-VACUUMDB-1">
225
- <REFSECT1INFO >
226
- <DATE >1998-10-04</DATE >
227
- </REFSECT1INFO >
228
- <TITLE >
230
+ <refsect1 id ="R1-APP-VACUUMDB-1">
231
+ <refsect1info >
232
+ <date >1998-10-04</date >
233
+ </refsect1info >
234
+ <title >
229
235
Description
230
- </TITLE >
236
+ </title >
231
237
232
- <PARA >
238
+ <para >
233
239
<application>vacuumdb</application> is a utility for cleaning a
234
240
<productname>Postgres</productname> database.
235
241
<application>vacuumdb</application> will also generate internal statistics
236
242
used by the <productname>Postgres</productname> query optimizer.
237
243
</para>
238
244
</refsect1>
239
245
240
- <REFSECT1 ID ="R1-APP-VACUUMDB-2">
241
- <REFSECT1INFO >
242
- <DATE >1998-10-04</DATE >
243
- </REFSECT1INFO >
244
- <TITLE >
246
+ <refsect1 id ="R1-APP-VACUUMDB-2">
247
+ <refsect1info >
248
+ <date >1998-10-04</date >
249
+ </refsect1info >
250
+ <title >
245
251
Notes
246
- </TITLE >
252
+ </title >
247
253
248
254
<para>
249
- See <xref linkend ="vacuum" endterm ="vacuum"> for more details.
255
+ See <xref endterm ="vacuum" linkend ="vacuum"> for more details.
250
256
</para>
251
257
</refsect1>
252
258
253
- <REFSECT1 ID ="R1-APP-VACUUMDB-3">
254
- <REFSECT1INFO >
255
- <DATE >1998-10-04</DATE >
256
- </REFSECT1INFO >
257
- <TITLE >
259
+ <refsect1 id ="R1-APP-VACUUMDB-3">
260
+ <refsect1info >
261
+ <date >1998-10-04</date >
262
+ </refsect1info >
263
+ <title >
258
264
Usage
259
- </TITLE >
260
- <PARA >
265
+ </title >
266
+ <para >
261
267
To clean a database of the same name as the user:
262
268
263
269
<programlisting>
@@ -280,12 +286,12 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
280
286
</programlisting>
281
287
</para>
282
288
</refsect1>
283
- </REFENTRY >
289
+ </refentry >
284
290
285
291
<!-- Keep this comment at the end of the file
286
292
Local variables:
287
293
mode: sgml
288
- sgml-omittag:t
294
+ sgml-omittag:nil
289
295
sgml-shorttag:t
290
296
sgml-minimize-attributes:nil
291
297
sgml-always-quote-attributes:t
0 commit comments