diff options
author | Noah Misch <noah@leadboat.com> | 2020-04-11 10:30:12 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-04-11 10:30:12 -0700 |
commit | 328c70997bc3518a50bd9a8ff33de349a7223413 (patch) | |
tree | 2eeaa19f478be50153228d451240f1bd783138ba /src/backend/executor/nodeLimit.c | |
parent | 421685812290406daea58b78dfab0346eb683bbb (diff) | |
download | postgresql-328c70997bc3518a50bd9a8ff33de349a7223413.tar.gz postgresql-328c70997bc3518a50bd9a8ff33de349a7223413.zip |
Optimize RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS.
Specifically, remember lookup_type_cache() results instead of retrieving
them once per comparison. Under CLOBBER_CACHE_ALWAYS, this reduced
src/test/subscription/t/001_rep_changes.pl elapsed time by an order of
magnitude, which reduced check-world elapsed time by 9%.
Discussion: https://postgr.es/m/20200406085420.GC162712@rfd.leadboat.com
Diffstat (limited to 'src/backend/executor/nodeLimit.c')
0 files changed, 0 insertions, 0 deletions