add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
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?.
int4
[5:7]={1,2,3}
SELECT 1
int4
1
SELECT 1
int4
{1,2,3}
SELECT 1
a
{1,2,3}
SELECT 1
INSERT 0 100000
QUERY PLAN
Seq Scan on tbl (cost=0.00..2839.36 rows=127024 width=32) (actual rows=100000 loops=1)
Planning time: 0.036 ms
Execution time: 78.213 ms
EXPLAIN
QUERY PLAN
Seq Scan on tbl (cost=0.00..2839.36 rows=127024 width=32) (actual rows=100000 loops=1)
Planning time: 0.032 ms
Execution time: 81.744 ms
EXPLAIN