Plan nodes · Scans
Tid Scan
Fetches rows by their physical address (ctid).
Goes straight to the rows whose ctid, (block, item), is given, as in WHERE ctid = '(0,1)'. Used mostly by tools; a ctid changes whenever a row is updated.
Example
SELECT * FROM tracks WHERE ctid = '(0,1)'
1 node
- Tid Scan on tracksrows 1 (estimated 1) cost 0..4.01 buffers: 1 hitTID condition
(ctid = '(0,1)'::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 Range Scan · Sample Scan · Subquery Scan · Function Scan · Table Function Scan · Values Scan · CTE Scan · WorkTable Scan · Named Tuplestore Scan · Foreign Scan · Custom Scan