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?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
symbol | date | open | high | low | close | sma8 |
---|---|---|---|---|---|---|
ABC | 2019-03-19 | 102.30 | 110.00 | 125.30 | 120.40 | 120.40 |
ABC | 2019-03-20 | 112.30 | 109.00 | 119.30 | 118.40 | 119.40 |
DEF | 2019-03-19 | 1112.30 | 1100.00 | 1155.30 | 1120.40 | 1120.40 |
DEF | 2019-03-20 | 1202.30 | 1180.00 | 1205.30 | 1190.40 | 1155.40 |