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

Commitb83e116

Browse files
committed
Adjust the new memory limit in the lazy vacuum code to use MaxHeapTuplesPerPage
tuples per page instead of fixed 200, to better cope with systems that use adifferent block size.
1 parentcdf0231 commitb83e116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/vacuumlazy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
*
4040
* IDENTIFICATION
41-
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.100 2007/09/24 03:52:55 alvherre Exp $
41+
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.101 2007/09/26 20:16:28 alvherre Exp $
4242
*
4343
*-------------------------------------------------------------------------
4444
*/
@@ -75,7 +75,7 @@
7575
* provide an upper limit to memory allocated when vacuuming small
7676
* tables.
7777
*/
78-
#defineLAZY_ALLOC_TUPLES200
78+
#defineLAZY_ALLOC_TUPLESMaxHeapTuplesPerPage
7979

8080
typedefstructLVRelStats
8181
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp