Re: AW: [HACKERS] Some notes on optimizer cost estimates
От | Tom Lane |
---|---|
Тема | Re: AW: [HACKERS] Some notes on optimizer cost estimates |
Дата | |
Msg-id | 26017.948737877@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | AW: [HACKERS] Some notes on optimizer cost estimates (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>) |
Ответы |
Re: AW: [HACKERS] Some notes on optimizer cost estimates
|
Список | pgsql-hackers |
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes: > My points are: > 1. even if it is good for an optimizer to be smart, > it is even more important, that it is predictable A good point indeed. And unless we find that there is a huge range in the ratios across different machines, we'd be wasting our time trying to calibrate the numbers for a particular machine --- we could just as well use an average value. The optimizer has many other, far worse, sources of error than that. > 2. I compile on test machine, production is completely different > (more processors, faster disks and controllers) In practice we'd do this at initdb time, not configure time, so I'm not sure that that's really an issue. But your other point is well taken. regards, tom lane
В списке pgsql-hackers по дате отправления: