Re: Taking lot time

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Taking lot time
Date: 2015-11-18 17:35:15
Message-ID: 20151118173514.GI3327@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 17, 2015 at 05:48:36PM +0530, Ramesh T wrote:

> the query is big it's selecting 20 rows from two table like i mentioned
> above exaplain analyze
>
> what should i do..?any help

Considering to post the query might be a reasonable first step.

Karsten

> On Wed, Nov 4, 2015 at 4:27 AM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
> wrote:
>
> > On 11/03/2015 06:42 AM, Ramesh T wrote:
> >
> >> I have a Query it taking a lot of time to fetch results
> >> so,explain query gave
> >>
> >> "Hash Join (cost=55078.00..202405.95 rows=728275 width=418)"
> >> " Hash Cond: (itd.tran_id = iad._adj__id)"
> >> " -> Seq Scan on inv_detail itd (cost=0.00..40784.18 rows=731029
> >> width=95)"
> >> " Filter: (event_type = ANY ('{21,22,3,5}'::integer[]))"
> >> " -> Hash (cost=20590.78..20590.78 rows=610978 width=331)"
> >> " -> Seq Scan on inv_adj iad (cost=0.00..20590.78 rows=610978
> >> width=331)"
> >>
> >> Can you Please let me know wt happen in query..?wt should i do..
> >>
> >
> > And the query is?
> >
> >
> > --
> > Adrian Klaver
> > adrian(dot)klaver(at)aklaver(dot)com
> >

--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2015-11-18 17:35:47 Re: duplicate key errors in log file
Previous Message Adrian Klaver 2015-11-18 17:34:26 Re: duplicate key errors in log file