Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7c6bac00
Commit
7c6bac00
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update vacuum to mention analyze
parent
a7b1ff66
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/vacuum.sgml
+10
-4
10 additions, 4 deletions
doc/src/sgml/ref/vacuum.sgml
with
10 additions
and
4 deletions
doc/src/sgml/ref/vacuum.sgml
+
10
−
4
View file @
7c6bac00
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.
7 1999/12/07 22:4
1:
4
1 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.
8 2000/04/05 21:5
1:
1
1 momjian Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -51,8 +51,6 @@ VACUUM [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">table</replaceable>
...
@@ -51,8 +51,6 @@ VACUUM [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">table</replaceable>
<para>
<para>
Updates column statistics used by the optimizer to
Updates column statistics used by the optimizer to
determine the most efficient way to execute a query.
determine the most efficient way to execute a query.
The statistics represent the disbursion of the data in each column.
This information is valuable when several execution paths are possible.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -158,6 +156,13 @@ NOTICE: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
...
@@ -158,6 +156,13 @@ NOTICE: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
tuples and number of pages stored in all classes.
tuples and number of pages stored in all classes.
</para>
</para>
<para>
<command>VACUUM ANALYZE</command> collects statistics representing the
disbursion of the data in each column.
This information is valuable when several query execution paths are possible.
</para>
<para>
<para>
Running <command>VACUUM</command>
Running <command>VACUUM</command>
periodically will increase the speed of the database in processing user queries.
periodically will increase the speed of the database in processing user queries.
...
@@ -179,11 +184,12 @@ NOTICE: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
...
@@ -179,11 +184,12 @@ NOTICE: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
query may be executed at any time, however. In particular, after
query may be executed at any time, however. In particular, after
copying a large class into <productname>Postgres</productname>
copying a large class into <productname>Postgres</productname>
or after deleting a large number of
or after deleting a large number of
records, it may be a good idea to issue a <command>VACUUM</command>
records, it may be a good idea to issue a <command>VACUUM
ANALYZE
</command>
query. This will update the system catalogs with the results of all
query. This will update the system catalogs with the results of all
recent changes, and allow the <productname>Postgres</productname>
recent changes, and allow the <productname>Postgres</productname>
query optimizer to make better choices in planning user queries.
query optimizer to make better choices in planning user queries.
</para>
</para>
</refsect2>
</refsect2>
</refsect1>
</refsect1>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment