-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 Request: Support MAX_EXECUTION_TIME #7008
Comments
As an aside, the 5.7+ optimizer hints i.e. They can raise warnings, but should never raise errors. |
@xinwu5 Thanks for your feedback! |
relate to this statment level hint, 5.7 also introduce |
@xinwu5 Please try the latest master. |
As described above, the syntax is parsed but currently ignored. I suggest we leave this issue open until the feature is implemented. Here is a minimal test-case:
|
- This feature is request by [Feature 7008](pingcap#7008). - Add support for system variable "session.max_execution_time" and "global.max_execution_time". - Support hint in Select Statement linke: "SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM t1". - Add some unit test for the above(all tests passed).
- This feature is request by [Feature 7008](pingcap#7008). - Add support for system variable "session.max_execution_time" and "global.max_execution_time". - Support hint in Select Statement linke: "SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM t1". - Add some unit test for the above(all tests passed).
We use max_execution_time out this variable very often to control the max execution time from serverside for the queries. We would like to request TiDB can support this feature, or at least release a version to not report an error when using this variable at first. So it can unblock us for further testing.
https://dev.mysql.com/doc/refman/5.7/en/optimizer-hints.html#optimizer-hints-execution-time
tidb-server -V
or runselect tidb_version();
on TiDB)?The text was updated successfully, but these errors were encountered: