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?.
9 rows affected
transaction_date | transaction_sale | count |
---|---|---|
2018-10-01 00:00:00 | null | null |
2018-11-01 00:00:00 | 33 | 1 |
2018-12-01 00:00:00 | null | null |
2019-01-01 00:00:00 | null | null |
2019-02-01 00:00:00 | null | null |
2019-03-01 00:00:00 | 2 | 3 |
2019-04-01 00:00:00 | null | null |
2019-05-01 00:00:00 | null | null |
2019-06-01 00:00:00 | 10 | 2 |
transaction_date | transaction_sale | count |
---|---|---|
2018-10-01 00:00:00 | null | null |
2018-11-01 00:00:00 | 33 | 1 |
2018-12-01 00:00:00 | null | null |
2019-01-01 00:00:00 | null | null |
2019-02-01 00:00:00 | null | null |
2019-03-01 00:00:00 | 2 | 3 |
2019-04-01 00:00:00 | null | null |
2019-05-01 00:00:00 | null | null |
2019-06-01 00:00:00 | 10 | 2 |