Note
This parameter was introduced in V4.1.0.
Description
The ob_startup_mode parameter specifies the startup mode of an OBServer node. This parameter can be modified only when the node is started for the first time.
Privilege requirements
Query the parameter
The
systenant and all user tenants can execute theSHOW PARAMETERSstatement or query theGV$OB_PARAMETERSview to query the parameter.Modify the parameter
You can modify the parameter only during the initial startup of the cluster.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | NORMAL |
| Valid values |
NoteThe |
| Modifiable | No. You cannot execute the ALTER SYSTEM SET statement to modify this parameter. |
| Effective upon OBServer node restart | No. This parameter is read-only. |
Examples
This example shows how to set the startup mode of an OBServer node in the sys tenant to SHARED_STORAGE.
-bash-4.2$ cd /home/admin/oceanbase && /home/admin/oceanbase/bin/observer -I 10.10.10.1 -P 2882 -p 2881 -z zone1 -n obdemo -c 10001 -o "system_memory=400G,ob_startup_mode=shared_storage" -d /home/admin/oceanbase/store/obdemo -s "oss://cn-hangzhou-bucket-1?host=oss-cn-hangzhou-****.aliyuncs.com&ram_url=***&max_iops=10000&max_bandwidth=1GB"