IT lexicon › Database › Pointer chasing

Pointer chasing

Database På svenska → Updated: 2026-11-13

Following chains of records through explicit stored pointers — typical in navigational databases but a performance killer on disk.

Hierarchical and network databases stored not only data but explicit pointers between records. To find an order's line items, you followed a pointer from the order to the first item, then a pointer from that item to the next, and so on. Simple to implement, but a single query could trigger hundreds of disk reads.

Relational databases solved this by making the SQL optimizer calculate the cheapest access path — index, sort, hash — for each query. Object-oriented databases later reintroduced pointer chasing, sometimes with clever caching, but it remained a performance problem at scale.

← Back to the lexicon