Skip to content
Databases in Practice

What is RLS Performance Subquery?

The slow path where row policies re-evaluate per-row subqueries instead of once per statement. Wrapping the check in a single stable subquery lets Postgres cache the result and skip repeated work.

Browse all Databases in Practice terms →