max_connections specifies the maximum number of connections for a tenant.
Note
This variable is valid only in the MySQL mode and is adjusted as follows since OceanBase Database V4.0.0:
- The type is changed from INT to UNIT.
- The default value is changed from 151 to 2147483647.
- The value range is changed from [1, 100000] to [1, 2147483647].
- The applicable scope is changed from Global and Session to Global only.
| Attribute | Description |
|---|---|
| Type | UINT |
| Default value | 2147483647 |
| Value range | [1, 2147483647] |
| Applicable scope | Global |
| Involved in serialization | No |
| Plan generation affected | No |
| Nullable | No |
| Modifiable | Yes |