File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 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;
175175set enable_hashjoin to off;
176176set enable_mergejoin to off;
177177set 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 $$;
179184set work_mem='64kB'; --set small work mem to force lossy pages
180185explain (costs off)
181186 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;
7070set enable_hashjoin to off;
7171set enable_mergejoin to off;
7272set 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 $$;
7479set work_mem= ' 64kB' ; -- set small work mem to force lossy pages
7580explain (costs off)
7681 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