1.142 INSTANCE_MODE
INSTANCE_MODE indicates whether the instance is read-write, read-only, or read-mostly.
| Property | Description |
|---|---|
|
Parameter type |
String |
|
Syntax |
|
|
Default value |
|
|
Modifiable |
No |
|
Basic |
No |
|
Oracle RAC |
See the Oracle RAC restrictions in the initialization parameter description below. |
A READ-WRITE instance is a regular Oracle instance.
A READ-ONLY instance is an Oracle instance that can only be opened in read-only mode.
A READ-MOSTLY instance is an Oracle instance that performs very few database writes.
These restrictions apply when setting the parameter on different Oracle Real Application Clusters (Oracle RAC) instances:
-
There must be at least one instance alive with
INSTANCE_MODEset toREAD-WRITEat any given time. If the only instance withINSTANCE_MODEset toREAD-WRITEgoes down, all other instances will be brought down by Oracle automatically. -
An instance with
INSTANCE_MODEset toREAD-ONLYcannot be the first instance to open a database or any pluggable database (PDB) among all instances in an Oracle RAC cluster. -
Oracle does not support co-existence of an instance with
INSTANCE_MODEset toREAD-ONLYand an instance withINSTANCE_MODEset toREAD-MOSTLYin the same Oracle RAC cluster.
Note:
This initialization parameter is available starting with Oracle Database 12c Release 2 (12.2.0.1).