Reduce memory consumption during VACUUM of large relations, by using
Tom Lane <tgl@sss.pgh.pa.us>
Reduce memory consumption during VACUUM of large relations, by using FSMPageData (6 bytes) instead of PageFreeSpaceInfo (8 or 16 bytes) for the temporary array of page-free-space information. Itagaki Takahiro
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuum.c | modified | +5 −6 |
| src/backend/commands/vacuumlazy.c | modified | +29 −27 |
| src/backend/storage/freespace/freespace.c | modified | +12 −15 |
| src/include/storage/freespace.h | modified | +2 −12 |