Create an OceanBase Oracle Data Source
Add an OceanBase Oracle data source to NineData for Database DevOps, backup and restore, data replication, database comparison, and other supported features. This guide covers connection mode, credentials, environment settings, and the connection test.
Before you begin
The server IP address of NineData has been added to the data source allowlist. The server IP address can be viewed by selecting the target region in Access Region on the Create Datasource page.

Make sure you have available data source quota; otherwise, the data source cannot be added. You can check your remaining quota in the NineData Console header.

Procedure
Sign in to the NineData Console.
On the left navigation pane, click Datasource > Datasource.
- Click Datasource tab, and click Create Datasource on the page. In the popup window for selecting the data source type, choose Database > (the type of data source to be added), and configure the parameters based on the table below on the Create Datasource page.tip
If you make a mistake during the operation, you can click the
icon at the top of the Create Datasource page to make a new selection.
Configure the data source parameters:
Parameter Description Name Enter a data source name. Use a meaningful name to find and manage it later. Connection Select how NineData connects to the data source. Supported methods are IP Address, Gateway, and SSH Tunnel. - IP Address: Connect through the public network address.
- Gateway: Use a NineData gateway for private-network access. Connect the host that runs the data source first. For instructions, see Add Gateway.
- SSH Tunnel: Connect through an SSH tunnel.
- IP Address: Connect through the public network address.
- SSH Tunnel: Connect through an SSH tunnel.
Configuration items when Connection is IP Address Host: The public network connection address and port of the data source. Configuration items when Connection is Gateway - Gateway: Select the NineData gateway installed on the host where the data source is located.
- Host: Enter localhost if the data source is on the same host as the gateway, or enter the internal IP address and port of the host where the data source is located.
DB Account Enter the login username for OceanBase Oracle. DB Password Enter the login password for OceanBase Oracle. Access Region Select the region closest to the OceanBase Oracle host to help reduce network latency. Environment Choose an environment based on the business purpose of the data source. This environment identifies the data source. The default environments are PROD and DEV. Custom environments are supported. For details, see create a custom environment.
Note: Under organization mode, the database environment can also be applied to permission policy management. For example, the default Prod Admin role can access only data sources in the PROD environment and cannot access data sources in other environments. For more information, see Manage Roles.After you configure all parameters, click Connection Test next to Create Datasource to test connectivity. When Connection Successfully is displayed, click Create Datasource to create the data source. Otherwise, review the connection settings and run the test again.
Result
After the connection test succeeds and the data source is created, it appears in the data source list and is available to NineData features that support OceanBase Oracle.