Re: Optimize Query

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: drum(dot)lucas(at)gmail(dot)com
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Optimize Query
Date: 2016-02-14 09:56:36
Message-ID: B072E72B-0546-415D-8944-ABCD8B052D6C@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On 13 Feb 2016, at 11:21, drum(dot)lucas(at)gmail(dot)com wrote:
>
> Anyone can help with that please?
>
> Cheers

What would help is:
1. to post an actual query that you need optimised and
2. an explain analyze of that query.

What you posted in your original message was some kind of query-template with enough placeholders and views that there is no way to predict how that's going to perform without at least knowing what goes into the placeholders and how the views are built up.

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vitaly Burovoy 2016-02-14 16:57:08 Re: Question on how to use to_timestamp()
Previous Message Deven Phillips 2016-02-14 04:31:54 Re: Question on how to use to_timestamp()