Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95aca45

Browse files
committed
Clarify vacuum lazy can shrink a file under certain circumstances.
1 parent887a7c6 commit95aca45

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎doc/src/sgml/maintenance.sgml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.51 2005/11/04 23:14:00 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.52 2005/12/07 05:35:53 momjian Exp $
33
-->
44

55
<chapter id="maintenance">
@@ -141,11 +141,12 @@ $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.51 2005/11/04 23:14:00 pete
141141
command. The first form, known as <quote>lazy vacuum</quote> or
142142
just <command>VACUUM</command>, marks expired data in tables and
143143
indexes for future reuse; it does <emphasis>not</emphasis> attempt
144-
to reclaim the space used by this expired data
145-
immediately. Therefore, the table file is not shortened, and any
146-
unused space in the file is not returned to the operating
147-
system. This variant of <command>VACUUM</command> can be run
148-
concurrently with normal database operations.
144+
to reclaim the space used by this expired data unless the space is
145+
at the end of the table and an exclusive lock can be obtained easily
146+
on the table. Unused space at the start or middle of the file does
147+
not result in the file being shortened and space returned to the
148+
operating system. This variant of <command>VACUUM</command> can be
149+
run concurrently with normal database operations.
149150
</para>
150151

151152
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp