Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcba0fe0

Browse files
committed
Force hash joins to be enabled in the hash join regression tests.
Otherwise the regressplans.sh tests generate extremely slow nestedloop joins. Back-patch to 11 where the hash join tests came in.Reported-by: Michael PaquierDiscussion:https://postgr.es/m/20190708055256.GB2709%40paquier.xyz
1 parent38c268d commitcba0fe0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎src/test/regress/expected/join_hash.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
begin;
55
set local min_parallel_table_scan_size = 0;
66
set local parallel_setup_cost = 0;
7+
set local enable_hashjoin = on;
78
-- Extract bucket and batch counts from an explain analyze plan. In
89
-- general we can't make assertions about how many batches (or
910
-- buckets) will be required because it can vary, but we can in some

‎src/test/regress/sql/join_hash.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ begin;
66

77
set local min_parallel_table_scan_size=0;
88
set local parallel_setup_cost=0;
9+
set local enable_hashjoin=on;
910

1011
-- Extract bucket and batch counts from an explain analyze plan. In
1112
-- general we can't make assertions about how many batches (or

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp