Re: [PERFORM] Performance Issue -- "Materialize" - Mailing list pgsql-performance

From Carlos Augusto Machado
Subject Re: [PERFORM] Performance Issue -- "Materialize"
Date
Msg-id CAK2MEjuV+99716Qg7wU8C4LMdYdEXSimzXJ7uf1yH6yhp4e7Qg@mail.gmail.com
Whole thread Raw
In response to Re: [PERFORM] Performance Issue -- "Materialize"  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: [PERFORM] Performance Issue -- "Materialize"  (Carlos Augusto Machado <caugustom@gmail.com>)
List 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@telsasoft.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

pgsql-performance by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: [PERFORM] Performance Issue -- "Materialize"
Next
From: Carlos Augusto Machado
Date:
Subject: Re: [PERFORM] Performance Issue -- "Materialize"