Plan nodes · Set operations and appends
Append Returns the rows of each child, one child after another.
Used for UNION ALL and for reading the partitions of a partitioned table. Partitions that cannot match can be pruned, at planning time or as the query runs.
Example SELECT name FROM artists UNION ALL SELECT title FROM albums 3 nodes
Append rows 22,000 (estimated 22,000) cost 0..471 buffers: 141 hit
Seq Scan on artists rows 2,000 (estimated 2,000) cost 0..33 buffers: 13 hit
Seq Scan on albums rows 20,000 (estimated 20,000) cost 0..328 buffers: 128 hit
Run with EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF) on the sample database , PostgreSQL 19.0. Open it in the EXPLAIN visualizer →
Related Merge Append · Recursive Union · SetOp
This site is not affiliated with or endorsed by the SQLite project, the PostgreSQL Global Development Group, Oracle, Google, Meta, Cockroach Labs, Elasticsearch B.V., the Apache Software Foundation, MongoDB, Inc. or Redis Ltd. SQLite is a registered trademark of Hipp, Wyrick & Company, Inc.; PostgreSQL, MySQL, LevelDB, RocksDB, CockroachDB, Elasticsearch, Lucene, MongoDB, WiredTiger and Redis are trademarks of their owners. The names are used only to say which files the site reads.
Sister sites: LLM Anatomy · Distribution Atlas · Notation Decoder · uresk.net
Made by Spencer Uresk · About · Files you open stay on your device.