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?.
25 rows affected
col1 | col2 | ilosc |
---|---|---|
XX | 1 | 5 |
XX | 1 | 5 |
XX | 1 | 5 |
XX | 1 | 5 |
XX | 1 | 5 |
XX | 2 | 2 |
XX | 2 | 2 |
XX | 6 | 4 |
XX | 6 | 4 |
XX | 6 | 4 |
XX | 6 | 4 |
XX | 7 | 1 |
YY | 2 | 2 |
YY | 2 | 2 |
YY | 3 | 6 |
YY | 3 | 6 |
YY | 3 | 6 |
YY | 3 | 6 |
YY | 3 | 6 |
YY | 3 | 6 |
YY | 5 | 2 |
YY | 5 | 2 |
YY | 8 | 3 |
YY | 8 | 3 |
YY | 8 | 3 |
col1 | col2 | ilosc |
---|---|---|
XX | 1 | 5 |
XX | 2 | 2 |
XX | 6 | 4 |
XX | 7 | 1 |
YY | 2 | 2 |
YY | 3 | 6 |
YY | 5 | 2 |
YY | 8 | 3 |
col1 | col2 | ilosc |
---|---|---|
XX | 1 | 5 |
YY | 3 | 6 |