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/tutorial-azure-postgresql-to-azure-postgresql-online-portal.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ ms.topic: tutorial
14
14
ms.date: 07/21/2020
15
15
---
16
16
17
-
# Tutorial: Migrate Azure DB for PostgreSQL - Single Server to Azure DB for PostgreSQL - Single Server or Hyperscale (Citus) online using DMS via the Azure portal
17
+
# Tutorial: Migrate Azure DB for PostgreSQL - Single Server to Azure DB for PostgreSQL - Single Server online using DMS via the Azure portal
18
18
19
-
You can use Azure Database Migration Service to migrate the databases from an [Azure Database for PostgreSQL - Single Server](https://docs.microsoft.com/azure/postgresql/overview#azure-database-for-postgresql---single-server) instance to a [Hyperscale (Citus) on Azure Database for PostgreSQL](https://docs.microsoft.com/azure/postgresql/overview#azure-database-for-postgresql---hyperscale-citus) instance with minimal downtime. In this tutorial, you migrate the **DVD Rental** sample database from an Azure Database for PostgreSQL v10 to Hyperscale (Citus) on Azure Database for PostgreSQL by using the online migration activity in Azure Database Migration Service.
19
+
You can use Azure Database Migration Service to migrate the databases from an [Azure Database for PostgreSQL - Single Server](https://docs.microsoft.com/azure/postgresql/overview#azure-database-for-postgresql---single-server) instance to another [Azure Database for PostgreSQL - Single Server](https://docs.microsoft.com/azure/postgresql/overview#azure-database-for-postgresql---single-server) instance with minimal downtime. In this tutorial, you migrate the **DVD Rental** sample database from an Azure Database for PostgreSQL v10 to Azure Database for PostgreSQL - Single Server by using the online migration activity in Azure Database Migration Service.
20
20
21
21
In this tutorial, you learn how to:
22
22
> [!div class="checklist"]
@@ -52,9 +52,10 @@ To complete this tutorial, you need to:
52
52
* Ensure that the Network Security Group (NSG) rules for your virtual network don't block the following inbound communication ports to Azure Database Migration Service: 443, 53, 9354, 445, 12000. For more detail on virtual network NSG traffic filtering, see the article [Filter network traffic with network security groups](https://docs.microsoft.com/azure/virtual-network/virtual-network-vnet-plan-design-arm).
53
53
* Create a server-level [firewall rule](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure) for Azure Database for PostgreSQL source to allow Azure Database Migration Service to access to the source databases. Provide the subnet range of the virtual network used for Azure Database Migration Service.
54
54
* Create a server-level [firewall rule](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure) for Azure Database for PostgreSQL target to allow Azure Database Migration Service to access to the target databases. Provide the subnet range of the virtual network used for Azure Database Migration Service.
55
+
*[Enable logical replication](https://docs.microsoft.com/azure/postgresql/concepts-logical) in the Azure DB for PostgreSQL source.
55
56
* Set the following Server parameters in the Azure Database for PostgreSQL instance being used as a source:
56
57
57
-
* max_replication_slots = [number of slots], recommend setting to **five slots**
58
+
* max_replication_slots = [number of slots], recommend setting to **ten slots**
58
59
* max_wal_senders =[number of concurrent tasks] - The max_wal_senders parameter sets the number of concurrent tasks that can run, recommend setting to **10 tasks**
59
60
60
61
> [!NOTE]
@@ -279,7 +280,7 @@ After the initial Full load is completed, the databases are marked **Ready to cu
3. When the database migration status shows **Completed**, connect your applications to the new target instance of Azure Database for PostgreSQL.
283
+
3. When the database migration status shows **Completed**, [recreate sequences](https://wiki.postgresql.org/wiki/Fixing_Sequences) (if applicable), and connect your applications to the new target instance of Azure Database for PostgreSQL.
3. When the database migration status shows **Completed**, connect your applications to the new target instance of Azure Database for PostgreSQL.
279
+
3. When the database migration status shows **Completed**, [recreate sequences](https://wiki.postgresql.org/wiki/Fixing_Sequences) (if applicable), and connect your applications to the new target instance of Azure Database for PostgreSQL.
Copy file name to clipboardExpand all lines: articles/dms/tutorial-postgresql-azure-postgresql-online.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -368,8 +368,6 @@ To complete all the database objects like table schemas, indexes and stored proc
368
368
az dms project task show --service-name PostgresCLI --project-name PGMigration --resource-group PostgresDemo --name Runnowtask --expand output --query 'properties.output[].migrationState | [0]' "READY_TO_COMPLETE"
369
369
```
370
370
371
-
## Understanding migration task status
372
-
373
371
In the output file, there are several parameters that indicate progress of migration. For example, see the output file below:
374
372
375
373
```output
@@ -482,6 +480,7 @@ To ensure all data is caught up, validate row counts between the source and targ
482
480
```azurecli
483
481
az dms project task show --service-name PostgresCLI --project-name PGMigration --resource-group PostgresDemo --name Runnowtask
484
482
```
483
+
3. When the database migration status shows **Completed**, [recreate sequences](https://wiki.postgresql.org/wiki/Fixing_Sequences) (if applicable), and connect your applications to the new target instance of Azure Database for PostgreSQL.
0 commit comments