By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
CREATE TABLE
CREATE TABLE
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.345..0.346 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.001..0.002 rows=1 loops=1) |
| Output: 1 |
| Planning Time: 0.019 ms |
| Execution Time: 0.607 ms |
EXPLAIN
DO
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.096..0.096 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.003..0.003 rows=1 loops=1) |
| Output: 555 |
| Planning Time: 0.030 ms |
| Execution Time: 12.318 ms |
EXPLAIN
DO
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.128..0.129 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.002..0.003 rows=1 loops=1) |
| Output: 555 |
| Planning Time: 0.030 ms |
| Execution Time: 26.504 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.016..0.016 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.001..0.001 rows=1 loops=1) |
| Output: 555 |
| Planning Time: 0.037 ms |
| Execution Time: 0.054 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.079..0.080 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.001..0.001 rows=1 loops=1) |
| Output: 777 |
| Planning Time: 0.024 ms |
| Execution Time: 0.099 ms |
EXPLAIN
ANALYZE
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.122..0.123 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.003..0.003 rows=1 loops=1) |
| Output: 888 |
| Planning Time: 0.029 ms |
| Execution Time: 23.234 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Insert on public.test (cost=0.00..0.01 rows=0 width=0) (actual time=0.064..0.064 rows=0 loops=1) |
| -> Result (cost=0.00..0.01 rows=1 width=4) (actual time=0.001..0.001 rows=1 loops=1) |
| Output: 999 |
| Planning Time: 0.024 ms |
| Execution Time: 0.081 ms |
EXPLAIN