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?.
CREATE TABLE
CREATE FUNCTION
CREATE TRIGGER
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
team | punkte | serie |
---|---|---|
JuventusFC | 50 | 1 |
AS Roma | 30 | 1 |
ParmaCalcio1913 | 25 | 1 |
Palermo | 37 | 2 |
Pescara | 32 | 2 |
Spezia | 26 | 2 |
Carrarese Calcio | 34 | 3 |
Virtus Entella | 31 | 3 |
Juventus U-23 | 50 | 3 |
SELECT 9
INSERT 0 0
team | punkte | serie |
---|---|---|
AS Roma | 30 | 1 |
ParmaCalcio1913 | 25 | 1 |
Palermo | 37 | 2 |
Pescara | 32 | 2 |
Spezia | 26 | 2 |
Carrarese Calcio | 34 | 3 |
Virtus Entella | 31 | 3 |
Juventus U-23 | 50 | 3 |
JuventusFC | 53 | 1 |
SELECT 9