Description:
The PostgreSQL parameter connection_throttling enables throttling of excessive connection attempts and logs repeated failed connections coming from the same source. When enabled, PostgreSQL can detect “connection storms” or brute-force authentication patterns and throttle them to protect server stability. In Azure PostgreSQL (Single and Flexible Servers), this parameter is important for preventing misuse, monitoring abnormal behavior, and maintaining availability under load or malicious activity.
Rationale:
Helps detect and limit brute-force attacks or credential-stuffing attempts.
Prevents connection floods that may be caused by compromised applications or malicious users.
Adds visibility into repeated failed connection attempts.
Impact:
Enhanced protection against connection-based DoS attacks.
Reduced the risk of saturation of backend processes under heavy connection storms.
Improved audit visibility into repeated connection failures.
Stabilizes the database under malformed application behavior.
Default Value:
For Azure Database for PostgreSQL Flexible Server, the default for connection_throttling is typically OFF.
Pre-requisites:
Global Administrator or Security Administrator permissions.
Must be Azure Database for PostgreSQL – Flexible Server (or Single Server if the parameter is supported).
Test Plan:
Sign in to the Azure Portal at https://portal.azure.com
Search for and open the Azure Database for PostgreSQL Flexible Server
Select the target PostgreSQL server
From the left menu, under settings, select Server parameters
Search for the parameter connection_throttle.enable
Verify the parameter value is set to ON
If connection_throttle.enable is not set to ON, follow the implementation steps
Implementation Plan:
Log in to the Azure Portal.
Search for your Azure Database for PostgreSQL server (Single or Flexible).
On the left-hand menu, under the Settings section, select server parameters.
Search for connection_throttling. Change the value to ON.
Save the changes.
Backout Plan:
Sign in to the Azure Portal at https://portal.azure.com
Search for and open the PostgreSQL Flexible Server
From the left menu, select Server parameters
Search for the parameter connection_throttle.enable
Set the value to OFF
Click Save to apply the change
Reference:


