| От | Gregory Stark |
|---|---|
| Тема | Re: Effects of GUC settings on automatic replans |
| Дата | |
| Msg-id | 871wje4259.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: Effects of GUC settings on automatic replans (Jim Nasby <decibel@decibel.org>) |
| Список | pgsql-hackers |
"Jim Nasby" <decibel@decibel.org> writes: > On Mar 21, 2007, at 5:11 AM, Tom Lane wrote: >> constraint_exclusion >> >> I'm inclined not to worry about these, since changing them can't affect >> the semantics of the query, at worst its performance. > > Hrm... wasn't that option added in case there was a bug in the exclusion code? > I certainly can't think of any performance reason why you'd want to disable > it... so it might be worth invalidating plans if it changes. It was added precisely because we didn't have plan invalidation... If you dropped a constraint there was previously nothing to force the plan to be recalculated if it depended on the constraint for correctness. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера