We recently our migrated our application from VM and in-memory Database to AKS and Azure Postgres flexible server. After the migrations, we feel DB is not stable and when monitoring the CPU utilisation it was going 90% sometimes and Django…
We use Azure Database for PostgreSQL flexible servers. My requirement is creating admin user that should be able to anything (DDL/Alter etc.) with any table in any schema throughout the database, irrespective of which user has created that table,…
we run several Azure Postgres Single Servers with VNET integration through Private Endpoint Connections. The Private DNS Zone used is privatelink.postgres.database.azure.com.
Now we want to setup an new Azure Postgres Flexible Server with VNET…
Using Sqlalchemy 1.14 + Fastapi (asyncpg), in project
Trying to connect to azure poetgre db via azure identity access token.
But the access token expires every 90 minutes or so(and that's the limit of access token). So afterwards, the connection…
How to use pg_repack extension on Azure PostgreSQL?
Here is the link of with the PostgreSQL extension and while there is documentation for some of them, the documentation for pg_repack is missing. It is pointing to official documentation here but I…
Pg_stats_actvity is used in pgadmin 4 but it give only current queries.
And also checked on azure portal for logs in server logs there can't see the logs for queries.
If anyone know help on this it is azure postgresql server.
Need Queries for one…
I have an Azure Postgres instance, and I am trying to connect to it using node-postgres (pg) module but getting Self signed certificate in certificate chain error.
I am able to connect using psql with sslmode=require param
Below is my code…
I have a PostgreSQL database deployed on Azure using Azure Database for PostgreSQL flexible server.
I have the same database created locally and queries that takes 70ms locally, takes 800ms on the database deployed on Azure.
The latency happens if I…
I provisioned the resources accordingly to the documentation.
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-networking
I did the provisioning using BICEP.
The name of the server is my-dev-db and I created a DNS private…
I've been working with Microsoft.DBforPostgreSQL/servers resource and Azure Bicep specifically using this reference. I am missing parameter to set my database accessable from Azure resouces (see the picture attached).
I thought publicNetworkAccess:…
we migrated to the postgres flex server recently. We've got the problem that some of us could not connect to the DB, altough we set the correct ip for them within our firewall rules.
So for further investigating we want to look into the server logs…
I have created the Azure Postgre SQL server and DB using terraform.
Now I need to deploy the table and fields(schema).
Can this be done through terraform or we need different set of tools? eg: Azure CLI to deploy the tables?
I am looking for similar…
I'm writing an Azure policy for activating logs and diagnostic setting for postgresql Flexible server. However it doesn't get applied and I see this message:
Reason for non-compliance
No related resources match the effect details in the policy…
I am trying to connect Azure Postgres DB from Python using psycopg2 library but getting below error. Could someone help on this.
Error: psycopg2.OperationalError: connection to server at "xxx.postgres.database.azure.com" (xx.xx.xxx.xxx), port 5432…