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?.
CREATE TABLE
INSERT 0 7
id | feature | start | end |
---|---|---|---|
EBI-15947845 | p.C29S | 29 | 29 |
EBI-15983374 | p.E283C | 283 | 283 |
EBI-16057637 | p.I66D | 66 | 66 |
EBI-16057637 | p.A47D | 47 | 47 |
EBI-16057637 | p.L44D | 44 | 44 |
EBI-16057637 | p.L67D | 67 | 67 |
EBI-2266598 | p.D1305_D1306delinsKK | 1305 | 1306 |
SELECT 7