add remove language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 100000
QUERY PLAN
Seq Scan on wordsn (actual time=0.012..13.464 rows=100000 loops=1)
  Buffers: shared hit=637
Planning:
  Buffers: shared hit=2
Planning Time: 0.076 ms
Execution Time: 18.486 ms
EXPLAIN
DROP TABLE
CREATE TABLE
INSERT 0 200000
QUERY PLAN
Seq Scan on wordsn (actual time=0.012..23.137 rows=200000 loops=1)
  Buffers: shared hit=1274
Planning:
  Buffers: shared hit=2
Planning Time: 0.070 ms
Execution Time: 32.917 ms
EXPLAIN
CREATE TABLE
INSERT 0 100000
CREATE TABLE
INSERT 0 100000
QUERY PLAN
Merge Join (actual time=0.179..64.222 rows=100000 loops=1)
  Merge Cond: (words1.id = words2.id)
  Buffers: shared hit=1632
  -> Index Scan using words1_pkey on words1 (actual time=0.160..17.192 rows=100000 loops=1)
        Buffers: shared hit=816
  -> Index Scan using words2_pkey on words2 (actual time=0.014..15.658 rows=100000 loops=1)
        Buffers: shared hit=816
Planning:
  Buffers: shared hit=22
Planning Time: 3.170 ms
Execution Time: 70.447 ms
EXPLAIN