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
4f1e4911
Commit
4f1e4911
authored
18 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Use "dead" rather than "expired" for vacuumable rows.
parent
0cbc5b1e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/maintenance.sgml
+4
-4
4 additions, 4 deletions
doc/src/sgml/maintenance.sgml
doc/src/sgml/ref/vacuum.sgml
+3
-3
3 additions, 3 deletions
doc/src/sgml/ref/vacuum.sgml
with
7 additions
and
7 deletions
doc/src/sgml/maintenance.sgml
+
4
−
4
View file @
4f1e4911
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
4
2006/1
1/05 22:42:07 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
5
2006/1
2/27 14:55:17 momjian
Exp $ -->
<chapter id="maintenance">
<chapter id="maintenance">
<title>Routine Database Maintenance Tasks</title>
<title>Routine Database Maintenance Tasks</title>
...
@@ -142,9 +142,9 @@
...
@@ -142,9 +142,9 @@
<para>
<para>
There are two variants of the <command>VACUUM</command>
There are two variants of the <command>VACUUM</command>
command. The first form, known as <quote>lazy vacuum</quote> or
command. The first form, known as <quote>lazy vacuum</quote> or
just <command>VACUUM</command>, marks
expire
d data in tables and
just <command>VACUUM</command>, marks
dea
d data in tables and
indexes for future reuse; it does <emphasis>not</emphasis> attempt
indexes for future reuse; it does <emphasis>not</emphasis> attempt
to reclaim the space used by this
expire
d data unless the space is
to reclaim the space used by this
dea
d data unless the space is
at the end of the table and an exclusive table lock can be easily
at the end of the table and an exclusive table lock can be easily
obtained. Unused space at the start or middle of the file does
obtained. Unused space at the start or middle of the file does
not result in the file being shortened and space returned to the
not result in the file being shortened and space returned to the
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
<para>
<para>
The second form is the <command>VACUUM FULL</command>
The second form is the <command>VACUUM FULL</command>
command. This uses a more aggressive algorithm for reclaiming the
command. This uses a more aggressive algorithm for reclaiming the
space consumed by
expire
d row versions. Any space that is freed by
space consumed by
dea
d row versions. Any space that is freed by
<command>VACUUM FULL</command> is immediately returned to the
<command>VACUUM FULL</command> is immediately returned to the
operating system. Unfortunately, this variant of the
operating system. Unfortunately, this variant of the
<command>VACUUM</command> command acquires an exclusive lock on
<command>VACUUM</command> command acquires an exclusive lock on
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/vacuum.sgml
+
3
−
3
View file @
4f1e4911
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
4
2006/12/2
3 01:58:40
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
5
2006/12/2
7 14:55:17
momjian Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -29,7 +29,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
...
@@ -29,7 +29,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
<title>Description</title>
<title>Description</title>
<para>
<para>
<command>VACUUM</command> reclaims storage occupied by
expire
d tuples.
<command>VACUUM</command> reclaims storage occupied by
dea
d tuples.
In normal <productname>PostgreSQL</productname> operation, tuples that
In normal <productname>PostgreSQL</productname> operation, tuples that
are deleted or obsoleted by an update are not physically removed from
are deleted or obsoleted by an update are not physically removed from
their table; they remain present until a <command>VACUUM</command> is
their table; they remain present until a <command>VACUUM</command> is
...
@@ -152,7 +152,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
...
@@ -152,7 +152,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
<para>
<para>
We recommend that active production databases be
We recommend that active production databases be
vacuumed frequently (at least nightly), in order to
vacuumed frequently (at least nightly), in order to
remove
expire
d rows. After adding or deleting a large number
remove
dea
d rows. After adding or deleting a large number
of rows, it may be a good idea to issue a <command>VACUUM
of rows, it may be a good idea to issue a <command>VACUUM
ANALYZE</command> command for the affected table. This will update the
ANALYZE</command> command for the affected table. This will update the
system catalogs with
system catalogs with
...
...
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