LESSON 3.3
Rewriting is often better than indexing. Remove the function on the indexed column, cut the rows early, and check the plan again.
This lesson sits in Query Performance, part of PostgreSQL for Developers. It assumes what came before it and leads directly into the next lesson in the module.
PRO TIP
Wrapping an indexed column in a function usually disables the index. Transform the parameter instead.
Every lesson, searchable to the second.
© 2026 BIBLION
PRIVACY · TERMS · CONTACT