Re: generalizing the planner knobs
От | Pollard, Mike |
---|---|
Тема | Re: generalizing the planner knobs |
Дата | |
Msg-id | 6418CC03D0FB1943A464E1FEFB3ED46B01B220F7@im01.cincom.com обсуждение исходный текст |
Ответ на | generalizing the planner knobs (Neil Conway <neilc@samurai.com>) |
Список | pgsql-hackers |
Greg Stark gsstark@mit.edu writes: > You more or less missed my entire point. Only because I am still getting used to how powerful and flexible Postgres is; but I am working on expanding my horizons. > In the extreme, no amount of added intelligence in the optimizer is going > to > help it come up with any sane selectivity estimate for something like > > WHERE radius_authenticate(user) = 'OK' yeah, I can see where something like this would be problematic. While I still think that in an ideal world, you want to leave all of this to the engine, it is true that in the real world sometimes we still have to do some of the thinking for the computer. It's just that I've seen code absolutely littered with optimizer hints, and that really bothers me. But you can't not build a useful tool just because some would abuse it. Mike Pollard SUPRA Server SQL Engineering and Support Cincom Systems, Inc.
В списке pgsql-hackers по дате отправления: