Restarting a Node
Restart a node of an OCI Database with PostgreSQL database system.
Restarting doesn't change connectivity configuration to the database system. When you restart a database node, you can choose between two restart types:
- Normal: Only the database processes are restarted. This takes less than a minute.
- Reboot: The underlying Compute instance is rebooted, which also restarts PostgreSQL processes. This can take several minutes.
Note
You can't restart the primary node of a database system.
You can't restart the primary node of a database system.
- Open the navigation menu and click Databases. Under PostgreSQL, click DB Systems.
- (Optional) In the List scope section, under Compartment, select a compartment.
- Click the name of the database system that you want to add nodes to.
- On the DBSystem details page, under Resources, click DBSystem nodes.
- Click the next to the node that you want to restart and choose Restart.
- In the Restart DB system window, verify the database system name.
-
Select the Shutdown Type.
- Normal: Only the database processes are restarted. This takes less than a minute.
- Node reboot: The underlying Compute instance is rebooted, which also restarts PostgreSQL processes. This can take several minutes.
- Click Restart.
Use the
oci psql db-system restart-db-instance-in
command and required parameters to restart a node:oci psql db-system restart-db-instance-in --db-instance-id <db_instance_OCID> --db-system-id <db_system_OCID> --restart-type <restart_type> [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the RestartDbInstanceInDbSystem operation to restart a node.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.