pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Vishwa Kalyankar <vishwakalyankar8@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: Same query taking less time in low configuration machine
Date: Thu, 16 Jul 2020 11:04:23 -0500
Message-ID: <20200716160423.GL23581@telsasoft.com> (raw)
In-Reply-To: <CAFWaVn3=DO-_Q3vO30XB49hq+Cx=cgVU1A+qJtkdswvbjt=_WA@mail.gmail.com>
References: <CAFWaVn3=DO-_Q3vO30XB49hq+Cx=cgVU1A+qJtkdswvbjt=_WA@mail.gmail.com>

On Thu, Jul 16, 2020 at 09:13:45PM +0530, Vishwa Kalyankar wrote:
> Hi,
> 
> I have two machines - one with 8GB RAM & 4core CPU and the other with 64GB
> Ram & 24 core CPU.  Both machines have the same DB (Postgres 12 + Postgis
> 2.5.3).  Same query is taking less time in low end machine whereas more
> time in high end machine.  Any thoughts on where to look?  I have tuned the

When  you say "the same DB" what do you mean ?
Is one a pg_dump and restore of the other ?
Or a physical copy like rsync/tar of the data dir ?

>   Please find the attachment for query explain & analyze and bonnie result
> of  both the machines.

Are the DB settings the ame or how do they differ ?

Maybe you could send explain(analyze,buffers,timing,settings) ?
https://wiki.postgresql.org/wiki/Slow_Query_Questions

-- 
Justin





view thread (5+ messages)  latest in thread

Message-ID: <20200716160423.GL23581@telsasoft.com>
Permalink:  ../20200716160423.GL23581@telsasoft.com/
Also on:    postgresql.org/message-id/20200716160423.GL23581@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pryzby@telsasoft.com, vishwakalyankar8@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Same query taking less time in low configuration machine
  In-Reply-To: <20200716160423.GL23581@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox