Files
oceanbase/docs/docs-cn/13.reference-guide/2.system-variable/41.max_user_connections.md
2022-02-10 14:51:49 +08:00

20 lines
1.0 KiB
Markdown

max_user_connections
=========================================
max_user_connections 用于指定单个用户可以向 OBServer 建立的连接数,设置为 0 时表示不限制连接数。
| **属性** | **描述** |
|--------|------------------------------------------------------------------------------------------------------------|
| 参数类型 | uint |
| 默认值 | 0 |
| 取值范围 | \[0, 4294967295\] |
| 生效范围 | * GLOBAL * SESSION |
**说明**
该变量不能通过 `alter session set xxx = yyy; `语句的方式使其仅在当前 Session 生效,只能通过 `set global xxx = yyy` 语句的方式使全局生效。