Add a PolarDB for Xscale (formerly DRDS and PolarDB-X) data source to Quick BI.
Prerequisites
-
You have a PolarDB for Xscale database.
-
You have the username and password for the database.
Limitations
PolarDB for Xscale versions 1.0 and 2.0 are supported.
Procedure
-
Configure an IP address whitelist.
Before connecting to PolarDB for Xscale, add the IP addresses of Quick BI to the database's IP address whitelist. For instructions, see Set an IP address whitelist.
-
Verify the data source connection and create the data source.
-
Log on to the Quick BI console.
-
Follow these steps to add the data source:
-
Navigate to the page for creating a data source. For more information, see Create a data source.
-
On the Alibaba Cloud database tab, select PolarDB for Xscale.

-
-
-
In the Configure Connection dialog box, set the following parameters.

Parameter
Description
Display name
The display name for the data source.
This name must be unique and cannot contain special characters or leading or trailing spaces.
Database address
The public endpoint of your PolarDB for Xscale database. For a VPC data source, enter the internal endpoint instead.
Obtain the database address from the Distributed Relational Database Service console. Example: xxxxxxxxxxxxxxxxxxxxxx.drds.aliyuncs.com
For more information, see View database information.
Port
The port number used to connect to the database.
Username and password
The username and password for the database account. The account must have CREATE, INSERT, UPDATE, and DELETE permissions on the tables you want to access.
VPC data source
If your database is in an Alibaba Cloud Virtual Private Cloud (VPC), select VPC data source and configure the following parameters.
-
Purchaser AccessId and Purchaser AccessKey: The AccessKey ID and AccessKey Secret for an account with permissions to manage the target database. The account must have read permissions on the target instance. If the account also has write permissions, Quick BI automatically adds its IP addresses to the IP address whitelist. Otherwise, you must add them manually. For more information, see Create a custom RAM policy.
Obtain your AccessKey ID and AccessKey Secret from the RAM console.
-
Instance ID and Region: The instance ID and region of the PolarDB for Xscale database.
Log on to the Distributed Relational Database Service console to obtain the instance ID and region.
-
Instance version: Select the version of your instance. Supported versions are 1.0 and 2.0.
NoteIf you select VPC data source, enter the internal endpoint in the Database Address field and its port number in the Port field.
Enable file upload
Enables file uploads.
-
-
Click Test Connection to verify the connection.

-
After the connection test succeeds, click OK to add the data source.
Next steps
After adding the data source, create a dataset to start analyzing your data.
-
To add data tables or custom SQL queries from your PolarDB for Xscale data source to a dataset, see Create a dataset.
-
To create visualizations and analyze data, see Create a dashboard and Overview of chart types.
-
To perform in-depth analysis with drill-down features, see Step 3: Configure and display drill-downs.