By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
10 rows affected
QUERY PLAN |
---|
Subquery Scan on searchable_posts (cost=0.00..245.88 rows=4 width=36) (actual time=1.237..1.237 rows=0 loops=1) |
Filter: ('''alic'''::tsquery @@ searchable_posts.tsv) |
Rows Removed by Filter: 10 |
-> Seq Scan on posts (cost=0.00..235.25 rows=850 width=36) (actual time=0.109..1.232 rows=10 loops=1) |
Planning Time: 0.133 ms |
Execution Time: 1.255 ms |