Re: Idea for the statistics collector
От | Bruce Momjian |
---|---|
Тема | Re: Idea for the statistics collector |
Дата | |
Msg-id | 200206211223.g5LCNmj10034@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Idea for the statistics collector (Martijn van Oosterhout <kleptog@svana.org>) |
Ответы |
Re: Idea for the statistics collector
|
Список | pgsql-general |
Martijn van Oosterhout wrote: > Firstly, I was only thinking of going for the basic nodes (Index Scan, Seq > Scan, Distinct). Other types have far more variables. Secondly, even if you > only count, it's useful. For example, if it tells you that the planner is > off by a factor of 10 more than 75% of the time, that's useful information > independant of what the actual variables are. Yes, only updating the stats if the estimate was off by a factor of 10 or so should cut down on the overhead. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: