Re: Performance Issue -- "Materialize"

From: Carlos Augusto Machado <caugustom(at)gmail(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>, anand086 <anand086(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance Issue -- "Materialize"
Date: 2017-08-21 18:46:32
Message-ID: CAK2MEjuV+99716Qg7wU8C4LMdYdEXSimzXJ7uf1yH6yhp4e7Qg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Do you have an index on login column ?

If not, try creating an index and taking off those DISTICTs.

Em seg, 21 de ago de 2017 às 15:33, Justin Pryzby <pryzby(at)telsasoft(dot)com>
escreveu:

> On Sat, Aug 19, 2017 at 10:37:56AM -0700, anand086 wrote:
> >
> +-----------------------------------------------------------------------------------------------------------------------------------------------------------+|
> > QUERY PLAN
> >
> |+-----------------------------------------------------------------------------------------------------------------------------------------------------------+|
> > Aggregate (cost=351405.08..351405.09 rows=1 width=8)
>
> Would you send explain ANALYZE and not just explain ?
>
> Justin
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Carlos Augusto Machado 2017-08-21 19:19:10 Re: Performance Issue -- "Materialize"
Previous Message Justin Pryzby 2017-08-21 18:32:26 Re: Performance Issue -- "Materialize"