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?.
60 rows affected
2 rows affected
1 rows affected
data_quarter | quarter_count |
---|---|
1 | 3 |
2 | 5 |
3 | 5 |
4 | 4 |
data_quarter | quarter_count |
---|---|
1 | 3 |
4 | 3 |
3 | 3 |
4 | 3 |
3 | 3 |
4 | 3 |
3 | 3 |
4 | 3 |
1 | 3 |
2 | 3 |
1 | 3 |
3 | 3 |
2 | 3 |
2 | 3 |
3 | 3 |
2 | 3 |
2 | 3 |
2 | 3 |
3 | 3 |
4 | 3 |
1 | 3 |
1 | 3 |
4 | 3 |
2 | 3 |
3 | 3 |
4 | 3 |
3 | 3 |
1 | 3 |
4 | 3 |
3 | 3 |
2 | 3 |
3 | 3 |
2 | 3 |
2 | 3 |
3 | 15 |
2 | 15 |