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?.
SELECT 5
object | num_distinct_queries | num_fails | percent_of_total_fails |
---|---|---|---|
b | 2 | 1 | 0.50000000000000000000 |
a | 3 | 2 | 0.66666666666666666667 |
SELECT 2