PostgreSQL/SQLServer Link Parameters
Table 1 lists the parameters for creating a link to PostgreSQL/SQLServer. KingBase and GaussDB can be connected through the PostgreSQL connector. The source and destination data sources supported by migration jobs are the same as those for PostgreSQL..
Do not change the password or user when the job is running. If you do so, the password will not take effect immediately and the job will fail.
Parameter |
Description |
Example Value |
---|---|---|
Name |
Link name, which should be defined based on the data source type, so it is easier to remember what the link is for |
sql_link |
Database Server |
IP address or domain name of the database to connect Click Select next to the text box to obtain the list of instances. |
192.168.0.1 |
Port |
Port of the database to connect |
The port number varies depending on the database. Examples: Default port of SQL Server: 1433 Default port of PostgreSQL: 5432 |
Database Name |
Name of the database to connect |
dbname |
Username |
Username used for accessing the database This account must have the permissions required to read and write data tables and metadata. |
cdm |
Password |
Password of the user |
- |
Use Agent |
The agent function will be unavailable soon and does not need to be configured. |
- |
Agent |
The agent function will be unavailable soon and does not need to be configured. |
- |
Driver Version |
Different types of relational databases adapt to different drivers. For details, see How Do I Obtain a Driver? |
- |
Fetch Size |
(Optional) Displayed when you click Show Advanced Attributes. Number of rows obtained by each request. Set this parameter based on the data source and the job's data size. If the value is either too large or too small, the job may run for a long time. |
1000 |
Link Attributes |
(Optional) Click Add to add the JDBC connector attributes of multiple specified data sources. For details, see the JDBC connector document of the corresponding database.
The following are some examples:
|
sslmode=require |
Reference Sign |
(Optional) Delimiter between the names of the referenced tables or columns. For details, see the product documentation of the corresponding database. |
" |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot