Data Migration – Oracle to couchbase using AWS S3 Stage
Introduction
Are you trying to migrate Oracle to Couchbase? Have you looked all over the internet to find a solution for it? If yes, then you are in the right place. Couchbase is a distributed multi-model NoSQL document-oriented database, whereas Oracle is a modern Database Management System.
This article will give you a brief overview of migrating data from Oracle Database and Couchbase via S3 stage.
What is S3 stage, why do we need here:
S3 Bucket – The staging area for Couchbase. This might be something created solely for use by Couchbase, but it is often already an integral part of a company’s greater data repository landscape.
Prerequisite
We need following active accounts for Oracle to Couchbase migration
- Oracle Database
- Couchbase
- AWS S3 (Optionally you can use uArrow S3 )
To know more about Oracle Database, visit this link.
To know more about Couchbase, visit this link.
To know more about AWS S3, visit this link
Create Connections
1. Oracle connection
uArrow has an in-built Oracle Integration that connects to your oracle database within few seconds.
1.1. Click Connection menu from top to view (SQL DATABASE & CLOUD WAREHOUSE, CLOUD STORAGE, etc.) adapters
1.2. Click Oracle button to create Oracle database connection
1.3. Provide below connection parameters in the connection creation form
Parameter Name |
Description |
Connection name |
Specify the name of the source connection. |
Host |
Enter the name of machine where the Oracle Server instance is located, it should be Computer name, fully qualified domain name, or IP address |
Port |
Enter the port number to connect to this Oracle Server. Four digit integer, Default: 1521 |
Database |
Enter an existing Oracle connection through which the uArrow accesses sources data to migrate. |
Schema |
Enter an existing Oracle database schema name. |
User |
Enter the user name of the oracle database, The user name to use for authentication on the Oracle database |
Password |
Enter the user’s password. The password to use for authentication on the Oracle database |
1.4. After connection details, validate connection to verify.
![Docusaurus](/img/uarrow/conn/dm_conn_oracle_create_2.png)
1.5. Save Connection – Don’t forget to save connection after connection validation success.
2. AWS S3 connection
uArrow has an in-built AWS S3 Integration that connects to your S3 within few seconds.
2.1. Click Connection menu from top to view (SQL DATABASE & CLOUD WAREHOUSE, CLOUD STORAGE, etc.) adapters
2.2. Click AWS Redshift button to create Redshift warehouse connection
2.3. Provide below connection parameters in the connection creation form
Parameter Name |
Description |
Connection name |
Specify the name of the stage connection. |
Bucket Name |
Specify your AWS S3 bucket name. |
Access Key |
Specify the access key for your Amazon Web Services account. |
Secret Key |
Specify the secret key for your Amazon Web Services account. |
Region |
The region where your bucket should be located. For example: us-east-1 |
S3 URI |
Specify your AWS S3 bucket URI. |
2.4.After connection details, validate connection to verify
2.5. Save Connection – Don’t forget to save connection after connection validation success
3. Couchbase connection
uArrow has an in-built Oracle Integration that connects to your oracle database within few seconds.
3.1. Click Connection menu from top to view (SQL DATABASE & CLOUD WAREHOUSE, CLOUD STORAGE, etc.) adapters
3.2. Click Couchbase button to create Couchbase connection
3.3. Provide below connection parameters in the connection creation form
Parameter Name |
Description |
Connection name |
Specify the name of the target connection. |
End Point |
Specify the hostname / IP address of the couchbase. |
Bucket Name |
Specify the bucket name of the couchbase. |
Scope Name |
Specify the scope name of the couchbase. |
user |
Specify login name of the user for the connection. |
Password |
Specify the password for the specified user. |
3.4. After connection details, validate connection to verify
![Docusaurus](/img/uarrow/conn/dm_conn_oracle_create_2.png)
3.5. Save Connection – Don’t forget to save connection after connection validation success.