pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve bit perturbation in TupleHashTableHash. 2+ messages / 1 participants [nested] [flat]
* pgsql: Improve bit perturbation in TupleHashTableHash. @ 2018-01-29 19:25 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2018-01-29 19:25 UTC (permalink / raw) To: pgsql-committers Improve bit perturbation in TupleHashTableHash. The changes in b81b5a96f424531b97cdd1dba97d9d1b9c9d372e did not fully address the issue, because the bit-mixing of the IV into the final hash-key didn't prevent clustering in the input-data survive in the output data. This didn't cause a lot of problems because of the additional growth conditions added d4c62a6b623d6eef88218158e9fa3cf974c6c7e5. But as we want to rein those in due to explosive growth in some edges, this needs to be fixed. Author: Andres Freund Discussion: https://postgr.es/m/20171127185700.1470.20362@wrigleys.postgresql.org Backpatch: 10, where simplehash was introduced Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c068f87723ca9cded1f2aceb956ede49de651690 Modified Files -------------- src/backend/executor/execGrouping.c | 11 +++++++++-- src/test/regress/expected/groupingsets.out | 30 +++++++++++++++++------------- src/test/regress/sql/groupingsets.sql | 7 ++++--- 3 files changed, 30 insertions(+), 18 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Improve bit perturbation in TupleHashTableHash. @ 2018-01-29 19:26 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2018-01-29 19:26 UTC (permalink / raw) To: pgsql-committers Improve bit perturbation in TupleHashTableHash. The changes in b81b5a96f424531b97cdd1dba97d9d1b9c9d372e did not fully address the issue, because the bit-mixing of the IV into the final hash-key didn't prevent clustering in the input-data survive in the output data. This didn't cause a lot of problems because of the additional growth conditions added d4c62a6b623d6eef88218158e9fa3cf974c6c7e5. But as we want to rein those in due to explosive growth in some edges, this needs to be fixed. Author: Andres Freund Discussion: https://postgr.es/m/20171127185700.1470.20362@wrigleys.postgresql.org Backpatch: 10, where simplehash was introduced Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d18d4bca81f80686238551d1cc460510c3c30544 Modified Files -------------- src/backend/executor/execGrouping.c | 11 +++++++++-- src/test/regress/expected/groupingsets.out | 30 +++++++++++++++++------------- src/test/regress/sql/groupingsets.sql | 7 ++++--- 3 files changed, 30 insertions(+), 18 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-01-29 19:26 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-01-29 19:25 pgsql: Improve bit perturbation in TupleHashTableHash. Andres Freund <andres@anarazel.de> 2018-01-29 19:26 pgsql: Improve bit perturbation in TupleHashTableHash. Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox