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/advisor/advisor-reference-performance-recommendations.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -455,61 +455,61 @@ Learn more about [Azure Database for PostgreSQL flexible server - Upscale Server
455
455
456
456
Our system shows that you have log_statement enabled, for better performance set it to NONE
457
457
458
-
Learn more about [Azure Database for PostgreSQL flexible server - Optimize log_statement settings for PostgreSQL on Azure Database](../postgresql/flexible-server/concepts-logging.md).
458
+
Learn more about [Azure Database for PostgreSQL flexible server - Optimize log_statement settings for PostgreSQL on Azure Database](/azure/postgresql/flexible-server/concepts-logging.md).
459
459
460
460
### Optimize log_duration settings for PostgreSQL on Azure Database
461
461
462
462
You may experience potential performance degradation due to logging settings. To optimize these settings, set the log_duration server parameter to OFF.
463
463
464
-
Learn more about [Learn more about Azure Database for PostgreSQL flexible server - Optimize log_duration settings for PostgreSQL on Azure Database](../postgresql/flexible-server/concepts-logging.md).
464
+
Learn more about [Learn more about Azure Database for PostgreSQL flexible server - Optimize log_duration settings for PostgreSQL on Azure Database](/azure/postgresql/flexible-server/concepts-logging.md).
465
465
466
466
### Optimize log_min_duration settings for PostgreSQL on Azure Database
467
467
468
468
Your log_min_duration server parameter is set to less than 60,000 ms (1 minute), which can lead to potential performance degradation. You can optimize logging settings by setting the log_min_duration_statement parameter to -1.
469
469
470
-
Learn more about [Azure Database for PostgreSQL flexible server - Optimize log_min_duration settings for PostgreSQL on Azure Database](../postgresql/flexible-server/concepts-logging.md).
470
+
Learn more about [Azure Database for PostgreSQL flexible server - Optimize log_min_duration settings for PostgreSQL on Azure Database](/azure/postgresql/flexible-server/concepts-logging.md).
471
471
472
472
### Optimize log_error_verbosity settings for PostgreSQL on Azure Database
473
473
474
474
Your server has been configured to output VERBOSE error logs. This can be useful for troubleshooting your database, but it can also result in reduced database performance. To improve performance, we recommend changing the log_error_verbosity server parameter to the DEFAULT setting.
475
475
476
-
Learn more about [Learn more about Azure Database for PostgreSQL flexible server - Optimize log_error_verbosity settings for PostgreSQL on Azure Database](../postgresql/flexible-server/concepts-logging.md).
476
+
Learn more about [Learn more about Azure Database for PostgreSQL flexible server - Optimize log_error_verbosity settings for PostgreSQL on Azure Database](/azure/postgresql/flexible-server/concepts-logging.md).
477
477
478
478
### Identify if checkpoints are happening too often to improve PostgreSQL - Flexible Server performance
479
479
480
480
Your sever is encountering checkpoints frequently. To resolve the issue, we recommend increasing your max_wal_size server parameter.
481
481
482
-
Learn more about [Azure Database for PostgreSQL flexible server – Increase max_wal_size](../postgresql/flexible-server/server-parameters-table-write-ahead-log---checkpoints?pivots=postgresql-16#max_wal_size).
482
+
Learn more about [Azure Database for PostgreSQL flexible server – Increase max_wal_size](/azure/postgresql/flexible-server/server-parameters-table-write-ahead-log---checkpoints?pivots=postgresql-16#max_wal_size).
483
483
484
484
### Identify inactive Logical Replication Slots to improve PostgreSQL - Flexible Server performance
485
485
486
486
Your server may have inactive logical replication slots which can result in degraded server performance and availability. We recommend deleting inactive replication slots or consuming the changes from the slots so the Log Sequence Number (LSN) advances to closer to the current LSN of the server.
487
487
488
-
Learn more about [Azure Database for PostgreSQL flexible server – Unused/inactive Logical Replication Slots](../postgresql/flexible-server/how-to-autovacuum-tuning#unused-replication-slots).
488
+
Learn more about [Azure Database for PostgreSQL flexible server – Unused/inactive Logical Replication Slots](/azure/postgresql/flexible-server/how-to-autovacuum-tuning#unused-replication-slots).
489
489
490
490
### Identify long-running transactions to improve PostgreSQL - Flexible Server performance
491
491
492
492
There are transactions running for more than 24 hours. Review the High CPU Usage-> Long Running Transactions section in the troubleshooting guides to identify and mitigate the issue.
493
493
494
-
Learn more about [Azure Database for PostgreSQL flexible server – Long Running transactions using Troubleshooting guides](../postgresql/flexible-server/how-to-troubleshooting-guides).
494
+
Learn more about [Azure Database for PostgreSQL flexible server – Long Running transactions using Troubleshooting guides](/azure/postgresql/flexible-server/how-to-troubleshooting-guides).
495
495
496
496
### Identify Orphaned Prepared transactions to improve PostgreSQL - Flexible Server performance
497
497
498
498
There are orphaned prepared transactions. Rollback/Commit the prepared transaction. The recommendations are shared in Autovacuum Blockers -> Autovacuum Blockers section in the troubleshooting guides.
499
499
500
-
Learn more about [Azure Database for PostgreSQL flexible server – Orphaned Prepared transactions using Troubleshooting guides](../postgresql/flexible-server/how-to-troubleshooting-guides).
500
+
Learn more about [Azure Database for PostgreSQL flexible server – Orphaned Prepared transactions using Troubleshooting guides](/azure/postgresql/flexible-server/how-to-troubleshooting-guides).
501
501
502
502
### Identify Transaction Wraparound to improve PostgreSQL - Flexible Server performance
503
503
504
504
The server has crossed the 50% wraparound limit, having 1 billion transactions. Refer to the recommendations shared in the Autovacuum Blockers -> Emergency AutoVacuum and Wraparound section of the troubleshooting guides.
505
505
506
-
Learn more about [Azure Database for PostgreSQL flexible server – Transaction Wraparound using Troubleshooting guides](../postgresql/flexible-server/how-to-troubleshooting-guides).
506
+
Learn more about [Azure Database for PostgreSQL flexible server – Transaction Wraparound using Troubleshooting guides](/azure/postgresql/flexible-server/how-to-troubleshooting-guides).
507
507
508
508
### Identify High Bloat Ratio to improve PostgreSQL - Flexible Server performance
509
509
510
510
The server has a bloat_ratio (dead tuples/ (live tuples + dead tuples) > 80%). Refer to the recommendations shared in the Autovacuum Monitoring section of the troubleshooting guides.
511
511
512
-
Learn more about [Azure Database for PostgreSQL flexible server – High Bloat Ratio using Troubleshooting guides](../postgresql/flexible-server/how-to-troubleshooting-guides).
512
+
Learn more about [Azure Database for PostgreSQL flexible server – High Bloat Ratio using Troubleshooting guides](/azure/postgresql/flexible-server/how-to-troubleshooting-guides).
513
513
514
514
### Increase the storage limit for Hyperscale (Citus) server group
515
515
@@ -521,7 +521,7 @@ Learn more about [Hyperscale (Citus) server group - MarlinStorageLimitRecommenda
521
521
522
522
Consider our new offering, Azure Database for PostgreSQL Flexible Server, which provides richer capabilities such as zone resilient HA, predictable performance, maximum control, custom maintenance window, cost optimization controls, and simplified developer experience.
523
523
524
-
Learn more about [Azure Database for PostgreSQL flexible server - OrcasPostgreSqlMeruMigration (Migrate your database from SSPG to FSPG)](../postgresql/how-to-upgrade-using-dump-and-restore.md).
524
+
Learn more about [Azure Database for PostgreSQL flexible server - OrcasPostgreSqlMeruMigration (Migrate your database from SSPG to FSPG)](/azure/postgresql/how-to-upgrade-using-dump-and-restore.md).
525
525
526
526
### Improve your Cache and application performance when running with high network bandwidth
0 commit comments