Data migration scenarios
MaxCompute provides a variety of tools to upload and download data for a wide range of cloud data migration scenarios. This topic describes three common scenarios.
Migrate Hadoop data
MMA, Sqoop, and DataWorks can be used to migrate Hadoop data.
For examples of migrating Hadoop data by using DataWorks with DataX, see Hadoop data migration tutorial or the video tutorial Best practices for migrating Hadoop data to MaxCompute.
Sqoop runs a MapReduce (MR) job on the original Hadoop cluster to transmit data to MaxCompute in a distributed manner. For details, see the Apache Sqoop documentation.
MMA uses Meta Carrier to connect to a Hive Metastore service and retrieve Hive metadata. It uses this metadata to generate DDL statements for creating MaxCompute tables and partitions, and Hive UDTF SQL statements for migrating data. For more information, see MMA overview.
Synchronize data from a database
Select a tool for synchronizing database data to MaxCompute based on the database type and synchronization policy.
Offline batch database synchronization: Use DataWorks, which supports a wide range of databases, including MySQL, SQL Server, and PostgreSQL. For more information, see Codeless UI configuration. For instructions on instance operations, see Create a synchronization task.
For real-time synchronization of data from an Oracle database, use the OGG plug-in.
For real-time synchronization of data from an RDS database, use Data Integration in DataWorks. For more information, see Configure data sources for data synchronization from MySQL.
Collect logs
Tools such as Flume, Fluentd, and Logstash can be used to collect logs. For scenario examples, see Collect Website Log Data to MaxCompute Using Flume and Massive Log Data Analytics and Applications.