---
slug: /zh/sql-reference/statements/alter/settings-profile
sidebar_position: 48
sidebar_label: 配置文件设置
---

## 更改配置文件设置 {#alter-settings-profile-statement}

更改配置文件设置。

语法:

``` sql
ALTER SETTINGS PROFILE [IF EXISTS] TO name1 [ON CLUSTER cluster_name1] [RENAME TO new_name1]
        [, name2 [ON CLUSTER cluster_name2] [RENAME TO new_name2] ...]
    [SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | INHERIT 'profile_name'] [,...]
```
