Skip to content

Commit 1e445d4

Browse files
committed
pg tweaks
1 parent 1b3dce6 commit 1e445d4

File tree

7 files changed

+19
-21
lines changed

7 files changed

+19
-21
lines changed

articles/dms/known-issues-azure-postgresql-online.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Known issues and limitations associated with online migrations from PostgreSQL t
7676
7777
## Datatype limitations
7878
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.
8080
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.
8282
8383
## Limitations when migrating online from AWS RDS PostgreSQL
8484
@@ -92,11 +92,13 @@ When you try to perform an online migration from AWS RDS PostgreSQL to Azure Dat
9292
- **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.
9393
9494
**Limitation**: This error occurs when the number of tables is different between the source and target databases.
95+
9596
**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).
9697
9798
- **Error:** The source database {database} is empty.
9899
99100
**Limitation**: This error occurs when the source database is empty. It is most likely because you have selected the wrong database as source.
101+
100102
**Workaround**: Double-check the source database you selected for migration, and then try again.
101103
102104
- **Error:** The target database {database} is empty. Please migrate the schema.
543 Bytes
Loading

articles/dms/tutorial-postgresql-azure-postgresql-online-portal.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,22 +198,18 @@ After the service is created, locate it within the Azure portal, open it, and th
198198
199199
![Locate all instances of Azure Database Migration Service](media/tutorial-postgresql-to-azure-postgresql-online-portal/dms-search.png)
200200
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**.
202202
203-
![Locate your instance of Azure Database Migration Service](media/tutorial-postgresql-to-azure-postgresql-online-portal/dms-instance-search.png)
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**.
204204
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**.
210206
211207
![Create Azure Database Migration Service project](media/tutorial-postgresql-to-azure-postgresql-online-portal/dms-create-project.png)
212208
213209
> [!NOTE]
214210
> Alternately, you can choose **Create project only** to create the migration project now and execute the migration later.
215211
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**.
217213
218214
## Specify source details
219215

articles/dms/tutorial-postgresql-azure-postgresql-online.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ To complete all the database objects like table schemas, indexes and stored proc
372372
373373
In the output file, there are several parameters that indicate progress of migration. For example, see the output file below:
374374
375-
```
375+
```
376376
"output": [ Database Level
377377
{
378378
"appliedChanges": 0, //Total incremental sync applied after full load
@@ -447,7 +447,7 @@ In the output file, there are several parameters that indicate progress of migra
447447
},
448448
"resourceGroup": "PostgresDemo",
449449
"type": "Microsoft.DataMigration/services/projects/tasks"
450-
```
450+
```
451451
452452
## Cutover migration task
453453

articles/dms/tutorial-rds-postgresql-server-azure-db-for-postgresql-online.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ To complete this tutorial, you need to:
5959
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).
6060
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.
6161
3. Create a new parameter group with the following configuration:
62+
6263
a. Set the rds.logical_replication parameter in your DB parameter group to 1.
64+
6365
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+
6467
c. max_replication_slots – = [number of slots], recommend set to five slots.
68+
6569
4. Associate the parameter group you created to the RDS PostgreSQL instance.
6670

6771
## Migrate the schema
@@ -183,13 +187,9 @@ After the service is created, locate it within the Azure portal, open it, and th
183187
184188
![Locate all instances of the Azure Database Migration Service](media/tutorial-rds-postgresql-server-azure-db-for-postgresql-online/dms-search.png)
185189
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-
![Locate your instance of the Azure Database Migration Service](media/tutorial-rds-postgresql-server-azure-db-for-postgresql-online/dms-instance-search.png)
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**.
193193
194194
> [!IMPORTANT]
195195
> 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
199199
> [!NOTE]
200200
> Alternately, you can choose **Create project only** to create the migration project now and execute the migration later.
201201
202-
6. Select **Save**.
202+
5. Select **Save**.
203203
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.
205205
206206
> [!NOTE]
207207
> Please make a note of the pre-requisites needed to set up online migration in the project creation blade.

0 commit comments

Comments
 (0)