File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,12 @@ set enable_indexscan to off;
175
175
set enable_hashjoin to off;
176
176
set enable_mergejoin to off;
177
177
set enable_material to off;
178
- set effective_io_concurrency=50;
178
+ -- test prefetching, if the platform allows it
179
+ DO $$
180
+ BEGIN
181
+ SET effective_io_concurrency = 50;
182
+ EXCEPTION WHEN invalid_parameter_value THEN
183
+ END $$;
179
184
set work_mem='64kB'; --set small work mem to force lossy pages
180
185
explain (costs off)
181
186
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;
Original file line number Diff line number Diff line change @@ -70,7 +70,12 @@ set enable_indexscan to off;
70
70
set enable_hashjoin to off;
71
71
set enable_mergejoin to off;
72
72
set enable_material to off;
73
- set effective_io_concurrency= 50 ;
73
+ -- test prefetching, if the platform allows it
74
+ DO $$
75
+ BEGIN
76
+ SET effective_io_concurrency = 50 ;
77
+ EXCEPTION WHEN invalid_parameter_value THEN
78
+ END $$;
74
79
set work_mem= ' 64kB' ; -- set small work mem to force lossy pages
75
80
explain (costs off)
76
81
select count (* ) from tenk1, tenk2 where tenk1 .hundred > 1 and tenk2 .thousand = 0 ;
You can’t perform that action at this time.
0 commit comments