From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | Rob Sargent <robjsargent(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Taking lot time |
Date: | 2015-11-03 23:05:22 |
Message-ID: | CANu8Fiy0BnGoQCgRs=2OA-6_Uhrh-b2yaHi_wMW2QUCLSh-b+g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
And in addition to providing the actual query, the structure (and indexes)
of all tables involved) are needed.
On Tue, Nov 3, 2015 at 5:59 PM, Rob Sargent <robjsargent(at)gmail(dot)com> wrote:
> On 11/03/2015 07: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..
>
> I could be way off base (again) but I think the first thing you do is
> supply the query (sql).
>
--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2015-11-03 23:15:05 | Re: Taking lot time |
Previous Message | Rob Sargent | 2015-11-03 22:59:27 | Re: Taking lot time |