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

Commit338c4e1

Browse files
committed
Disable switch to bitmap scan seen in certain tests under large
artificial slowdown.
1 parent183f32b commit338c4e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎sql/int4.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ EXPLAIN (costs off)
120120
SELECT id, id |=>400FROM test_int4_h_oWHERE t @@'wr&qh'ORDER BY id |=>400LIMIT5;
121121
SELECT id, id |=>400FROM test_int4_h_oWHERE t @@'wr&qh'ORDER BY id |=>400LIMIT5;
122122

123+
SET enable_bitmapscan=OFF;
124+
123125
EXPLAIN (costs off)
124126
SELECT idFROM test_int4_h_oWHERE t @@'wr&qh'AND id<=400ORDER BY id;
125127
SELECT idFROM test_int4_h_oWHERE t @@'wr&qh'AND id<=400ORDER BY id;
@@ -133,8 +135,6 @@ CREATE INDEX test_int4_h_a_idx ON test_int4_h_a USING rum
133135
(t rum_tsvector_hash_addon_ops, id)
134136
WITH (attach='id', to='t', order_by_attach='t');
135137

136-
SET enable_bitmapscan=OFF;
137-
138138
EXPLAIN (costs off)
139139
SELECTcount(*)FROM test_int4_h_aWHERE id<400;
140140
SELECTcount(*)FROM test_int4_h_aWHERE id<400;

‎sql/int8.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ EXPLAIN (costs off)
120120
SELECT id, id |=>400FROM test_int8_h_oWHERE t @@'wr&qh'ORDER BY id |=>400LIMIT5;
121121
SELECT id, id |=>400FROM test_int8_h_oWHERE t @@'wr&qh'ORDER BY id |=>400LIMIT5;
122122

123+
SET enable_bitmapscan=OFF;
124+
123125
EXPLAIN (costs off)
124126
SELECT idFROM test_int8_h_oWHERE t @@'wr&qh'AND id<=400::int8ORDER BY id;
125127
SELECT idFROM test_int8_h_oWHERE t @@'wr&qh'AND id<=400::int8ORDER BY id;
@@ -133,8 +135,6 @@ CREATE INDEX test_int8_h_a_idx ON test_int8_h_a USING rum
133135
(t rum_tsvector_hash_addon_ops, id)
134136
WITH (attach='id', to='t', order_by_attach='t');
135137

136-
SET enable_bitmapscan=OFF;
137-
138138
EXPLAIN (costs off)
139139
SELECTcount(*)FROM test_int8_h_aWHERE id<400::int8;
140140
SELECTcount(*)FROM test_int8_h_aWHERE id<400::int8;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp