Hands-On Guide: Migrating and Tuning PostgreSQL on Azure Flexible Server
A developer completed Microsoft's Applied Skills assessment on Azure Database for PostgreSQL, documenting key configuration steps including Microsoft Entra ID authentication, private endpoint network isolation, and Log Analytics diagnostics. The adventureworks sample database was restored via pgAdmin, where a known B-tree index row size error occurred during pg_restore but did not prevent successful data and schema import. A read replica was deployed in Canada Central as a paired region to the primary server in Canada East, improving resiliency and offloading read traffic. Query performance was improved by using EXPLAIN plans to identify a sequential scan on a person address table, which was resolved by adding a targeted index rather than scaling up compute resources. The exercise highlights best practices including securing networks before migration and distinguishing non-fatal index errors from critical restore failures.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in