-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
FR: Option to have all queries low priority #7524
Comments
@jackysp We need to add an option in the configure file to make the option persistent. |
@shenli , the current implementation could make the effect persistent for the TiDB server. Do we need to add one more option in the configure file? |
If the tidb instance is rebooted, does the varible still take effort? |
No, but there is rarely to specify a configuration file for a TiDB server. The deployment tools could not support it. The user needs to change the configuration file manually. If there is such a requirement, we can add it. |
In MySQL 8.0, such a feature is called SET PERSIST. |
@morgo , it is really a very useful feature. We could try to support it. |
Yes, it has been really popular. There were a couple of additions before 8.0 went GA: |
Please answer these questions before submitting your issue. Thanks!
Currently, it is possible to explicitly set individual queries to either low or high priority:
https://github.com/pingcap/docs/blob/master/FAQ.md#how-to-control-or-change-the-execution-priority-of-sql-commits
I would like to have an option to be able to set all queries from a TiDB server to Low Priority.
An option. i.e.
tidb_force_priority = LOW_PRIORITY
.Individual queries require hints.
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: