hard20 pts · first answer countsindexingpostgresql
Index ignored because of a function
There is a B-tree index on users(email), but WHERE lower(email) = 'asha@example.com' still does a sequential scan in PostgreSQL. What is the right fix?
Discussion 0
Join free to post in the discussion.
Related questions
- When a B-tree index helpsDatabase Administrator
- Logical vs physical backupDatabase Administrator
- Why a write-ahead log existsDatabase Administrator
- Read-only access for analystsDatabase Administrator
- What pg_hba.conf controlsDatabase Administrator
- View vs materialized viewDatabase Administrator
- Seeing what is running nowDatabase Administrator
- Cancel or terminate a sessionDatabase Administrator