-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] judge whether a SQL is AP or TP #2
Comments
How do these two pools manage scaling nodes? |
TP support switching tidb-server between 0.5 cpu core 1G memory、1 core 2 G、2 core 4G、4 core 8G,0.5 cpu use 0.5 * 100 pool of connection, |
we differentiate AP or TP request according to sql cost calculated by the optimizer, and we will add more rules and strategies to distinguish SQL more accurately in the future. The SQL is forwarded to three different types of TIDB nodes based on the cost, ensuring that AP and TP SQL do not interfere with each other. Backend TIDB nodes are classified into three types :
|
Feature Request
Is your feature request related to a problem? Please describe:
We have two computing pools to handle AP and TP requests respectively, TP sql can be processed by AP pool, but not vice versa. So how to judge whether a SQL is AP or TP? How do these two pools manage scaling nodes?
Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: