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?.
10 rows affected
column_1 | column_2 | column_3 |
---|---|---|
1 | null | 12 |
2 | null | 0 |
3 | null | 9 |
4 | null | 87 |
5 | null | 20 |
6 | null | 4 |
7 | null | 22 |
8 | null | 97 |
9 | null | 97 |
10 | null | 5 |
column_1 |
---|
54 |
60 |
98 |
61 |
31 |
88 |
7 |
10 |
48 |
18 |
10 rows affected
column_1 | column_2 | column_3 |
---|---|---|
1 | 60 | 12 |
2 | 48 | 0 |
3 | 88 | 9 |
4 | 61 | 87 |
5 | 88 | 20 |
6 | 7 | 4 |
7 | 60 | 22 |
8 | 7 | 97 |
9 | 7 | 97 |
10 | 54 | 5 |