Re: hashjoin chosen over 1000x faster plan
От | Kevin Grittner |
---|---|
Тема | Re: hashjoin chosen over 1000x faster plan |
Дата | |
Msg-id | 470CE34D.EE98.0025.0@wicourts.gov обсуждение исходный текст |
Ответ на | Re: hashjoin chosen over 1000x faster plan (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: hashjoin chosen over 1000x faster plan
Re: hashjoin chosen over 1000x faster plan |
Список | pgsql-performance |
>>> On Wed, Oct 10, 2007 at 1:54 PM, in message <1192042492.4233.334.camel@ebony.site>, Simon Riggs <simon@2ndquadrant.com> wrote: > > But the planner doesn't work on probability. It works on a best-guess > selectivity, as known at planning time. The point I'm trying to make is that at planning time the pg_statistic row for this "Charge"."reopHistSeqNo" column showed stanullfrac as 0.989; it doesn't seem to have taken this into account when making its guess about how many rows would be joined when it was compared to the primary key column of the "CaseHist" table. I'm suggesting that it might be a good thing if it did. -Kevin
В списке pgsql-performance по дате отправления: