← Backend PythonQuestion 28 of 49
What are partial indexes and functional indexes, and what problems do they solve?
📘 Explanation
A partial index only indexes rows matching a condition (like active users), reducing size, while a functional index is built on an expression such as LOWER(email) so queries using that expression can still use an index. The other options describe unrelated concepts like column subsetting, string truncation, cross-table joins, or scheduled rebuilding, none of which match these definitions.
Related questions
- What is a composite index and when would you use one instead of single-column indexes?
- Why might an index not be used when most rows match the condition?
- If PostgreSQL chooses a bad query plan because statistics are stale, what command should you run?
- What is the left-prefix rule for composite indexes?
- What is the difference between ANALYZE and VACUUM ANALYZE in PostgreSQL?
← PreviousNo login needed