Created on
09-04-2025
06:54 PM
- edited on
09-14-2025
11:29 PM
by
VidyaSargur
Azure PostgresDB is a PaaS hosted on Azure. Azure hosts PaaS services in an Azure backend subscription. The resources created in the customer’s subscription are actually descriptions and metadata of the actual compute resources in the Azure backend subscription.
When the Azure backend subscription reaches its capacity limit, Azure will create new resources in a new Azure backend subscription. However, existing PaaS resources will remain in the old Azure backend subscription. When a CDP user stops a CDP environment, the compute resources for the PostgresDB will be deallocated from the backend Azure subscription, and have to compete for compute resources when being restarted. Suppose it cannot get resources from the backend Azure subscription, as it is already out of capacity. In that case, it cannot be started, and consequently blocks the environment from being started.
The resolution provided by Microsoft is to back up and restore the database. The restored Postgres DB will allocate the compute resource from a new Azure backend subscription.
To keep the CDP environment working, the restored DB must have the same database name as the original database.
ONLY AFTER COMPLETION OF THIS STEP MOVE FORWARD (Verify successful backup!)
Repeat step 4 process for Datahub Postgres DB instances.
Repeat step 5 process for Datahub Postgres DB instances.
Between backups/restores, HA is turned off, so check for High Availability turned on. Certain Postgres DBs get assigned Zone Redundant, and others are assigned Same Zone so pay attention to original config.
Verify deployment completion:
Repeat step 6 process for Datahub Postgres DB instances.