Taking lot time

From: Ramesh T <rameshparnanditech(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Taking lot time
Date: 2015-11-03 14:42:56
Message-ID: CAK8Zd=vf_pgpWBswE1yKhMPMLU+v_Af-yW82anQCkx4GFCvs5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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..

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sami Pietilä 2015-11-03 15:07:01 Re: How to search a string inside a json structure
Previous Message Albe Laurenz 2015-11-03 14:29:01 Re: pg_archivecleanup not deleting anything?