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?.
5 rows affected
percent_deleted |
---|
0.60 |
percent_deleted |
---|
0.60 |
QUERY PLAN |
---|
Aggregate (cost=16.44..16.46 rows=1 width=32) |
InitPlan 1 (returns $0) |
-> Index Scan using pg_class_oid_index on pg_class (cost=0.27..8.30 rows=1 width=8) |
Index Cond: (oid = '171580'::oid) |
-> Index Only Scan using comment_comment_id_idx on comment (cost=0.13..8.14 rows=1 width=0) |