Skip to content

Commit 2dd8967

Browse files
Merge pull request #281080 from hariramt/task/MigrationdocUpdate-17thJuly2024
Added section for azure.enable_temp_tablespaces_on_local_ssd If serve…
2 parents 9c8279f + d7a68a6 commit 2dd8967

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

articles/postgresql/migrate/migration-service/includes/aws/prerequisites-migration-service-postgresql-online-aws.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ If the source PostgreSQL version is less than 9.5, upgrade it to 9.5 or higher b
4747
- Set `max_wal_senders` to a value greater than one. It should be at least the same as `max_replication_slots`, plus the number of senders already used on your instance.
4848
- The `wal_sender_timeout` parameter ends inactive replication connections longer than the specified number of milliseconds. The default for an AWS RDS for PostgreSQL instance is `30000 milliseconds (30 seconds)`. Setting the value to 0 (zero) disables the timeout mechanism and is a valid setting for migration.
4949

50+
- In the target Flexible Server, to prevent the Online migration from running out of storage to store the logs, ensure that you have sufficient tablespace space using a provisioned managed disk. To achieve this, disable the server parameter `azure.enable_temp_tablespaces_on_local_ssd` for the duration of the migration, and restore it to the original state after the migration.
51+
52+
5053
### Configure network setup
5154

5255
Network setup is crucial for the migration service to function correctly. Ensure that the source PostgreSQL server can communicate with the target Azure Database for PostgreSQL server. The following network configurations are essential for a successful migration.

articles/postgresql/migrate/migration-service/includes/iaas/prerequisites-migration-service-postgresql-online-iaas.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ If the source PostgreSQL version is less than 9.5, upgrade it to 9.5 or higher b
4747
- `Set max_wal_senders` to a value greater than 1, should be set to at least the same as max_replication_slots, plus the number of senders already used by your instance.
4848
- The `wal_sender_timeout` parameter ends replication connections that are inactive longer than the specified number of milliseconds. The default for an on-premises PostgreSQL database is 60000 milliseconds (60 seconds). Setting the value to 0 (zero) disables the timeout mechanism and is a valid setting for migration.
4949

50+
To prevent the Online migration from running out of space, ensure that you have sufficient tablespace space using a provisioned managed disk. To achieve this, disable the server parameter `azure.enable_temp_tablespaces_on_local_ssd` on the Flexible Server for the duration of the migration, and restore it to the original state after the migration.
51+
5052
### Configure network setup
5153

5254
Network setup is crucial for the migration service to function correctly. Ensure that the source PostgreSQL server can communicate with the target Azure Database for PostgreSQL server. The following network configurations are essential for a successful migration.

articles/postgresql/migrate/migration-service/includes/prerequisites/prerequisites-migration-service-postgresql-online-single-server.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Ensure that there are no **long running transactions**. Long running transaction
3030
> [!NOTE]
3131
> For online migration with Azure Database for PostgreSQL single server, the Azure replication support is set to logical under the replication settings of the single server page in the Azure portal.
3232
33+
To prevent the Online migration from running out of storage to store the logs, ensure that you have sufficient tablespace space using a provisioned managed disk. To achieve this, disable the server parameter `azure.enable_temp_tablespaces_on_local_ssd` on the Flexible Server for the duration of the migration, and restore it to the original state after the migration.
34+
3335
### Set up target
3436

3537
- Azure Database for PostgreSQL must be set up in Azure before migration.

0 commit comments

Comments
 (0)