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

Commit97f5aef

Browse files
Remove lazy_scan_heap parallel VACUUM comment block.
This doesn't belong next to very high level discussion of the tasks thatlazy_scan_heap performs. There is already a similar, longer commentblock at the top of vacuumlazy.c that mentions lazy_scan_heap directly.
1 parent282b6d0 commit97f5aef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎src/backend/access/heap/vacuumlazy.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -886,18 +886,6 @@ heap_vacuum_rel(Relation rel, VacuumParams *params,
886886
*for dead-tuple TIDs, invoke lazy_vacuum to vacuum indexes and vacuum
887887
*heap relation during its own second pass over the heap.
888888
*
889-
*If the table has at least two indexes, we execute both index vacuum
890-
*and index cleanup with parallel workers unless parallel vacuum is
891-
*disabled. In a parallel vacuum, we enter parallel mode and then
892-
*create both the parallel context and the DSM segment before starting
893-
*heap scan so that we can record dead tuples to the DSM segment. All
894-
*parallel workers are launched at beginning of index vacuuming and
895-
*index cleanup and they exit once done with all indexes. At the end of
896-
*this function we exit from parallel mode. Index bulk-deletion results
897-
*are stored in the DSM segment and we update index statistics for all
898-
*the indexes after exiting from parallel mode since writes are not
899-
*allowed during parallel mode.
900-
*
901889
*If there are no indexes then we can reclaim line pointers on the fly;
902890
*dead line pointers need only be retained until all index pointers that
903891
*reference them have been killed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp