> 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/management/migration.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/en-owldb-cloud/~gitbook/mcp).

# Migration

A migration feature is provided to use an existing database in OwlDB. Before migration, there is an Analyzer feature for compatibility assessment and a Migrator feature for performing the migration. The Analyzer and Migrator can be executed only when the database operation status is `Running`. However, databases configured with Disaster Recovery (DR) do not support the migration feature. To proceed with migration, please disable the DR configuration or select another database.

{% hint style="info" %}
**Note**

The compatibility analysis and migration features currently support only Oracle for Tibero. Please refer to the '[Support Scope and Specifications](#support-scope)' page.
{% endhint %}

## Support Scope and Specifications <a href="#support-scope" id="support-scope"></a>

Check the support scope and detailed information of the migration feature provided by OwlDB.

### Supported Databases <a href="#supported-databases" id="supported-databases"></a>

| Source database           | Target database |
| ------------------------- | --------------- |
| Oracle 11g, 12c, 18c, 19c | Tibero 7        |

{% hint style="info" %}
**Note**

Currently, only CDB migration is supported, and PDB migration support is planned in the future.
{% endhint %}

#### Supported Objects

OwlDB migration migrates all Independent Objects and Dependent Objects at once. The feature to selectively migrate or exclude only individual Objects is not supported.

| Oracle                | Tibero                | Remarks                                                                                                                                                                                                                                                              |
| --------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Constraint            | Constraint            | <p>Supports migration for Primary Key, Foreign Key, Check, and Ref Constraints</p><ul><li>Primary Key index/constraint are all handled as constraints</li><li>The expression of a Check constraint generates DDL using the statement stored in Oracle's DD</li></ul> |
| Index                 | Index                 | <ul><li>R-TREE not supported</li><li>Domain Index not supported</li></ul>                                                                                                                                                                                            |
| Materialized          | Materialized          | -                                                                                                                                                                                                                                                                    |
| Materialized View Log | Materialized View Log | -                                                                                                                                                                                                                                                                    |
| Privilege             | Privilege             | -                                                                                                                                                                                                                                                                    |
| PSM                   | PSM                   | -                                                                                                                                                                                                                                                                    |
| Role                  | Role                  | -                                                                                                                                                                                                                                                                    |
| Schema                | Schema                | -                                                                                                                                                                                                                                                                    |
| Sequence              | Sequence              | -                                                                                                                                                                                                                                                                    |
| Synonym               | Synonym               | -                                                                                                                                                                                                                                                                    |
| Table                 | Table                 | <ul><li>Nested Table not supported</li><li>XML Table not supported</li></ul>                                                                                                                                                                                         |
| Tablespace            | Tablespace            | The size of the tablespace is increased by 20% during migration -> because the capacity during data migration may be larger than in the TO-BE                                                                                                                        |
| View                  | View                  | -                                                                                                                                                                                                                                                                    |

#### Data Conversion Types

This guides you on the data types that are converted when migrating from Oracle to Tibero.

| Oracle                         | Tibero                            |
| ------------------------------ | --------------------------------- |
| blob                           | BLOB                              |
| binary\_float                  | BINARY\_FLOAT                     |
| binary\_double                 | BINARY\_DOUBLE                    |
| character                      | CHAR                              |
| clob                           | CLOB                              |
| date                           | DATE                              |
| interval day to second         | INTERVAL DAY(2) TO SECOND(6)      |
| interval year to month         | INTERVAL YEAR(2) TO MONTH         |
| long                           | LONG                              |
| long raw                       | LONG RAW                          |
| nchar                          | NCHAR                             |
| nclob                          | NCLOB                             |
| number                         | NUMBER                            |
| nvarchar2                      | NVARCHAR2                         |
| rowid                          | ROWID                             |
| time                           | TIME                              |
| timestamp                      | TIMESTAMP                         |
| timestamp with time zone       | TIMESTAMP WITH TIME ZONE          |
| timestamp with local time zone | TIMESTAMP(6) WITH LOCAL TIME ZONE |
| varchar                        | VARCHAR                           |
| varchar2                       | VARCHAR2                          |
| xmltype                        | XMLTYPE                           |

***

## Analyzer <a href="#analyzer" id="analyzer"></a>

1. Go to the **OwlDB console screen > Management > Migration > Analyzer** menu.
2. Click the **DB Alias** dropdown button and select the database to assess for compatibility.
3. Click the **Analyze** button.
4. Enter the information of the source database to assess for compatibility (hereinafter referred to as the source database).

| Item       | Description                             |
| ---------- | --------------------------------------- |
| Title\*    | Database compatibility assessment title |
| Type\*     | Engine type of the source database      |
| ID\*       | User ID of the source database          |
| Password\* | User PW of the source database          |
| Address\*  | IP address name of the source database  |
| Port\*     | Port number of the source database      |
| SID\*      | SID of the source database              |

The \* mark indicates a required input item.

1. Click the **Analyze** button.
2. When you click **OwlDB console screen > Management > Migration > Analyzer > Status**, you can check the progress information.

### Analyzer Results <a href="#analyzer-results" id="analyzer-results"></a>

When you click **OwlDB console screen > Management > Migration > Analyzer > Analyzer Title**, you can check the Analyzer results.

***

## Migrator <a href="#migrator" id="migrator"></a>

1. Go to the **OwlDB console screen > Management > Migration > Migrator** menu.
2. Click the **DB Alias** dropdown button and select the database to migrate.
3. Click the **Migrate** button.
4. Enter the information of the source database to migrate.

{% tabs %}
{% tab title="Data Connection" %}
Connects to the source database that is the migration target.

| Item              | Description                            |
| ----------------- | -------------------------------------- |
| Title\*           | Database migration title               |
| Type\*            | Engine type of the source database     |
| ID\*              | User ID of the source database         |
| Password\*        | User PW of the source database         |
| Host\*            | IP address name of the source database |
| Port\*            | Port number of the source database     |
| SID\*             | SID of the source database             |
| Target Database\* | Alias of the target database           |

The \* mark indicates a required input item.
{% endtab %}

{% tab title="Type Conversion" %}
View information about data type conversion of the source database.

{% hint style="info" %}
**Note**

Data types whose type has been converted are emphasized with orange highlighting.
{% endhint %}
{% endtab %}

{% tab title="Summary" %}
Provides a summary of the information entered in the previous steps.
{% endtab %}
{% endtabs %}

5. Click the **Migrate** button.
6. When you click **OwlDB console screen > Management > Migration > Migrator > Status**, you can check the progress information.

### Migrator Results <a href="#migrator-results" id="migrator-results"></a>

When you click **OwlDB console screen > Management > Migration > Migrator > Migrator Title**, you can check the **Migrator results**.
