Skip to content

[feature](user-property) Support user level exec_mem_limit and load_mem_limit#8365

Merged
morningman merged 1 commit intoapache:masterfrom
morningman:exec_mem_limit_user_level
Mar 11, 2022
Merged

[feature](user-property) Support user level exec_mem_limit and load_mem_limit#8365
morningman merged 1 commit intoapache:masterfrom
morningman:exec_mem_limit_user_level

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Mar 7, 2022

Proposed changes

Issue Number: close #8366

Problem Summary:

SET PROPERTY FOR 'jack' 'exec_mem_limit' = '2147483648';
SET PROPERTY FOR 'jack' 'load_mem_limit' = '2147483648';

The user level property will overwrite the value in session variables.

Checklist(Required)

  1. Does it affect the original behavior: (No)
  2. Has unit tests been added: (No Need)
  3. Has document been added or modified: (Yes)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

…em_limit

```
SET PROPERTY FOR 'jack' 'exec_mem_limit' = '2147483648';
SET PROPERTY FOR 'jack' 'load_mem_limit' = '2147483648';
```

The user level property will overwrite the value in session variables.
@morningman morningman added kind/feature Categorizes issue or PR as related to a new feature. dev/1.0.0-deprecated should be merged into dev-1.0.0 branch labels Mar 7, 2022
Copy link
Member

@yangzhg yangzhg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Mar 11, 2022
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@morningman morningman merged commit e403dbc into apache:master Mar 11, 2022
@morningman morningman added dev/merged-1.0.0-deprecated PR has been merged into dev-1.0.0 and removed dev/1.0.0-deprecated should be merged into dev-1.0.0 branch labels Mar 11, 2022
morningman added a commit that referenced this pull request Mar 11, 2022
…em_limit (#8365)

```
SET PROPERTY FOR 'jack' 'exec_mem_limit' = '2147483648';
SET PROPERTY FOR 'jack' 'load_mem_limit' = '2147483648';
```
The user level property will overwrite the value in session variables.
zhengte pushed a commit to zhengte/incubator-doris that referenced this pull request Mar 15, 2022
…em_limit (apache#8365)

```
SET PROPERTY FOR 'jack' 'exec_mem_limit' = '2147483648';
SET PROPERTY FOR 'jack' 'load_mem_limit' = '2147483648';
```
The user level property will overwrite the value in session variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/merged-1.0.0-deprecated PR has been merged into dev-1.0.0 kind/feature Categorizes issue or PR as related to a new feature. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Support user level memory limit settings

2 participants