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?.
id | other_column1 | other_column2 | amount |
---|---|---|---|
9 | some serv | stat | 100 |
10 | some serv | stat | 89 |
Total | null | null | 189 |
SELECT 3
id | other_column1 | other_column2 | amount |
---|---|---|---|
9 | some serv | stat | 100 |
10 | some serv | stat | 89 |
Total | null | null | 189 |
SELECT 3
id | other_column1 | other_column2 | amount |
---|---|---|---|
9 | some serv | stat | 100 |
10 | some serv2 | stat | 89 |
Total | null | null | 189 |
SELECT 3