| От | Richard Huxton |
|---|---|
| Тема | Re: foreign key constraint, planner ignore index. |
| Дата | |
| Msg-id | 476A6D84.2030107@archonet.com обсуждение исходный текст |
| Ответ на | Re: foreign key constraint, planner ignore index. (Andrew Nesheret <andrew@infinet.ru>) |
| Список | pgsql-general |
Andrew Nesheret wrote: > Richard Huxton wrote: >> Does the attached small script misbehave in the same way as your real >> data? From here it works fine when the fkey is ON ... RESTRICT. >> >> I'm right in thinking that your "nodes" fkey is RESTRICT on update and >> delete? >> > Yes, data is real and my my foreign key contraint is "restrict" (i'm > understand this is very important). Well, the RESTRICT bit is because with that test script in my last email it's instant here on PostgreSQL 8.2 (not bothered testing 8.3beta). The test script generates 10 million rows in the "traffic" table which should be close enough to replicate your problem. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера