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?.
version |
---|
PostgreSQL 12.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit |
13 rows affected
m_name | round |
---|---|
May | 7.97 |
March | 7.08 |
June | 7.00 |
April | 7.82 |
m_name | round |
---|---|
June | 85.00 |
May | 104.46 |
April | 141.82 |
March | 143.75 |
m_name | sum |
---|---|
June | 2125 |
May | 3865 |
April | 7800 |
March | 8625 |
count |
---|
3 |
4 |
4 |
2 |
m_name | avg |
---|---|
June | 87.50 |
May | 73.75 |
April | 107.50 |
March | 141.67 |