Skip to content

Commit 24e43dc

Browse files
committed
edit pass: connector-azure-database-for-postgresql
1 parent 9fb9e82 commit 24e43dc

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

articles/data-factory/connector-azure-database-for-postgresql.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Copy data to and from Azure Database for PostgreSQL using Azure Data Factory | Microsoft Docs
3-
description: Learn how to copy data to and from Azure Database for PostgreSQL by using a copy activity in an Azure Data Factory pipeline.
3+
description: Learn how to copy data to and from Azure Database for PostgreSQL by using a Copy activity in an Azure Data Factory pipeline.
44
services: data-factory
55
documentationcenter: ''
66
author: linda33wj
@@ -18,18 +18,18 @@ ms.author: jingwang
1818
---
1919
# Copy data to and from Azure Database for PostgreSQL by using Azure Data Factory
2020

21-
This article describes how to use the Copy Activity feature in Azure Data Factory to copy data from Azure Database for PostgreSQL. It builds on the [copy activity overview](copy-activity-overview.md) article that presents a general overview of Copy Activity.
21+
This article describes how to use the Copy activity feature in Azure Data Factory to copy data from Azure Database for PostgreSQL. It builds on the [Copy activity in Azure Data Factory](copy-activity-overview.md) article, which presents a general overview of Copy activity.
2222

2323
This connector is specialized for the [Azure Database for PostgreSQL service](../postgresql/overview.md). To copy data from a generic PostgreSQL database located on-premises or in the cloud, use the [PostgreSQL connector](connector-postgresql.md).
2424

2525
## Supported capabilities
2626

2727
This Azure Database for PostgreSQL connector is supported for the following activities:
2828

29-
- [Copy activity](copy-activity-overview.md) with [supported source/sink matrix](copy-activity-overview.md)
29+
- [Copy activity](copy-activity-overview.md) with a [supported source/sink matrix](copy-activity-overview.md)
3030
- [Lookup activity](control-flow-lookup-activity.md)
3131

