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
serialnr | nodeaddress | connection_status | temperature | humidity | lux | battery | conn_lastupdated | temp_lastupdated | hum_lastupdated | lux_lastupdated | batt_lastupdated |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 00:0a:95:9d:68:17 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
2 | 00:0a:95:9d:68:18 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
3 | 00:0a:95:9d:68:19 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
4 | 00:0a:95:9d:68:20 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
pg_sleep |
---|
serialnr | nodeaddress | connection_status | temperature | humidity | lux | battery | conn_lastupdated | temp_lastupdated | hum_lastupdated | lux_lastupdated | batt_lastupdated |
---|---|---|---|---|---|---|---|---|---|---|---|
2 | 00:0a:95:9d:68:18 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
3 | 00:0a:95:9d:68:19 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
4 | 00:0a:95:9d:68:20 | null | null | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |
1 | 00:0a:95:9d:68:17 | null | 20 | null | null | null | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:59.74196 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 | 2020-03-18 13:19:49.72473 |