Re: Performance for SQL queries on Azure PostgreSQL PaaS instance

From: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
To: Frits Jalvingh <jal(at)etc(dot)to>, "Kumar, Mukesh" <mkumar(at)peabodyenergy(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>, MUKESH KUMAR <mukesh(dot)kumar14(at)tcs(dot)com>
Subject: Re: Performance for SQL queries on Azure PostgreSQL PaaS instance
Date: 2022-04-12 15:06:38
Message-ID: 461e3601-24f1-d8e8-da5d-3e5de1ae45c1@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 4/12/22 16:23, Frits Jalvingh wrote:
> You might be comparing apples and pears..
>
> Your Oracle is running on prem while Postgres is running on Azure. Azure
> does not really have disks; it seems to have just a bunch of old people
> writing the data on paper - I/O on Azure is ridiculously slow. What
> disks/hardware does the on-prem Oracle have?
>

Right. It'd be good to do some basic system benchmarks first, e.g. using
"fio" or similar tools, before comparing query timings. It's quite
possible this is due to Azure storage being slower than physical drives
in the on-premise system.

If that does not explain this, I suggest picking a single query and
focus on it, instead of investigating all queries at once. There's a
nice wiki page explaining what info to provide:

https://wiki.postgresql.org/wiki/Slow_Query_Questions

regards

--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Laurenz Albe 2022-04-13 08:34:24 Re: Performance for SQL queries on Azure PostgreSQL PaaS instance
Previous Message Frits Jalvingh 2022-04-12 14:23:02 Re: Performance for SQL queries on Azure PostgreSQL PaaS instance