32-
You can copy data from Azure Database for PostgreSQL to any supported sink data store. Or, you can copy data from any supported source data store to Azure Database for PostgreSQL. For a list of data stores that are supported as sources and sinks by the copy activity, see the [Supported data stores](copy-activity-overview.md#supported-data-stores-and-formats) table.
32+
You can copy data from Azure Database for PostgreSQL to any supported sink data store. Or, you can copy data from any supported source data store to Azure Database for PostgreSQL. For a list of data stores that are supported as sources and sinks by the Copy activity, see the [Supported data stores](copy-activity-overview.md#supported-data-stores-and-formats) table.
3333

3434
Azure Data Factory provides a built-in driver to enable connectivity. Therefore, you don't need to manually install any driver to use this connector.
3535

@@ -46,15 +46,15 @@ The following properties are supported for the Azure Database for PostgreSQL lin
4646
| Property | Description | Required |
4747
|:--- |:--- |:--- |
4848
| type | The type property must be set to: **AzurePostgreSql**. | Yes |
49-
| connectionString | An ODBC connection string to connect to Azure Database for PostgreSQL.<br/>Mark this field as a SecureString to store it securely in Data Factory. You can also put a password in Azure Key Vault and pull the `password` configuration out of the connection string. See the following samples and [Store credentials in Azure Key Vault](store-credentials-in-key-vault.md) article for more details. | Yes |
49+
| connectionString | An ODBC connection string to connect to Azure Database for PostgreSQL.<br/>Mark this field as a SecureString to store it securely in Data Factory. You can also put a password in Azure Key Vault and pull the `password` configuration out of the connection string. See the following samples and [Store credentials in Azure Key Vault](store-credentials-in-key-vault.md) for more details. | Yes |
5050
| connectVia | This property represents the [integration runtime](concepts-integration-runtime.md) to be used to connect to the data store. You can use Azure Integration Runtime or Self-hosted Integration Runtime (if your data store is located in private network). If not specified, it uses the default Azure Integration Runtime. |No |
5151

5252
A typical connection string is `Server=<server>.postgres.database.azure.com;Database=<database>;Port=<port>;UID=<username>;Password=<Password>`. Here are more properties you can set per your case:
5353

5454
| Property | Description | Options | Required |
5555
|:--- |:--- |:--- |:--- |
5656
| EncryptionMethod (EM)| The method the driver uses to encrypt data sent between the driver and the database server. For example, `EncryptionMethod=<0/1/6>;`| 0 (No Encryption) **(Default)** / 1 (SSL) / 6 (RequestSSL) | No |
57-
| ValidateServerCertificate (VSC) | Determines whether the driver validates the certificate that's sent by the database server when SSL encryption is enabled (Encryption Method=1). E.g., `ValidateServerCertificate=<0/1>;`| 0 (Disabled) **(Default)** / 1 (Enabled) | No |
57+
| ValidateServerCertificate (VSC) | Determines whether the driver validates the certificate that's sent by the database server when SSL encryption is enabled (Encryption Method=1). For example, `ValidateServerCertificate=<0/1>;`| 0 (Disabled) **(Default)** / 1 (Enabled) | No |
5858

5959
**Example**:
6060

@@ -100,7 +100,7 @@ A typical connection string is `Server=<server>.postgres.database.azure.com;Data
100100

101101
## Dataset properties
102102

103-
For a full list of sections and properties available for defining datasets, see the [datasets](concepts-datasets-linked-services.md) article. This section provides a list of properties that are supported by Azure Database for PostgreSQL dataset.
103+
For a full list of sections and properties available for defining datasets, see [Datasets in Azure Data Factory](concepts-datasets-linked-services.md). This section provides a list of properties that are supported by Azure Database for PostgreSQL dataset.
104104

105105
To copy data from Azure Database for PostgreSQL, set the type property of the dataset to **AzurePostgreSqlTable**. The following properties are supported:
106106

@@ -127,16 +127,16 @@ To copy data from Azure Database for PostgreSQL, set the type property of the da
127127

128128
## Copy activity properties
129129

130-
For a full list of sections and properties available for defining activities, see the [Pipelines](concepts-pipelines-activities.md) article. This section provides a list of properties supported by Azure Database for PostgreSQL source.
130+
For a full list of sections and properties available for defining activities, see [Pipelines and activities in Azure Data Factory](concepts-pipelines-activities.md). This section provides a list of properties supported by Azure Database for PostgreSQL source.
131131

132132
### Azure Database for PostgreSql as source
133133

134-
To copy data from Azure Database for PostgreSQL, set the source type in the copy activity to **AzurePostgreSqlSource**. The following properties are supported in the copy activity **source** section:
134+
To copy data from Azure Database for PostgreSQL, set the source type in the Copy activity to **AzurePostgreSqlSource**. The following properties are supported in the Copy activity **source** section:
135135

136136
| Property | Description | Required |
137137
|:--- |:--- |:--- |
138-
| type | The type property of the copy activity source must be set to **AzurePostgreSqlSource** | Yes |
139-
| query | Use the custom SQL query to read data. For example: `"SELECT * FROM MyTable"` | No (if "tableName" in dataset is specified) |
138+
| type | The type property of the Copy activity source must be set to **AzurePostgreSqlSource** | Yes |
139+
| query | Use the custom SQL query to read data. For example: `"SELECT * FROM MyTable"` | No (if the tableName property in the dataset is specified) |
140140

141141
**Example:**
142142

@@ -172,12 +172,12 @@ To copy data from Azure Database for PostgreSQL, set the source type in the copy
172172

173173
### Azure Database for PostgreSQL as sink
174174

175-
To copy data to Azure Database for PostgreSQL, the following properties are supported in the copy activity **sink** section:
175+
To copy data to Azure Database for PostgreSQL, the following properties are supported in the Copy activity **sink** section:
176176

177177
| Property | Description | Required |
178178
|:--- |:--- |:--- |
179-
| type | The type property of the copy activity sink must be set to **AzurePostgreSQLSink**. | Yes |
180-
| preCopyScript | Specify a SQL query for the copy activity to execute before you write data into Azure Database for PostgreSQL in each run. You can use this property to clean up the preloaded data. | No |
179+
| type | The type property of the Copy activity sink must be set to **AzurePostgreSQLSink**. | Yes |
180+
| preCopyScript | Specify a SQL query for the Copy activity to execute before you write data into Azure Database for PostgreSQL in each run. You can use this property to clean up the preloaded data. | No |
181181
| writeBatchSize | Inserts data into the Azure Database for PostgreSQL table when the buffer size reaches writeBatchSize.<br>Allowed value is an integer that represents the number of rows. | No (default is 10,000) |
182182
| writeBatchTimeout | Wait time for the batch insert operation to complete before it times out.<br>Allowed values are Timespan strings. An example is 00:30:00 (30 minutes). | No (default is 00:00:30) |
183183

@@ -216,7 +216,7 @@ To copy data to Azure Database for PostgreSQL, the following properties are supp
216216

217217
## Lookup activity properties
218218

219-
For more details about the properties, see [Lookup activity](control-flow-lookup-activity.md).
219+
For more information about the properties, see [Lookup activity in Azure Data Factory](control-flow-lookup-activity.md).
220220

221221
## Next steps
222-
For a list of data stores supported as sources and sinks by the copy activity in Azure Data Factory, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
222+
For a list of data stores supported as sources and sinks by the Copy activity in Azure Data Factory, see [Supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).

0 commit comments

Comments
 (0)