TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
All the P1 hints are added, I think we can close this issue. Once we need the P2 or P3 Hints, we can create a new issue to trace the progress. How do you think? @eurekaka
Feature Request
Is your feature request related to a problem? Please describe:
The supported SQL Hints are not enough to control the behavior of TiDB SQL Optimizer. We need hints to:
Describe the feature you'd like:
A richer sql hint set:
HASH_AGG
STREAM_AGG
USE_INDEX
IGNORE_INDEX
AGG_TO_COP
READ_FROM_STORAGE
READ_FROM_REPLICA
USE_INDEX_MERGE
NO_INDEX_MERGE
USE_TOJA
MEMORY_QUOTA
QUERY_BLOCK
ENABLE_PLAN_CACHE
QUERY_TYPE
INL_JOIN
BNL_JOIN
HASH_JOIN
SM_JOIN
USE_PLAN_CACHE
Describe alternatives you've considered:
N/A
Teachability, Documentation, Adoption, Migration Strategy:
N/A