The following content of this documentation page has been machine-translated. But unlike other websites, it is not done on the fly. This translated text lives on GitHub repository alongside main ClickHouse codebase and waits for fellow native speakers to make it more human-readable.

    Help ClickHouse documentation by editing this page

    对设置的限制

    如果用户试图违反约束,将引发异常,并且设置不会更改。
    支持三种类型的约束: min, , readonly. 该 minmax 约束指定数值设置的上边界和下边界,并且可以组合使用。 该 constraint指定用户根本无法更改相应的设置。

    示例:users.xml 包括行:

    注:default 配置文件具有特殊的处理:所有定义的约束 default 配置文件成为默认约束,因此它们限制所有用户,直到为这些用户显式复盖它们。

    原始文章