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
08674935
Commit
08674935
authored
18 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Document need for periodic REINDEX in VACUUM FULL cases.
parent
1a628134
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/maintenance.sgml
+2
-4
2 additions, 4 deletions
doc/src/sgml/maintenance.sgml
doc/src/sgml/ref/vacuum.sgml
+4
-1
4 additions, 1 deletion
doc/src/sgml/ref/vacuum.sgml
with
6 additions
and
5 deletions
doc/src/sgml/maintenance.sgml
+
2
−
4
View file @
08674935
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
6
2007/01/
16 18:26:02 alvherre
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
7
2007/01/
31 04:13:22 momjian
Exp $ -->
<chapter id="maintenance">
<chapter id="maintenance">
<title>Routine Database Maintenance Tasks</title>
<title>Routine Database Maintenance Tasks</title>
...
@@ -615,9 +615,7 @@ analyze threshold = analyze base threshold + analyze scale factor * number of tu
...
@@ -615,9 +615,7 @@ analyze threshold = analyze base threshold + analyze scale factor * number of tu
for inefficient use of space: if all but a few index keys on a page have
for inefficient use of space: if all but a few index keys on a page have
been deleted, the page remains allocated. So a usage pattern in which all
been deleted, the page remains allocated. So a usage pattern in which all
but a few keys in each range are eventually deleted will see poor use of
but a few keys in each range are eventually deleted will see poor use of
space. The potential for bloat is not indefinite — at worst there
space. For such usage patterns, periodic reindexing is recommended.
will be one key per page — but it may still be worthwhile to schedule
periodic reindexing for indexes that have such usage patterns.
</para>
</para>
<para>
<para>
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/vacuum.sgml
+
4
−
1
View file @
08674935
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
5
200
6/12/27 14:55:17
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
6
200
7/01/31 04:13:22
momjian Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -167,6 +167,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
...
@@ -167,6 +167,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
most of the rows in a table and would like the table to physically shrink
most of the rows in a table and would like the table to physically shrink
to occupy less disk space. <command>VACUUM FULL</command> will usually
to occupy less disk space. <command>VACUUM FULL</command> will usually
shrink the table more than a plain <command>VACUUM</command> would.
shrink the table more than a plain <command>VACUUM</command> would.
The <option>FULL</option> option does not shrink indexes; a periodic
<command>REINDEX</> is still recommended. In fact, it is often faster
to drop all indexes, <command>VACUUM FULL</>, and recreate the indexes.
</para>
</para>
<para>
<para>
...
...
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