Skip to content

How to use "max_concurrent_queries_for_user"? #9405

@42997455

Description

@42997455

Use case:
I want to control concurrent queries by user.
For example, I have two users A and B, I want to control user A max concurrent queries as 10, and control user B max concurrent queries as 20. Do you know how to apply this setting in config.xml or user.xml?

I found there is a setting "max_concurrent_queries_for_user", I have tried to set the setting in config.xml as:
<max_concurrent_queries>100</max_concurrent_queries> <max_concurrent_queries_for_user>1</max_concurrent_queries_for_user>
And login as user A, tried run 2 queries in same time, found both queries run successfully, but as I set the max_concurrent_queries_for_user as 1, I expect only one query is allow to run in one time, could you please help me understand how to use "max_concurrent_queries_for_user", thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions