By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1000000
CREATE INDEX
| QUERY PLAN |
|---|
| Bitmap Heap Scan on t1 (cost=199.03..5780.51 rows=5000 width=12) |
| Recheck Cond: (k = 54) |
| -> Bitmap Index Scan on t1_i_j_k_idx (cost=0.00..197.78 rows=5000 width=0) |
| Index Cond: (k = 54) |
EXPLAIN
| QUERY PLAN |
|---|
| Bitmap Heap Scan on t1 (cost=199.03..5780.51 rows=5000 width=12) |
| Recheck Cond: (j = 54) |
| -> Bitmap Index Scan on t1_i_j_k_idx (cost=0.00..197.78 rows=5000 width=0) |
| Index Cond: (j = 54) |
EXPLAIN
| QUERY PLAN |
|---|
| Bitmap Heap Scan on t1 (cost=199.03..5780.51 rows=5000 width=12) |
| Recheck Cond: (i = 54) |
| -> Bitmap Index Scan on t1_i_j_k_idx (cost=0.00..197.78 rows=5000 width=0) |
| Index Cond: (i = 54) |
EXPLAIN