Overview
The enable_database_sharding_none parameter controls whether to enable automatic aggregation (automatic table group binding) for user tables when creating a database.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | False |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
The value of the
enable_database_sharding_noneparameter is changed fromFalsetoTrue:- When you create a database, a table group with
SHARDING = 'NONE'is bound by default. All user tables in this database are bound to the same log stream. - Existing databases are not affected.
- When you create a database, a table group with
The value of the
enable_database_sharding_noneparameter is changed fromTruetoFalse:- The existing database will not be modified.
Configuration example
Configure automatic aggregation for user tables when creating a database.
obclient> ALTER SYSTEM SET enable_database_sharding_none = True;