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
INSERT 0 2
id | col_json |
---|---|
1 | { "City": "Fontana", "Timezone": "America/Los_Angeles", "Longitude": "-117.4864123", "Timestamp": "2020-07-15T12:13:00-07:00", "refs": ["123", "456", "789"], "tZone": "PPP" } |
SELECT 1
id | col_json |
---|---|
1 | { "City": "Fontana", "Timezone": "America/Los_Angeles", "Longitude": "-117.4864123", "Timestamp": "2020-07-15T12:13:00-07:00", "refs": ["123", "456", "789"], "tZone": "PPP" } |
SELECT 1
id | col_json |
---|---|
1 | { "City": "Fontana", "Timezone": "America/Los_Angeles", "Longitude": "-117.4864123", "Timestamp": "2020-07-15T12:13:00-07:00", "refs": ["123", "456", "789"], "tZone": "PPP" } |
SELECT 1
id | col_json |
---|
SELECT 0