Posted inMySQL
A Guide to Functional Indexes in MySQL 8 for Optimizing Expression Queries
Functions like YEAR() or LOWER() in WHERE clauses often cause MySQL to bypass B-Tree indexes and perform full table scans. Using functional indexes in MySQL 8 lets you index expressions directly, slashing query latency from seconds to milliseconds without modifying your table schema.








