By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1000000
CREATE TABLE
INSERT 0 1000000
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
| QUERY PLAN |
|---|
| Seq Scan on test1 (cost=0.00..128450.52 rows=473352 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.507 ms |
| Execution time: 2315.196 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test1 (cost=0.00..128450.52 rows=473352 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.056 ms |
| Execution time: 2323.869 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test1 (cost=0.00..12479.28 rows=473352 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.113 ms |
| Execution time: 628.525 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test1 (cost=0.00..12479.28 rows=473352 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.084 ms |
| Execution time: 562.069 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test2 (cost=0.00..124223.76 rows=457776 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.107 ms |
| Execution time: 2370.244 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test2 (cost=0.00..124223.76 rows=457776 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.045 ms |
| Execution time: 1738.551 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test2 (cost=0.00..12068.64 rows=457776 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.088 ms |
| Execution time: 474.315 ms |
EXPLAIN
| QUERY PLAN |
|---|
| Seq Scan on test2 (cost=0.00..12068.64 rows=457776 width=32) (actual rows=1000000 loops=1) |
| Planning time: 0.082 ms |
| Execution time: 447.350 ms |
EXPLAIN