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 14.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4), 64-bit |
3 rows affected
3 rows affected
ks_id | ks_name | ks_name_alternativ |
---|---|---|
1 | U3- Bereich | U3 |
2 | KiGa- Bereich | KiGa |
3 | Hort- Bereich | Hort |
kt_id | kt_name | kt_ks_id | kt_gruppen_groesse_max |
---|---|---|---|
1 | Sonnenblume | 3 | 24 |
2 | Punk | 1 | 5 |
3 | Rasselbande | 2 | 16 |
kt_id | kt_name | kt_ks_id | kt_gruppen_groesse_max | ks_id | ks_name | ks_name_alternativ |
---|---|---|---|---|---|---|
1 | Sonnenblume | 3 | 24 | 1 | U3- Bereich | U3 |
2 | Punk | 1 | 5 | 2 | KiGa- Bereich | KiGa |
3 | Rasselbande | 2 | 16 | 3 | Hort- Bereich | Hort |
kt_id | kt_name | kt_ks_id | kt_gruppen_groesse_max | ks_id | ks_name | ks_name_alternativ |
---|---|---|---|---|---|---|
1 | Sonnenblume | 3 | 24 | 3 | Hort- Bereich | Hort |
2 | Punk | 1 | 5 | 1 | U3- Bereich | U3 |
3 | Rasselbande | 2 | 16 | 2 | KiGa- Bereich | KiGa |
kt_id | kt_name | kt_ks_id | kt_gruppen_groesse_max | ks_name | ks_name_alternativ |
---|---|---|---|---|---|
1 | Sonnenblume | 3 | 24 | Hort- Bereich | Hort |
2 | Punk | 1 | 5 | U3- Bereich | U3 |
3 | Rasselbande | 2 | 16 | KiGa- Bereich | KiGa |
1 rows affected
kt_id | kt_name | kt_ks_id | kt_gruppen_groesse_max | ks_name | ks_name_alternativ |
---|---|---|---|---|---|
1 | Sonnenblume | 3 | 24 | Hort- Bereich | Hort |
2 | Punk | 1 | 5 | U3- Bereich | U3 |
3 | Rasselbande | 2 | 16 | KiGa- Bereich | KiGa |
4 | Mc Donald | 3 | 25 | Hort- Bereich | Hort |