By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1000001
CREATE INDEX
| QUERY PLAN |
|---|
| Bitmap Heap Scan on textfun (cost=191.68..7654.04 rows=5000 width=32) (actual time=0.028..0.028 rows=0 loops=1) |
| Filter: (content ~~ '1500000%'::text) |
| -> Bitmap Index Scan on text_b (cost=0.00..190.43 rows=5000 width=0) (actual time=0.021..0.021 rows=0 loops=1) |
| Index Cond: ((content ~>=~ '1500000'::text) AND (content ~<~ '1500001'::text)) |
| Planning Time: 1.247 ms |
| Execution Time: 0.053 ms |
EXPLAIN