Re: Query with limit goes from few ms to hours

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

 



henk de wit <henk53602@xxxxxxxxxxx> writes:
> For some reason the mailinglist software seems to block the email as soon as the planner details are in it, so I pasted those on pastebin.com: http://pastebin.com/T5JTwh5T

You need a less horrid estimate for the join size.  Possibly an ANALYZE
on the parent table (stream_store) would help.

			regards, tom lane


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