Enterprises often operate heterogeneous platforms, with data distributed across traditional relational databases such as Oracle and storage systems like Object Storage Service (OBS). To enable high-performance full-text search and analytics, this data often needs to be migrated into Elasticsearch. However, migrating large volumes of heterogeneous data using custom scripts is costly and often hindered by complex network configurations and low transfer efficiency. The Cloud Data Migration (CDM) service simplifies this process with a no-code, managed service that supports high concurrency and resumable transfers. Using CDM, you can quickly and securely migrate data from Oracle databases or OBS to CSS Elasticsearch clusters.
Scenario | Source Data | Target Cluster |
|---|---|---|
Ingesting data from an Oracle database into CSS | A local or third-party Oracle database | Elasticsearch 5.5, 6.2, 6.5, 7.1, 7.6, 7.9, or 7.10 |
Ingesting data from OBS to CSS | JSON/CSV files in OBS buckets | Elasticsearch 5.5, 6.2, 6.5, 7.1, 7.6, 7.9, or 7.10 |
The left part of the console is the command input box, and the triangle icon in its upper-right corner is the execution button. The right part shows the execution result.
For example, run the following command to create index demo:
PUT /demo{"settings": {"number_of_shards": 1},"mappings": {"properties": {"productName": {"type": "text","analyzer": "ik_smart"},"size": {"type": "keyword"}}}}
PUT /demo{"settings": {"number_of_shards": 1},"mappings": {"products": {"properties": {"productName": {"type": "text","analyzer": "ik_smart"},"size": {"type": "keyword"}}}}}
The command is successfully executed if the following information is displayed.
{"acknowledged" : true,"shards_acknowledged" : true,"index" : "demo"}
If the data source is MySQL, see "Creating a MySQL Connector" in the Cloud Data Migration User Guide for how to connect to a MySQL database.
GET demo/_count # Check the number of records ingested.GET demo/_search # Check the content of the ingested data.
If the results are consistent with the source, data ingestion is successful.