|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.64 2006/11/05 22:42:07 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.65 2006/12/27 14:55:17 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="maintenance"> |
4 | 4 | <title>Routine Database Maintenance Tasks</title> |
|
142 | 142 | <para> |
143 | 143 | There are two variants of the <command>VACUUM</command> |
144 | 144 | command. The first form, known as <quote>lazy vacuum</quote> or |
145 | | - just <command>VACUUM</command>, marksexpired data in tables and |
| 145 | + just <command>VACUUM</command>, marksdead data in tables and |
146 | 146 | indexes for future reuse; it does <emphasis>not</emphasis> attempt |
147 | | - to reclaim the space used by thisexpired data unless the space is |
| 147 | + to reclaim the space used by thisdead data unless the space is |
148 | 148 | at the end of the table and an exclusive table lock can be easily |
149 | 149 | obtained. Unused space at the start or middle of the file does |
150 | 150 | not result in the file being shortened and space returned to the |
|
155 | 155 | <para> |
156 | 156 | The second form is the <command>VACUUM FULL</command> |
157 | 157 | command. This uses a more aggressive algorithm for reclaiming the |
158 | | - space consumed byexpired row versions. Any space that is freed by |
| 158 | + space consumed bydead row versions. Any space that is freed by |
159 | 159 | <command>VACUUM FULL</command> is immediately returned to the |
160 | 160 | operating system. Unfortunately, this variant of the |
161 | 161 | <command>VACUUM</command> command acquires an exclusive lock on |
|