[MDEV-31754] max_seeks_for_key not working Created: 2023-07-20  Updated: 2023-07-20

Status: Open
Project: MariaDB Server
Component/s: Optimizer
Affects Version/s: 10.5.17
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Derek Main Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: optimizer, plan, query
Environment:

AWS RDS



 Description   

The query optimizer is not selecting an index to read table and is instead doing a full table scan. I want to force the query optimizer to use an index. I have set the max_seeks_for_key to 1. When I do an EXPLAIN on my query, it shows that there are "possible keys" but it still chooses to do a FTS. So setting the max_seeks_for_key has no effect.


Generated at Thu Feb 08 10:26:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.