mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
22 lines
811 B
Markdown
22 lines
811 B
Markdown
|
---
|
||
|
toc_priority: 46
|
||
|
toc_title: QUOTA
|
||
|
---
|
||
|
|
||
|
# ALTER QUOTA {#alter-quota-statement}
|
||
|
|
||
|
Изменяет квоту.
|
||
|
|
||
|
## Синтаксис {#alter-quota-syntax}
|
||
|
|
||
|
``` sql
|
||
|
ALTER QUOTA [IF EXISTS] name [ON CLUSTER cluster_name]
|
||
|
[RENAME TO new_name]
|
||
|
[KEYED BY {'none' | 'user name' | 'ip address' | 'client key' | 'client key or user name' | 'client key or ip address'}]
|
||
|
[FOR [RANDOMIZED] INTERVAL number {SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR}
|
||
|
{MAX { {QUERIES | ERRORS | RESULT ROWS | RESULT BYTES | READ ROWS | READ BYTES | EXECUTION TIME} = number } [,...] |
|
||
|
NO LIMITS | TRACKING ONLY} [,...]]
|
||
|
[TO {role [,...] | ALL | ALL EXCEPT role [,...]}]
|
||
|
```
|
||
|
|
||
|
[Оригинальная статья](https://clickhouse.tech/docs/ru/query_language/alter/quota/) <!--hide-->
|