pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pavan95 <pavan.postgresdba@gmail.com>
To: 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: Mon, 21 May 2018 07:34:35 -0700 (MST)
Message-ID: <1526913275452-0.post@n3.nabble.com> (raw)
In-Reply-To: <1526911926.12183.1@homie.mail.dreamhost.com>
References: <1526883356469-0.post@n3.nabble.com>
	<1526889830358-0.post@n3.nabble.com>
	<1526901200599-0.post@n3.nabble.com>
	<1526902087.12183.0@homie.mail.dreamhost.com>
	<1526909995520-0.post@n3.nabble.com>
	<1526911926.12183.1@homie.mail.dreamhost.com>

Hi abbas,

Thank you so much.  I've got this query from my development team asking to
improve its performance. 

Now I got pretty much clear idea of it. And it will be the final extent to
which we can tune the performance right?

If there is still a way give me some tips to enhance the query performance. 

But kudos for your "floor" function. After a long struggle with the indexes,
joins and the hints I came to know that there is also a way to tune the
query performance by rewriting the query.

Thanks in advance.

Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html




view thread (25+ messages)  latest in thread

Message-ID: <1526913275452-0.post@n3.nabble.com>
Permalink:  ../1526913275452-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1526913275452-0.post@n3.nabble.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: 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: <1526913275452-0.post@n3.nabble.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