pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: pavan95 <pavan.postgresdba@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Help me in reducing the CPU cost for the high cost query below, as it is hitting production seriously!!
Date: Tue, 22 May 2018 05:39:06 -0500
Message-ID: <20180522103906.GF30060@telsasoft.com> (raw)
In-Reply-To: <1526985179479-0.post@n3.nabble.com>
References: <1526883356469-0.post@n3.nabble.com>
	<1526917693149-0.post@n3.nabble.com>
	<1526985179479-0.post@n3.nabble.com>

On Tue, May 22, 2018 at 03:32:59AM -0700, pavan95 wrote:
> Sample query plan: 
> Limit  (cost=92129.35..92129.63 rows=10 width=248)

Would you send the output of explain(analyze,buffers) for the whole query ?
And/or paste it into explain.depesz site and send a link.

Justin




view thread (25+ messages)  latest in thread

Message-ID: <20180522103906.GF30060@telsasoft.com>
Permalink:  ../20180522103906.GF30060@telsasoft.com/
Also on:    postgresql.org/message-id/20180522103906.GF30060@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, pavan.postgresdba@gmail.com
  Subject: Re: Help me in reducing the CPU cost for the high cost query below, as it is hitting production seriously!!
  In-Reply-To: <20180522103906.GF30060@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