| От | Tom Lane |
|---|---|
| Тема | Re: Bug #474: Index using problem |
| Дата | |
| Msg-id | 21296.1002309306@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug #474: Index using problem (Andreas Wernitznig <andreas@insilico.com>) |
| Ответы |
Re: Bug #474: Index using problem
|
| Список | pgsql-bugs |
Andreas Wernitznig <andreas@insilico.com> writes:
> -> Using one connection the optimizer for pk/fk-checking is not
> updated by a "vacuum analyze".
Oh, I misunderstood you the first time: I thought you were saying that
*other* backends couldn't see the results of the VACUUM.
The reason for this behavior is that the foreign key checker caches a
plan for each foreign-key-checking query the first time it needs to
use that query (within a given backend). There should be a mechanism
to flush those cached plans when circumstances change ... but currently
there isn't.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера