Azure Django PostgreSQL deploy: Database migration does not work as it should
I am trying to deploy my Django App on Azure with python runtime 3.8 and a PostgreSQL database. I followed the tutorial on microsoft learn (using the web + database experience) , and have structured my app similar to the example.Including a migration of…
How to Link A Reserved Postgres DB To A Newly Created Postgres Db
Hi, I have reserved a postgres db single server on azure. I wont to use this reserve instance to launch a new postgres DB but can't see my way around it. Any help will be really appreciated. Thanks.
Postmaster has commanded server process to rollback the current statement and exit in repica server created by PgLogical
Team, I am Facing below mentioned error in Postgresql flexible server when two subscriptions are created. WARNING: 57P02: terminating connection because of crash of another server process","detail": "The postmaster has…
Azure migration of DDL and DML from MySQL to PostgresSQl instance
Hi, I would like to know if Azure has an easy way to migrate the data and the database structure from MySQl to PostgresSQL.
How to overcome unavailablity of replication slots in HA standby in Postgres Flexible server
As Per our client recommendation, we need to have read replica in our db architecture. We are using Postgres Flexible server in HA setup. For creating read replica, we have done POC on logical replication using pg_logical . As there is limitation of…
Outdated linux alpine image used in /azure-oss-db-tools/pgbouncer-sidecar:latest docker image
Hi team, I am using this docker image - mcr.microsoft.com/azure-oss-db-tools/pgbouncer-sidecar:latest (https://hub.docker.com/_/microsoft-azure-oss-db-tools-pgbouncer-sidecar) I am using this image in pgbouncer-sidecar-container for the…
Regarding ZRS redundancy of Backup Storage for Azure Database for PostgreSQL (Flexible Server), is a replica created for ZRS? [2210170060000616]
Hello Team, Regarding back up costs for Azure Database for PostgreSQL (Flexible Server). When setting the availability of the Backup to GRS, the Storage cost becomes double that of LRS. In the pricing page of flexible server:…
Application timesout after around 10 mins but runs perfectly locally./
Python FastAPI app, that uses SQLAlchemy for connecting to a PostgreSQL DB. The app spins up, but after less than 10min it is not reachable anymore. (1) /health -> health check that does a “SELECT 1;" on the database to see if Postgres…
Permission denied for schema cron
Hi there! I am trying to configure the pg_cron extension on our postgresql 13 flexible server, however, I've been stuck for a while now trying to figure out how I am suppose to do anything with the cron schema. I've added pg_cron to the…
Purview access postgresql Error: (3912) Connector Exception
I try to scan a Azure Postgresql database in Azure purview but receive this message: "Error: (3912) Connector Exception: Unable to access the with the given credentials." The Purview account have the get and list in secret permission. …
How to fetch flexible server(providers/Microsoft.DBforPostgreSQL/flexibleServers/) configurations in java?
I have a requirement to fetch/update(through java SDK) flexible server configurations for which rest APIs are already available. But, only server options are available from java SDK. And I was getting a 404 error every time I try to get configurations…
Data encryption keys managment
Hi all, I'm trying to understand if with flexible postgreSQL Database, volume encryption can be configured in a way in which keys are managed by me and not by the system, using a key vault or something similar... I've found that encryption (similar…
Azure Postgresql stuck in restart state for long time
Hello, Our Azure Postgresql usage was stuck at 100% unexpectedly. I restarted it to resolve this but it is still in restarting state after an hour. What can be done to bring it online? Thanks.
I recently created a VPS from South Africa North region but currently it's not available
I recently created a VPS from South Africa North region but currently it's not available
Permission denied for sequence jobid_seq when trying to do a pg_dump
Hi! I am trying to perform a backup of my database in Azure Database for PostgreSQL flexible server into my machine. I have tried using pg_dump and also doing a backup through the pgAdmin client, however, in both cases I get the same error: …
How to create role in citus DB using bicep + pipeline
Hello, I have created a Citus database via pipeline + bicep file. At this point I would like to automate the creation of roles in this database. Maybe with an inLinescript of sorts. So far, all the lead I found points to this link…
Alter system function to immutable in Azure PostgreSQL - Flexible Server (PostgreSQL 14)
I am trying to create below index in Azure PostgreSQL Flexible Server (PostgreSQL version 14) with admin user CREATE INDEX index_name ON table_name USING btree (to_char(columnname, 'YYYYMM'::text)); NOTE - Column data type in table is…
Backup Vault for PostgreSQL Flexible Server
Hi, PostgreSQL Flexible Server went GA on 01/12/2021. https://twitter.com/AzureDBPostgres/status/1465719405707292673 When will I be able to use azure Backup Vault for PostgreSQL Flexible Server ? …
Cannot Drop Azure Data Factory Temporary Staging Tables
I'm using ADF to copy data from on-prem Postgres to Azure Postgres. I'm copying to a temp table in Azure Postgres. From the temp table I then perform an Upsert using Azure Data Factory to then load the data into another Azure Postgres table for…
Upsert fail on second attempt
I'm trying to upsert all data from a temp table to a prod table using Azure Postgres. On the first attempt, the upsert from temp to prod worked but there was no data in the prod table, just a schema. On second attempt, when there is data in both temp and…