Jump to content

Featured Replies

Posted

We are excited to announce the release of new features aimed at enhancing the troubleshooting experience in Azure PostgreSQL Flexible Server. These features provide detailed insights and metrics, enabling you to optimize your database performance effectively.

 

 

 

Here are the use cases where these features can be used:

 

[HEADING=1]Enhancements to autovacuum monitoring:[/HEADING]

 

 

 

One of the significant enhancements is the addition of table-level autovacuum details. This feature allows you to:

 

  • Monitor the number of times autovacuum ran.
  • Check the number of dead tuples cleaned or not removed.
  • Track the time taken to run the autovacuum.

 

largevv2px999.png.b9398cbae67415f77b05c9ca76471b77.pngAutovacuum per table

 

Furthermore, we now display the configuration of some important parameters which control autovacuum. We validate some of those parameters and warn you if we consider that the existing configuration might cause issues with the correct functioning of autovacuum. We have also added a new Enhanced metrics tab which displays the Maximum number of Transaction IDs in use and the Oldest backend XMin metrics to provide a comprehensive view of autovacuum health.

 

 

 

largevv2px999.png.d475a5ccc5128358ec38e05d12a61b82.pngAutovacuum configuration

 

 

 

largevv2px999.png.4853de53bac83a68fbb8b70491291c45.pngEnhance metrics

 

[HEADING=1]Enhancements to the CPU troubleshooting guide:[/HEADING]

 

To help you manage high CPU usage, we have introduced several new features:

 

  • Parameter check for excessive logging that might impact the CPU usage and overall server performance.
    largevv2px999.png.d715c0a4cd8ffd5a08ece11b1514d349.pngPotential excessive logging insight
  • New "Top queries by total duration" tab which displays Query Store queries with total time.
    largevv2px999.png.ee13ad023fcd67b3e2c77ed486d1854a.pngTop queries by total time
  • New insight card showing sessions whose state is idle and have an open transaction.
    largevv2px999.png.4387e9ede59f31485b95d5474ae7f6e9.pngIdle in transaction session insight
  • New tab to showcase PgBouncer metrics and best practices:
    largevv2px999.png.3489a53917d999482708ec4d7e32978d.pngPgBouncer metrics
     
     
    largevv2px999.png.da225c94597ae974901c32dcbaf8acac.pngPgBouncer recommendations
     
     
     
  • A new tab to display the locking information: In this section, you can get the overview of locks in your server.
    • You can get the count of sessions involved in Locks.
      largevv2px999.png.62d76ab06e329d278026ca77365852cc.pngLocking and blocking
       
       
      largevv2px999.png.b74c937ffe5f9620bf05fd32ac922852.pngSessions count with lock wait event
    • You can monitor the acquired locks duration during the specified time.
      largevv2px999.png.ee32d3d8e3b4beb57a490263e8176446.pngDuration of acquired locks

    [*]You can also get insights on blocking session where sessions are still waiting for lock acquisition.

    largevv2px999.png.6e050d8599b87b9eb2f71a7568f453ac.pngBlocking information

[HEADING=1]Enhancements to the memory troubleshooting guide:[/HEADING]

 

For troubleshooting high memory usage, we have added validation for memory parameters where it can show you an insight when you change these parameters higher than defaults.

 

largevv2px999.png.b554f0efc4197eb090c3c5e2fe281582.pngMemory parameter check insight

 

We have also introduced an insight for long (>24hrs) idle sessions that might consume server resources.

 

largevv2px999.png.6d39e4f98c347c12ded975fb6159fa78.pngLong idle session insight

 

We believe these new features will significantly enhance your ability to troubleshoot and optimize your Azure PostgreSQL Flexible Server. We look forward to your feedback!

 

 

 

[HEADING=2]Getting started:[/HEADING]

 

To learn more about the troubleshooting guides, visit our documentation below:

 

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...