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?.
21 rows affected
id | created_at |
---|---|
1 | 2019-01-01 |
2 | 2019-01-02 |
3 | 2019-01-04 |
4 | 2019-01-05 |
5 | 2019-01-07 |
6 | 2019-01-08 |
7 | 2019-01-10 |
8 | 2019-01-11 |
9 | 2019-01-13 |
10 | 2019-01-15 |
11 | 2019-01-17 |
12 | 2019-01-18 |
13 | 2019-01-19 |
14 | 2019-01-21 |
15 | 2019-01-22 |
16 | 2019-01-23 |
17 | 2019-01-25 |
18 | 2019-01-26 |
19 | 2019-01-28 |
20 | 2019-01-30 |
21 | 2019-02-01 |
id | created_at |
---|---|
7 | 2019-01-10 |
8 | 2019-01-11 |
9 | 2019-01-13 |
10 | 2019-01-15 |
11 | 2019-01-17 |
12 | 2019-01-18 |
13 | 2019-01-19 |