I'm trying to create a postgresql database on azure with azure-cli. I set my default location with az configure --defaults location=WestEurope, then I created a resourcegroup, a vnet and a subnet. Now I want to create a flexible server for…
I have an Azure PostgreSQL (version 12) flexible server that has been running at 100% CPU utilization for the last 4 days and the server is currently using 70% of the storage. The Compute core is Standard B1ms (1 vCPU and 2GB Memory)
I have checked…
I am trying to fetch a decent amount of data in Azure ML from a postgresql DB. When I limit the amount of data returned (e.g. LIMIT 100 000) the query executes as expected. However when I remove this limit (and fetch the complete 2 000 000 rows),…
I currently have an Azure PostgreSQL server which I would like to permanently delete.
For obvious reasons I would like to make a snapshot/soft delete before turning off and deleting. What is the simplest way to accomplish this? I know there is a…
I had a Postgresql DB on a Virtual Machine and I have used below line of code is several functions.
PERFORM dblink_connect('dbname=db_name user=postgres')
Now I am migrating to Azure Postgresql, After several days of process, I have moved the entire…
I have disabled the public connection for my azure postgresql database and created the private endpoint connection, I pointed my relevant vnet and subnet while private endpoint creation. Private endpoint connection configuration for successful and…
I have set up a small query that uses a DO block to dynamically edit multiple tables.
DO
$$
DECLARE
_table varchar[];
loop_item text;
BEGIN
SELECT array_agg(table_name::TEXT) FROM information_schema.tables
INTO _table
WHERE…
Can someone pls help me to automate build and release pipelines in Azure DevOps for Azure DB for PostgreSQL database (Single Server) so that I can create a Database and run different scripts in that database for creating/altering tables, functions,…
We deleted the old data around 300GB from a table.i can see the auto vacuum performing on base table but not on toast table.due to this db size is growing rapidly. I am using the Azure PostgreSQL service.
In the base/parent table dead tuples are…
postgres@name-prod-psql-197fb74f68-9psrh:/$ psql "host=name-prod.postgres.database.azure.com port=5432 dbname=prod user=user password=XXX"
psql: error: could not connect to server: Connection timed out
Is the server running on host…
I'm using Azure Postgress DB to store around 150 mil records. Specs of the DB are: 160GB storage and around 4GB RAM. The Dataset is around 80GB when loaded into the DB. The data set will not going to grow but will remain around 80 - 85 GB.
Here's…
Am stuck, trying to integrate azure postgres with corda. I'm using gradle's deployNodes task to create the network locally.
Below is the exception that I get.
[ERROR] 2021-09-06T06:53:02,290Z [main] internal.NodeStartupLogging. - Exception during…
I'm following this tutorial: https://learn.microsoft.com/en-us/azure/postgresql/howto-migrate-using-export-and-import
I've successfully created a script file using pg_dump. I ran this on my command line:
pg_dump –-host=local --username=postgres…
Azure have brought out azure flexible postgres which allows read replicas to a different az but we need a read/write solution. Does anybody know of any way to set up read/write replicas in postgres even with a 3rd party solution?
Thanks
Brian
I have an Azure database server which I need to obtain the connection string for by way of command line. However, it is telling me that the "az postgres server show-connection-string" is not right, that "show-connection-string" is not recognized. …