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/dms/known-issues-azure-postgresql-online.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,9 @@ Known issues and limitations associated with online migrations from PostgreSQL t
76
76
77
77
## Datatype limitations
78
78
79
-
- **Limitation**: If there's no primary key on tables, changes may not be synced to the target database.
79
+
**Limitation**: If there's no primary key on tables, changes may not be synced to the target database.
80
80
81
-
**Workaround**: Temporarily set a primary key for the table for migration to continue. You can remove the primary key after data migration is complete.
81
+
**Workaround**: Temporarily set a primary key for the table for migration to continue. You can remove the primary key after data migration is complete.
82
82
83
83
## Limitations when migrating online from AWS RDS PostgreSQL
84
84
@@ -92,11 +92,13 @@ When you try to perform an online migration from AWS RDS PostgreSQL to Azure Dat
92
92
- **Error**: Target database '{database}' has '{number of tables}' tables where as source database '{database}' has '{number of tables}' tables. The number of tables on source and target databases should match.
93
93
94
94
**Limitation**: This error occurs when the number of tables is different between the source and target databases.
95
+
95
96
**Workaround**: Ensure that the schema on the target matches schema on the source. For detail on migrating schema, refer to the [Azure PostgreSQL online migration documentation](https://docs.microsoft.com/azure/dms/tutorial-postgresql-azure-postgresql-online#migrate-the-sample-schema).
96
97
97
98
- **Error:** The source database {database} is empty.
98
99
99
100
**Limitation**: This error occurs when the source database is empty. It is most likely because you have selected the wrong database as source.
101
+
100
102
**Workaround**: Double-check the source database you selected for migration, and then try again.
101
103
102
104
- **Error:** The target database {database} is empty. Please migrate the schema.
Copy file name to clipboardExpand all lines: articles/dms/tutorial-postgresql-azure-postgresql-online-portal.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,22 +198,18 @@ After the service is created, locate it within the Azure portal, open it, and th
198
198
199
199

200
200
201
-
2. On the **Azure Database Migration Services** screen, search for the name of Azure Database Migration Service instance that you created, and then select the instance.
201
+
2. On the **Azure Database Migration Services** screen, search for the name of Azure Database Migration Service instance that you created, select the instance, and then select + **New Migration Project**.
202
202
203
-

203
+
3. On the **New migration project** screen, specify a name for the project, in the **Source server type** text box, select **PostgresSQL**, in the **Target server type** text box, select **Azure Database for PostgreSQL**.
204
204
205
-
3. Select + **New Migration Project**.
206
-
207
-
4. On the **New migration project** screen, specify a name for the project, in the **Source server type** text box, select **PostgresSQL**, in the **Target server type** text box, select **Azure Database for PostgreSQL**.
208
-
209
-
5. In the **Choose type of activity** section, select **Online data migration**.
205
+
4. In the **Choose type of activity** section, select **Online data migration**.
210
206
211
207

212
208
213
209
> [!NOTE]
214
210
> Alternately, you can choose **Create project only** to create the migration project now and execute the migration later.
215
211
216
-
6. Select **Save**, note the requirements to successfully use Azure Database Migration Service to migrate data, and then select **Create and run activity**.
212
+
5. Select **Save**, note the requirements to successfully use Azure Database Migration Service to migrate data, and then select **Create and run activity**.
Copy file name to clipboardExpand all lines: articles/dms/tutorial-rds-postgresql-server-azure-db-for-postgresql-online.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
@@ -59,9 +59,13 @@ To complete this tutorial, you need to:
59
59
1. To create a new parameter group, follow the instructions provided by AWS in the article [Working with DB Parameter Groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html).
60
60
2. Use the master user name to connect to the source from Azure Database Migration Service. If you use an account other than the master user account, the account must have the rds_superuser role and the rds_replication role. The rds_replication role grants permissions to manage logical slots and to stream data using logical slots.
61
61
3. Create a new parameter group with the following configuration:
62
+
62
63
a. Set the rds.logical_replication parameter in your DB parameter group to 1.
64
+
63
65
b. max_wal_senders =[number of concurrent tasks] - The max_wal_senders parameter sets the number of concurrent tasks that can run, recommend 10 tasks.
66
+
64
67
c. max_replication_slots – = [number of slots], recommend set to five slots.
68
+
65
69
4. Associate the parameter group you created to the RDS PostgreSQL instance.
66
70
67
71
## Migrate the schema
@@ -183,13 +187,9 @@ After the service is created, locate it within the Azure portal, open it, and th
183
187
184
188

185
189
186
-
2. On the **Azure Database Migration Services** screen, search for the name of the Azure Database Migration Service instance that you created, and then select the instance.
187
-
188
-

189
-
190
-
3. Select + **New Migration Project**.
191
-
4. On the **New migration project** screen, specify a name for the project, in the **Source server type** text box, select **AWS RDS for PostgreSQL**, and then in the **Target server type** text box, select **Azure Database for PostgreSQL**.
192
-
5. In the **Choose type of activity** section, select **Online data migration**.
190
+
2. On the **Azure Database Migration Services** screen, search for the name of the Azure Database Migration Service instance that you created, select the instance, and then select + **New Migration Project**.
191
+
3. On the **New migration project** screen, specify a name for the project, in the **Source server type** text box, select **AWS RDS for PostgreSQL**, and then in the **Target server type** text box, select **Azure Database for PostgreSQL**.
192
+
4. In the **Choose type of activity** section, select **Online data migration**.
193
193
194
194
> [!IMPORTANT]
195
195
> Be sure to select **Online data migration**; offline migrations are not supported for this scenario.
@@ -199,9 +199,9 @@ After the service is created, locate it within the Azure portal, open it, and th
199
199
> [!NOTE]
200
200
> Alternately, you can choose **Create project only** to create the migration project now and execute the migration later.
201
201
202
-
6. Select **Save**.
202
+
5. Select **Save**.
203
203
204
-
7. Select **Create and run activity** to create the project and run the migration activity.
204
+
6. Select **Create and run activity** to create the project and run the migration activity.
205
205
206
206
> [!NOTE]
207
207
> Please make a note of the pre-requisites needed to set up online migration in the project creation blade.
0 commit comments