mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Make vacuum buffer counters 64 bits wide
Using 32 bit counters means they can now realistically wrap around when vacuuming extremely large tables. Because they're signed integers, stats printed by vacuum look very odd when they do. We'd love to backpatch this, but refrain because the variables are exported and could cause third-party code to break. Reviewed-by: Julien Rouhaud, Tom Lane, Michael Paquier Discussion: https://postgr.es/m/20200131205926.GA16367@alvherre.pgsql
This commit is contained in:
@ -252,9 +252,9 @@ extern int VacuumCostPageDirty;
|
||||
extern int VacuumCostLimit;
|
||||
extern double VacuumCostDelay;
|
||||
|
||||
extern int VacuumPageHit;
|
||||
extern int VacuumPageMiss;
|
||||
extern int VacuumPageDirty;
|
||||
extern int64 VacuumPageHit;
|
||||
extern int64 VacuumPageMiss;
|
||||
extern int64 VacuumPageDirty;
|
||||
|
||||
extern int VacuumCostBalance;
|
||||
extern bool VacuumCostActive;
|
||||
|
Reference in New Issue
Block a user