Plan nodes · Scans
Tid Range Scan
Reads a range of physical row addresses.
Reads the rows whose ctid falls in a range, such as WHERE ctid < '(10,0)' for the first ten pages. Useful for processing a big table in chunks.
Example
SELECT * FROM tracks WHERE ctid < '(10,0)'
1 node
- Tid Range Scan on tracksrows 1,069 (estimated 1,059) cost 0..23.59 buffers: 10 hitTID condition
(ctid < '(10,0)'::tid)
Run with EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF) on the sample database, PostgreSQL 19.0. Open it in the EXPLAIN visualizer →
Related
Seq Scan · Index Scan · Index Only Scan · Bitmap Index Scan · Bitmap Heap Scan · BitmapAnd · BitmapOr · Tid Scan · Sample Scan · Subquery Scan · Function Scan · Table Function Scan · Values Scan · CTE Scan · WorkTable Scan · Named Tuplestore Scan · Foreign Scan · Custom Scan