You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-azure-database-for-postgresql.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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.
4
4
services: data-factory
5
5
documentationcenter: ''
6
6
author: linda33wj
@@ -18,7 +18,7 @@ ms.author: jingwang
18
18
---
19
19
# Copy data to and from Azure Database for PostgreSQL by using Azure Data Factory
20
20
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.
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.
22
22
23
23
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).
24
24
@@ -29,7 +29,7 @@ This Azure Database for PostgreSQL connector is supported for the following acti
29
29
-[Copy activity](copy-activity-overview.md) with a [supported source/sink matrix](copy-activity-overview.md)
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.
33
33
34
34
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.
35
35
@@ -131,11 +131,11 @@ For a full list of sections and properties available for defining activities, se
131
131
132
132
### Azure Database for PostgreSql as source
133
133
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:
135
135
136
136
| Property | Description | Required |
137
137
|:--- |:--- |:--- |
138
-
| type | The type property of the Copy activity source must be set to **AzurePostgreSqlSource**| Yes |
138
+
| type | The type property of the copy activity source must be set to **AzurePostgreSqlSource**| Yes |
139
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) |
140
140
141
141
**Example:**
@@ -172,12 +172,12 @@ To copy data from Azure Database for PostgreSQL, set the source type in the Copy
172
172
173
173
### Azure Database for PostgreSQL as sink
174
174
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:
176
176
177
177
| Property | Description | Required |
178
178
|:--- |:--- |:--- |
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 |
181
181
| 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) |
182
182
| 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) |
183
183
@@ -219,4 +219,4 @@ To copy data to Azure Database for PostgreSQL, the following properties are supp
219
219
For more information about the properties, see [Lookup activity in Azure Data Factory](control-flow-lookup-activity.md).
220
220
221
221
## 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