> For the complete documentation index, see [llms.txt](https://docs.tibero.com/en-owldb-cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/en-owldb-cloud/dashboard/restart-database.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/en-owldb-cloud/~gitbook/mcp).

# Database Reboot

OwlDB can reboot databases in single-instance or multi-instance configurations.

{% hint style="warning" %}
**Caution**

When the database is rebooted, all currently connected sessions are terminated. It may take a few minutes before it becomes active again.
{% endhint %}

### Menu Path

The database reboot feature can be accessed through the following menu paths.

* **OwlDB console screen > Dashboard**
* **OwlDB console screen > Overview > Instances tab**
* **OwlDB console screen > Overview > Instance details**

### Reboot Button

The **Reboot** button is enabled according to the DB Service's Status. Detailed enablement and selection conditions based on Status and Health are explained in 'Reboot Conditions' below.

### Reboot Options

When you click the **Reboot** button, the reboot options modal appears.

| Item               | Description                                                                                                                                       |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Title              | Do you want to reboot `{instance alias}`?                                                                                                         |
| Content            | <ul><li>Terminates all currently connected sessions</li><li>Usually takes a few minutes; the DB Service is reactivated after completion</li></ul> |
| Instance to reboot | <ul><li>Select the instance to reboot from the dropdown</li><li>Selection disabled in a single-instance configuration</li></ul>                   |
| Shutdown Mode      | Select the database shutdown mode from the dropdown                                                                                               |

## How the Feature Works <a href="#how-it-works" id="how-it-works"></a>

Database reboot behaves differently depending on the status of the selected instance.

### Reboot Conditions

The **Reboot** button is enabled when the DB Service's Status is one of `Running`, `Degraded`, `Down`, `Updating`, or `Failover`. However, the list of instances that can be selected in the modal is limited depending on each instance's Health status.

| Status     | Selectable instances                             |
| ---------- | ------------------------------------------------ |
| `Running`  | All instances in the `Available` status          |
| `Degraded` | Instances in the `Available` or `Limited` status |
| `Down`     | All instances in the `Unavailable` status        |
| `Updating` | Instances in the `Available` status              |
| `Failover` | Instances in the `Available` status              |

In the following Status states, the **Reboot** button is disabled.

* `Provisioning`
* `Stopped`
* `Terminating`
* `Retired` (In this case, it is displayed as a **Delete** button instead on the instance details page.)

### Status Change After Reboot

* **When all instances are selected**: Status changes to `Updating - In Progress`
* **When some instances are selected**: Status changes to `Degraded - In Progress`

## How to Use <a href="#how-to-use" id="how-to-use"></a>

The steps to reboot a database are as follows.

1. Go to the **OwlDB console screen > Dashboard** menu.
2. Select the database to reboot.
3. Click the **Reboot** button.
   * You can also reboot from the **Overview > Instances tab** or **Overview > Instance Details** menu.
4. When the "Do you want to reboot `{instance alias}`?" modal appears, select the instance to reboot from the **Instance to reboot** dropdown.
   * For a single-instance configuration, that dropdown is disabled.
5. Select the database shutdown mode from the **Shutdown Mode** dropdown.

{% tabs %}
{% tab title="Tibero" %}

| Shutdown Mode | Description                                                                                                       | Remarks           |
| ------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------- |
| IMMEDIATE     | Forcibly stops all operations currently in progress, rolls back all in-progress transactions, and then shuts down | **Default Value** |
| ABORT         | Forcibly terminate the Tibero process                                                                             |                   |
| ABNORMAL      | Forcibly terminate the server process without connecting to the Tibero server                                     |                   |

{% hint style="warning" %}
**Caution**

* **ABORT**: Some system resources (shared memory, semaphores, etc.) are not released, so there is a possibility of corruption recovery. Therefore, it is recommended to use it only in the following situations.
  * When normal shutdown is not possible due to an internal Tibero error
  * When Tibero must be shut down immediately due to a hardware problem
  * When Tibero must be shut down immediately due to an emergency such as hacking
* **ABNORMAL**: The server is terminated immediately with an OS force-kill signal, and because system resources (shared memory, semaphores, etc.) are not released, a corruption recovery process is required after reboot. Therefore, it is recommended for use only in the following situations.
  * When normal shutdown is not possible due to an internal Tibero error
  * When a shutdown command issued in a shutdown mode other than ABNORMAL is delayed and an immediate forced shutdown is required
  * When a problem occurs due to external factors such as hardware or OS and execution of a shutdown mode other than ABNORMAL fails
  * When Tibero must be shut down immediately due to an emergency such as hacking
    {% endhint %}
    {% endtab %}

{% tab title="OpenSQL" %}

| Shutdown Mode | Description                                                                                                    | Remarks           |
| ------------- | -------------------------------------------------------------------------------------------------------------- | ----------------- |
| FAST          | Rolls back in-progress transactions, terminates connected sessions, and then quickly shuts down the server     | **Default Value** |
| IMMEDIATE     | Immediately stops all operations, forcibly rolls back in-progress transactions, and then shuts down the server |                   |

{% hint style="warning" %}
**Caution**

When shutting down in **IMMEDIATE** mode, some system resources may not be cleaned up properly, so it runs in automatic recovery mode. It is recommended to use it only in the following cases.

* When a normal shutdown is impossible due to an internal OpenSQL error
* When a FAST mode shutdown does not respond for a certain period of time
* When an emergency shutdown is required due to external factors such as H/W or OS
  {% endhint %}
  {% endtab %}
  {% endtabs %}

6. Click the **Reboot** button.

## Check the Result <a href="#check-results" id="check-results"></a>

Once the reboot operation starts, you can check the progress by clicking the notification icon in the upper-right corner of the console screen. After the reboot completes, verify that the DB Service's Status has changed normally.

{% hint style="warning" %}
**Caution**

If the Status Code in the banner after reboot is `Issue: VM Down`, please contact <aws_owldb_support@tibero.com> for **AWS** or <azure_owldb_support@tibero.com> for **Azure**, depending on the CSP you are using.
{% endhint %}
