Introduction
Expression indexes help speed up searches on calculated or transformed data without storing extra columns.
When you want to quickly find rows based on a calculation or function result.
When you often filter or sort by a modified version of a column, like lowercased text.
When you want to avoid storing extra columns just for indexing purposes.
When you want to improve performance of queries using expressions in WHERE or ORDER BY.
When you want to index parts of data, like the first letter of a name.