Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 有没有方法限制某个用户/库表 对应的操作资源使用?
【TiDB Usage Environment】Production Environment
【TiDB Version】v6.1
【Encountered Problem: Problem Phenomenon and Impact】
Is there any way to limit the resource usage of certain objects?
For example, all operations of a specific user, all operations of a specific database, all operations of a specific table, certain specific SQL operations, etc.?
It seems that the official documentation does not support “user-level” resource limit settings.
The only solution I can think of is to actively set the memory limit threshold for individual SQL statements at the session level on the application side.