Re: Postgresql Upgrade from 10 to 14

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: thayanban thay <thayanban96(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgresql Upgrade from 10 to 14
Date: 2023-04-09 17:23:48
Message-ID: fd903432-74f7-43c6-469c-1e97f4f2ad34@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/8/23 18:03, thayanban thay wrote:
>   Hi Team,
>
> I need some help or suggestions for the below issue. Please provide
> answers what to do now. We re in critical position to handle the issue.
>
> Issue: We upgraded postgresql from 10 to 14 version, post to the upgrade
> , queries are running very slower than normal expected time. As well as
> the queries are not getting completed . We did vacuum analyze, index
> recreation and analyze statements etc but no luck still the job queries
> are running slower like 10hrs , 14hrs . So please help what we need to
> do to fix the issue.-
>
> Actually we have spark scala application that will use JDBC driver to
> make connection to the postgresql and then execute the queries. Before
> upgrade the same application used to complete in very lesser time like
> 10mts but now its taking 14hrs and not getting completed.
>
> Not sure why upgrade making slower in performance. Previously the job
> used to complete in lesser time.
>
> Please advise and provide suggestion what inorder to do fix the issue.
> Kindly help and waiting for good reply with exact solutions

More information needed:

1) OS and version?

2) Where is server hosted, on your machines or a service?

3) The hardware specifications for the machine?

4) How was the upgrade done?

5) An example of a slow query with the output of EXPLAIN <the_query>

6) What version of the JDBC driver?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-04-09 17:32:55 Re: Postgresql Upgrade from 10 to 14
Previous Message Inzamam Shafiq 2023-04-09 10:39:57 Re: Replicate data from one standby server to another standby