Author:
Reviewed-By:
Discussion: https://postgr.es/m/
Backpatch:
* the buffer cache anyway, and on the other hand the page is most likely
* still in the OS cache.
*/
-#define SYNC_SCAN_REPORT_INTERVAL ((4 * 1024 * 1024) / BLCKSZ)
+#define SYNC_SCAN_REPORT_INTERVAL (128 * 1024 / BLCKSZ)
/*
* REL_TRUNCATE_MINIMUM or (relsize / REL_TRUNCATE_FRACTION) (whichever
* is less) potentially-freeable pages.
*/
-#define REL_TRUNCATE_MINIMUM 1000
+#define REL_TRUNCATE_MINIMUM 2000
#define REL_TRUNCATE_FRACTION 16
/*