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?.
8 rows affected
col1 | col2 |
---|---|
1 | 6 |
2 | 3 |
3 | 2 |
4 | 7 |
5 | 8 |
6 | 1 |
5 | 5 |
5 | 5 |
mn_c | mx_c | count |
---|---|---|
2 | 3 | 2 |
4 | 7 | 1 |
5 | 5 | 2 |
1 | 6 | 2 |
5 | 8 | 1 |
matched_count | percentage |
---|---|
3 | 38 |
?column? |
---|
25 |
col1 | col2 | ?column? |
---|---|---|
6 | 1 | 1 |
3 | 2 | 1 |
2 | 3 | 1 |
5 | 5 | 1 |
5 | 5 | 1 |
5 | 5 | 1 |
5 | 5 | 1 |
1 | 6 | 1 |