I updated Compute Postgres to burstable B2S and still having only 50 max connections.

Audrius 0 Reputation points
2023-06-07T12:14:22.2633333+00:00

Hi,

I'm using Azure Functions with Prisma ORM as a backend for REST API . There is a problem that it creates too many connections because every function creates separate connection to Postgres DB. So, I upgraded my plan to B2S so I can get 100 connections according Microsoft documentation but I still getting only 50.

Azure Database for PostgreSQL
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,542 Reputation points Microsoft Employee Moderator
    2023-06-07T13:58:53.76+00:00

    Hi @Audrius Welcome to the Microsoft Q&A forum, Thanks for posting your question.

    It's possible that the maximum number of connections is not being updated after you upgraded your plan. Have you tried restarting the Azure Postgres server to see if the new maximum connection limit is applied?

    Can you share the result for this SHOW max_connections;

    you can also change the max_connection from server parameters as shown below

    User's image

    Regards

    Geetha

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.