Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4f1e4911
Commit
4f1e4911
authored
Dec 27, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "dead" rather than "expired" for vacuumable rows.
parent
0cbc5b1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
doc/src/sgml/maintenance.sgml
doc/src/sgml/maintenance.sgml
+4
-4
doc/src/sgml/ref/vacuum.sgml
doc/src/sgml/ref/vacuum.sgml
+3
-3
No files found.
doc/src/sgml/maintenance.sgml
View file @
4f1e4911
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
4 2006/11/05 22:42:07 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.6
5 2006/12/27 14:55:17 momjian
Exp $ -->
<chapter id="maintenance">
<title>Routine Database Maintenance Tasks</title>
...
...
@@ -142,9 +142,9 @@
<para>
There are two variants of the <command>VACUUM</command>
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
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
obtained. Unused space at the start or middle of the file does
not result in the file being shortened and space returned to the
...
...
@@ -155,7 +155,7 @@
<para>
The second form is the <command>VACUUM FULL</command>
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
operating system. Unfortunately, this variant of the
<command>VACUUM</command> command acquires an exclusive lock on
...
...
doc/src/sgml/ref/vacuum.sgml
View file @
4f1e4911
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
4 2006/12/23 01:58:40
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.4
5 2006/12/27 14:55:17
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -29,7 +29,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
<title>Description</title>
<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
are deleted or obsoleted by an update are not physically removed from
their table; they remain present until a <command>VACUUM</command> is
...
...
@@ -152,7 +152,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] ANALYZE [ <replaceable class="PARAMETER">
<para>
We recommend that active production databases be
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
ANALYZE</command> command for the affected table. This will update the
system catalogs with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment