Re: Performance Issue -- "Materialize"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux