Re: [PERFORM] 2 server with same configuration but huge difference in performance

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Sumeet Shukla <sumeet(dot)k(dot)shukla(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: [PERFORM] 2 server with same configuration but huge difference in performance
Date: 2017-08-01 15:35:20
Message-ID: CAOR=d=0OmV2RwMEqZ2gC2e=tU-RWe0EuSs5QSspGxFP28+xzLw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

On Tue, Aug 1, 2017 at 6:41 AM, Sumeet Shukla <sumeet(dot)k(dot)shukla(at)gmail(dot)com> wrote:
> Hi,
>
> I have 2 PG servers with same h/w and configuration and they are not in
> replication.
>
> On server A it takes 20 minutes to execute the script.
> On server B it takes more than 20 hours. (Seems to be stuck with create
> index and and create foreign key steps)
>
> Any guidance to troubleshoot this would be highly appreciated.

There's lots of areas where you could be running into problems. I
suggest reading this wiki page on reporting performance problems.
It'll help you gather more evidence of where and what the problem is.

https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2017-08-01 15:39:38 Re: phantom rights
Previous Message Thomas Poty 2017-08-01 14:53:53 phantom rights

Browse pgsql-performance by date

  From Date Subject
Next Message Sumeet Shukla 2017-08-01 15:45:14 Re: [PERFORM] 2 server with same configuration but huge difference in performance
Previous Message Joshua D. Drake 2017-08-01 14:43:27 Re: How to access data of SQL server database from PostgreSQL