aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-10-29 10:41:44 +0900
committerMichael Paquier <michael@paquier.xyz>2021-10-29 10:41:44 +0900
commitd680992af5406245f769b697fbb4e130e6220664 (patch)
tree6b73b8114ac0e5f038e034d94da70aeb9a4ef55b /src/backend/access/gist
parent3c17926eedd51c4094db7c62f59950918044ab1c (diff)
downloadpostgresql-d680992af5406245f769b697fbb4e130e6220664.tar.gz
postgresql-d680992af5406245f769b697fbb4e130e6220664.zip
Speed up TAP tests of pg_receivewal
This commit improves the speed of those tests by 25~30%, using some simple ideas to reduce the amount of data written by pg_receivewal: - Use a segment size of 1MB. While reducing the amount of data zeroed by pg_receivewal for the new segments, this improves the code coverage with a non-default segment size. - In the last test involving a slot's restart_lsn, generate a checkpoint to advance the redo LSN and the WAL retained by the slot created, reducing the number of segments that need to be archived. This counts for most of the gain. - Minimize the amount of data inserted into the dummy table. Reviewed-by: Ronan Dunklau Discussion: https://postgr.es/m/YXqYKAdVEqmyTltK@paquier.xyz
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions