Extend this optimisation to apply to secondary indexes on generated columns too. A superficial review seems to show that this might be involved, as server always requests base column image from the storage engine on the queries that this optimisation might apply.
Environment
None
Smart Checklist
Activity
Show:
Julia Vural March 4, 2025 at 9:21 PM
It appears that this issue is no longer being worked on, so we are closing it for housekeeping purposes. If you believe the issue still exists, please open a new ticket after confirming it's present in the latest release.
WL#8149 B-tree Index Support on non-materialized virtual columns WL#8114 Don't store virtual generated columns in database WL#8227 Support SEs to create index on virtual generated columns WL#8481 Callback for computation of virtual column index values from InnoDB purge threads All 4 worklogs are to support virtual column and virtual index on such columns.
**Reported in Launchpad by Laurynas Biveinis last update 20-03-2017 13:39:04
Percona Server 5.7 has ported Facebook prefix index query optimisation (https://github.com/percona/percona-server/pull/1505, https://github.com/percona/percona-server/pull/1506).
Extend this optimisation to apply to secondary indexes on generated columns too. A superficial review seems to show that this might be involved, as server always requests base column image from the storage engine on the queries that this optimisation might apply.