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-mysql.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,8 +190,7 @@ To copy data to Azure Database for MySQL, the following properties are supported
190
190
| type | The type property of the copy activity sink must be set to: **AzureMySqlSink**| Yes |
191
191
| preCopyScript | Specify a SQL query for the copy activity to execute before writing data into Azure Database for MySQL in each run. You can use this property to clean up the preloaded data. | No |
192
192
| writeBatchSize | Inserts data into the Azure Database for MySQL table when the buffer size reaches writeBatchSize.<br>Allowed value is integer representing number of rows. | No (default is 10,000) |
193
-
| writeBatchTimeout | Wait time for the batch insert operation to complete before it times out.<br>
194
-
Allowed values are Timespan. An example is 00:30:00 (30 minutes). | No (default is 00:00:30) |
193
+
| writeBatchTimeout | Wait time for the batch insert operation to complete before it times out.<br>Allowed values are Timespan. An example is 00:30:00 (30 minutes). | No (default is 00:00:30) |
Copy file name to clipboardExpand all lines: articles/data-factory/connector-azure-database-for-postgresql.md
+52-5Lines changed: 52 additions & 5 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
-
title: Copy data from Azure Database for PostgreSQL using Azure Data Factory | Microsoft Docs
3
-
description: Learn how to copy data from Azure Database for PostgreSQL to supported sink data stores by using a copy activity in an Azure Data Factory pipeline.
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.
4
4
services: data-factory
5
5
documentationcenter: ''
6
6
author: linda33wj
@@ -12,22 +12,24 @@ ms.workload: data-services
12
12
ms.tgt_pltfrm: na
13
13
14
14
ms.topic: conceptual
15
-
ms.date: 02/01/2019
15
+
ms.date: 09/16/2019
16
16
ms.author: jingwang
17
17
18
18
---
19
-
# Copy data from Azure Database for PostgreSQL using Azure Data Factory
19
+
# Copy data to and from Azure Database for PostgreSQL using Azure Data Factory
20
20
21
21
This article outlines how to use the Copy Activity 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.
22
22
23
+
This connector is specialized for [Azure Database for PostgreSQL service](../postgresql/overview.md). To copy data from generic PostgreSQL database located on-premises or in the cloud, use [PostgreSQL connector](connector-postgresql.md).
24
+
23
25
## Supported capabilities
24
26
25
27
This Azure Database for PostgreSQL connector is supported for the following activities:
26
28
27
29
-[Copy activity](copy-activity-overview.md) with [supported source matrix](copy-activity-overview.md)
You can copy data from Azure Database for PostgreSQL to any supported sink data store. For a list of data stores that are supported as sources/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/sinks by the copy activity, see the [Supported data stores](copy-activity-overview.md#supported-data-stores-and-formats) table.
31
33
32
34
Azure Data Factory provides a built-in driver to enable connectivity, therefore you don't need to manually install any driver using this connector.
33
35
@@ -167,6 +169,51 @@ To copy data from Azure Database for PostgreSQL, set the source type in the copy
167
169
}
168
170
]
169
171
```
172
+
173
+
### Azure Database for PostgreSQL as sink
174
+
175
+
To copy data to Azure Database for PostgreSQL, the following properties are supported in the copy activity **sink** section:
176
+
177
+
| Property | Description | Required |
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 writing data into Azure Database for PostgreSQL in each run. You can use this property to clean up the preloaded data. | No |
181
+
| writeBatchSize | Inserts data into the Azure Database for PostgreSQL table when the buffer size reaches writeBatchSize.<br>Allowed value is integer representing number of rows. | No (default is 10,000) |
182
+
| writeBatchTimeout | Wait time for the batch insert operation to complete before it times out.<br>Allowed values are Timespan. An example is 00:30:00 (30 minutes). | No (default is 00:00:30) |
0 commit comments