Re: Taking lot time

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: Taking lot time
Дата
Msg-id CANu8Fiw0Shp1JtyjkBT2gWT_ppNbFVW=MG77NR2mq1DHfBKWVw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Taking lot time  (Ramesh T <rameshparnanditech@gmail.com>)
Список pgsql-general
And as always, what is the O/S and the version of PostgreSQL??????????????????

On Tue, Nov 17, 2015 at 7:18 AM, Ramesh T <rameshparnanditech@gmail.com> 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

On Wed, Nov 4, 2015 at 4:27 AM, Adrian Klaver <adrian.klaver@aklaver.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.klaver@aklaver.com




--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

В списке pgsql-general по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: drop index without accessexclusivelock in transaction (JAVA)
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: duplicate key errors in log file