[MDEV-6929] Port Facebook Prefix Index Queries Optimization Created: 2014-10-24 Updated: 2022-05-11 Resolved: 2014-11-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Fix Version/s: | 10.1.2 |
| Type: | Task | Priority: | Minor |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | innodb, xtradb | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
https://github.com/facebook/mysql-5.6 commit e8f0052f9b112dc786bf9b957ed5b16a5749f7fd Port v5.1 Prefix Index Queries Optimization Summary: Optimize prefix index queries to skip cluster index lookup when possible. Currently InnoDB will always fetch the clustered index (primary key Also adds two status vars that track how effective this is: innodb_secondary_index_triggered_cluster_reads: innodb_secondary_index_triggered_cluster_reads_avoided: |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2014-11-03 ] |
|
commit cb37c557688e2f7f0381d02f78976a1b7d1bfd65 Merge Facebook commit 154c579b828a60722a7d9477fc61868c07453d08 Optimize prefix index queries to skip cluster index lookup when possible. Currently InnoDB will always fetch the clustered index (primary key Also adds two status vars that track how effective this is: innodb_secondary_index_triggered_cluster_reads: innodb_secondary_index_triggered_cluster_reads_avoided: |