Checking query results against selectivity estimate

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Checking query results against selectivity estimate
Дата
Msg-id Pine.LNX.4.30.0107051931270.677-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Checking query results against selectivity estimate  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I don't recall, has it ever been considered to compare the number of
actual result rows against the estimate computed by the optimizer and then
draw some conclusions from it?  Both numbers should be easily available.
Possible "conclusions" might be suggesting running analyze, suggesting
tweaking "M" and "K", assigning an out-of-whack factor to the statistics
(once it goes to infinity (or zero) you do one of the previous things), in
some future life possibly automatically switching to an alternative
statistics model.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Pg on SMP half-powered
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Checking query results against selectivity estimate