diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2016-05-06 20:05:29 -0500 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2016-05-06 20:05:29 -0500 |
commit | 7e3da1c4737fd6582e12c80983987e4d2cbc1d17 (patch) | |
tree | 1632ebf34283546e994d945ec0d10421bbe6c6e4 /src/backend/executor/execScan.c | |
parent | eb7de00ac2d282263541ece849ec71e2809e9467 (diff) | |
download | postgresql-7e3da1c4737fd6582e12c80983987e4d2cbc1d17.tar.gz postgresql-7e3da1c4737fd6582e12c80983987e4d2cbc1d17.zip |
Mitigate "snapshot too old" performance regression on NUMA
Limit maintenance of time to xid mapping to once per minute. At
least in the tested case this brings performance within 5% of when
the feature is off, compared to several times slower without this
patch.
While there, fix comments and whitespace.
Ants Aasma, with cosmetic adjustments suggested by Andres Freund
Reviewed by Kevin Grittner and Andres Freund
Diffstat (limited to 'src/backend/executor/execScan.c')
0 files changed, 0 insertions, 0 deletions