Skip to content

Commit 43da101

Browse files
committed
pg_upgarde_logs
1 parent 26cadc4 commit 43da101

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

articles/postgresql/flexible-server/concepts-major-version-upgrade.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about the concepts of in-place major version upgrade with Azu
44
author: kabharati
55
ms.author: kabharati
66
ms.reviewer: rajsell
7-
ms.date: 01/16/2024
7+
ms.date: 03/18/2024
88
ms.service: postgresql
99
ms.subservice: flexible-server
1010
ms.custom: references_regions
@@ -46,6 +46,19 @@ Here are some of the important considerations with in-place major version upgrad
4646

4747
- Once the in-place major version upgrade is successful, there are no automated ways to revert to the earlier version. However, you can perform a Point-In-Time Recovery (PITR) to a time prior to the upgrade to restore the previous version of the database instance.
4848

49+
## Major Version Upgrade Logs
50+
51+
Major Version Upgrade Logs (PG_Upgrade_Logs) provides direct access to detailed logs through the [Server Logs](./how-to-server-logs-portal.md). Here’s how to integrate `PG_Upgrade_Logs` into your upgrade process, ensuring a smoother and more transparent transition to new PostgreSQL versions.
52+
53+
#### Setting Up PostgreSQL Version Upgrade Logs
54+
1. **Access via Azure Portal or CLI**: To start utilizing the PG_Upgrade_Logs feature, you can configure and access the logs either through the Azure Portal or by using the [Command Line Interface (CLI)](./how-to-server-logs-cli.md). This flexibility allows you to choose the method that best fits your workflow.
55+
2. **Server Logs UI**: Once set up, the upgrade logs will be accessible through the Server Logs UI, where you can monitor the progress and details of your PostgreSQL major version upgrades in real time. This provides a centralized location for viewing logs, making it easier to track and troubleshoot the upgrade process.
56+
57+
#### Utilizing Upgrade Logs for Troubleshooting
58+
59+
- **Insightful Diagnostics**: The PG_Upgrade_Logs feature provides valuable insights into the upgrade process, capturing detailed information about the operations performed and highlighting any errors or warnings that occur. This level of detail is instrumental in diagnosing and resolving issues that may arise during the upgrade, ensuring a smoother transition.
60+
- **Streamlined Troubleshooting**: With direct access to these logs, you can quickly identify and address potential upgrade obstacles, reducing downtime and minimizing the impact on your operations. The logs serve as a crucial tool in your troubleshooting arsenal, enabling more efficient and effective problem resolution.
61+
4962
## Limitations
5063

5164
If in-place major version upgrade pre-check operations fail, then the upgrade aborts with a detailed error message for all the below limitations.

0 commit comments

Comments
 (0)