All Products
Search
Document Center

DataV:Datasource

Last Updated:Mar 10, 2025

A datasource is essential for retrieving data from a variety of data storage systems, including databases like MySQL and PostgreSQL, big data platforms such as TableStore, APIs, and files. This topic describes the datasources supported by DataV-Board and offers guidance on selecting the appropriate datasource.

Limits

  • Datasource support varies by version. For more information, see Specifications.

  • Some datasources are subject to regional restrictions. For more information, see Region Support.

  • Database-type datasources must be internet-accessible and require a configured access whitelist. For more information, see Configure Database Whitelist.

  • Connections to database-type datasources are subject to a 10-second timeout limit.

Datasource selection

Database selection instructions

DataV-Board supports the integration of self-managed databases. When setting up a self-managed database using a virtual machine or ECS, make your choice based on the public network access availability:

  • If the public network can access the database address: Opt for a MySQL-compatible datasource method or the corresponding database's external network connection method.

  • If the public network cannot access the database address: Consider using the DataV Proxy Service.

DataV Proxy Service

The proxy service is an alternative when external network access is not possible or desired. It is particularly useful in scenarios such as:

  • Databases within an internal network.

  • Avoiding exposure of the database to external network access.

  • SQL queries that are lengthy and exceed the 10-second timeout limit.

API selection instructions

How should you choose among API, Alibaba Cloud API Gateway, and Open API when using a datasource?

Datasource type

Type description

Scenarios

API

General data interface.

If you have a directly usable API, you can connect using the API datasource. For example, interfaces provided by existing sites or interfaces built by purchased cloud services. For specific usage operations, see Add API Datasource.

Alibaba Cloud API Gateway

An Alibaba Cloud product that provides API hosting services.

If the logic in your existing API is not supported when using the API datasource (such as signature calculation), you can use Alibaba Cloud API Gateway to host your API. When DataV-Board connects to the Alibaba Cloud API Gateway datasource, it can indirectly invoke the API you hosted in the API Gateway. At this time, Alibaba Cloud API Gateway acts as a proxy for the API. For specific usage operations, see Add Alibaba Cloud API Gateway Datasource.

Open API

The method of invoking open interfaces provided by Alibaba Cloud products. Using Open API allows you to easily call API interfaces provided by various cloud products, usually to obtain information about Alibaba Cloud products.

If you want to obtain data information from Alibaba Cloud products (such as ECS load conditions, SLS log statistics), you can use the Open API datasource. Open API only supports invoking APIs provided by Alibaba Cloud products. For specific usage operations, see Add Open API Datasource.

API invocation methods vary widely. While DataV-Board may not directly invoke all APIs, the Alibaba Cloud API Gateway can host these APIs. Decide whether to use Alibaba Cloud API Gateway based on your specific needs, which may include the following:

  • APIs with custom signature authentication algorithms that DataV-Board cannot directly invoke. Alibaba Cloud API Gateway can handle the custom logic, allowing direct connection and invocation via DataV-Board.

  • APIs that are not directly accessible, such as those within a virtual private cloud, can be hosted through Alibaba Cloud API Gateway.

  • If you prefer not to disclose API invocation details, Alibaba Cloud API Gateway can obscure them.

  • APIs that use datasources or interfaces not currently supported by DataV-Board, such as invoking Function Compute, can also retrieve data through Alibaba Cloud API Gateway.

Datasource classification

DataV-Board supports an extensive array of datasources, including database, big data storage, API, and file types.

Note
  • 支持 denotes support, 不支持 indicates lack of support.

  • For datasources that require a whitelist, you must configure the database whitelist for a successful connection.

Datasource type

Datasource

Public network connection

VPC connection

Whitelist setting

Remarks

Database-type

Add RDS for MySQL Datasource

支持

支持

支持

None.

Add RDS for PostgreSQL Datasource

支持

支持

支持

None.

Add RDS for SQLServer Datasource

支持

支持

支持

When SQLServer is Microsoft Azure, you must check encrypt.

Add PolarDB for MySQL Datasource

支持

支持

支持

None.

Add PolarDB for PostgreSQL Datasource

支持

支持

支持

None.

Add PolarDB for Oracle Datasource

支持

支持

支持

None.

Add AnalyticDB for MySQL Datasource

支持

支持

支持

None.

Add AnalyticDB for PostgreSQL Datasource

支持

支持

支持

None.

Add OceanBase for MySQL Datasource

支持

支持

支持

None.

Add Oracle Datasource

支持

不支持

支持

None.

Add MySQL-compatible Database Datasource

支持

不支持

支持

Compatible with older versions of MySQL. You need to enable insecureAuth.

Supports compatibility with Azure Database for MySQL.

Add Dameng Database

支持

支持

支持

Domestic database.

Add Kingbase Database

支持

支持

支持

Domestic database.

Add PolarDB-X Datasource

支持

支持

支持

Domestic database.

Add Hologres Datasource

支持

支持

支持

None.

Big data storage-type

Add TableStore Datasource

支持

不支持

支持

None.

Add Object Storage Service (OSS) Datasource

支持

不支持

不支持

None.

Add Simple Log Service (SLS) Datasource

支持

不支持

不支持

None.

File and static data

Add CSV File

N/A

N/A

N/A

The file size must not exceed 512KB.

Add static data

N/A

N/A

N/A

JSON format data, only in the widget datasource configuration panel.

General API-type

Add API Datasource

支持

不支持

N/A

Supports GET or POST, only in the widget datasource configuration panel.

Add Open API Datasource

支持

不支持

N/A

None.

Add Alibaba Cloud API Gateway Datasource

支持

不支持

N/A

None.

Third-party API-type

Add DataV Proxy Service

N/A

N/A

N/A

DataV Proxy Service provides an open-source database proxy service that can be deployed on ECS. Through the proxy service, you can reduce the risk of exposing the database's public network IP.

For deployment and installation of DataV Proxy Service, see Configure DataV Proxy Service.

Others

Add Blockchain as a Service Datasource

支持

N/A

N/A

None.

Important

For database-type datasources, ensure they are accessible:

  • The database is not blocked by a firewall.

  • The database domain name is resolvable.

Region support

Database-type Datasource Supported Regions:

Region

Region ID

China (Hangzhou)

cn-hangzhou

China (Shanghai)

cn-shanghai

China (Shenzhen)

cn-shenzhen

China (Qingdao)

cn-qingdao

China (Beijing)

cn-beijing

China (Zhangjiakou)

cn-zhangjiakou

China (Hohhot)

cn-huhehaote

China East 2 Finance

cn-shanghai-finance-1

China South 1 Finance

cn-shenzhen-finance-1

Hong Kong (China)

cn-hongkong

FAQ

For additional questions about datasource configuration, see FAQ on Datasource Configuration and Usage.