MaxCompute, formerly referred to as ODPS, is a fast and fully hosted data warehousing solution. It can process gigabytes, terabytes, or petabytes of data. MaxCompute provides complete data import schemes and various classic distributed computing models. It supports fast computing on a large amount of data, effectively reduces costs for enterprises, and ensures data security.
FineDataLink supports connection to MaxCompute for data reading and writing using scheduled tasks.
Scheduled Task supports data reading from and writing into MaxCompute, and Data Service supports the publication of MaxCompute data.
If the interactiveMode parameter is used and the number of data records exceeds 1 million, add autoSelectLimit=1000000000 to the URL.
For details, see Overview of Data Connection.
Download the driver package and place it in the /webroot/web-inf/lib path in the FineDataLink installation directory.
odps-jdbc-3.2.26-jar-with-dependencies.jar
The URL is explained as follows:
MaxCompute endpoint: It refers to the endpoint of the region where the MaxCompute service is located For example, the public endpoint of UK (London) is https://service.eu-west-1.maxcompute.aliyun.com/api.
MaxCompute project name: It refers to the name of the MaxCompute project.
For details, see Usage Notes.
Collect the following information before connecting FineDataLink to the database.
Endpoint of the region where the MaxCompute service is located
MaxCompute project name
Username and password of the database (The password cannot contain a percent sign (%), as it will cause a connection error.)
Schema of the database to be connected
1. Log in to FineDataLink as the admin, choose System Management > Data Connection > Data Connection Management, select a folder, and create a data connection, as shown in the following figure.
2. Set the data connection name. You can also modify the directory of the data connection.
3. Find the data source by searching the data source name or filtering the data source by Data Source Type, Supported Form, and Compatible Module, as shown in the following figure.
4. Enter the connection information collected in the "Connection Information Connection" section.
1. To write data into MaxCompute, you need to remove &interactiveMode=true from the data connection URL. Queries are accelerated with this setting, but only SELECT query statements are allowed.
2. You are advised to disable Check Before Connection and Regular Availability Check of Idle Connection to speed up the acquisition of field mapping relationships and preparation for data writing.
Click Click to Connect Database. If the connection is successful, you can select the schema, as shown in the following figure.
5. Configure Tunnel Setting if you need to write data into MaxCompute using scheduled tasks. Fill in the Tunnel endpoint of the region (in the corresponding network connection mode) where the MaxCompute service is located. For example, https://dt.eu-west-1.maxcompute.aliyun.com.
For details about the Tunnel endpoint, see Endpoints.
For details about the data source usage, see MaxCompute Instruction.
6. Click Test Connection. If the connection is successful, click Save, as shown in the following figure.
After configuring the data source, you can use it for data reading and writing in Scheduled Task. For details, see Overview of Scheduled Task.
After configuring the data source, you can use it in Data Service. For details, see Overview of Data Service.
For details about the data source usage in FineDataLink, see MaxCompute Instruction.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy