| От | Rudi Starcevic |
|---|---|
| Тема | Re: constraint with reference to the same table |
| Дата | |
| Msg-id | 3EC2E4F5.5020704@oasis.net.au обсуждение исходный текст |
| Ответ на | Re: constraint with reference to the same table ("Victor Yegorov" <viy@nordlb.lv>) |
| Список | pgsql-performance |
* Rudi Starcevic <rudi@oasis.net.au> [15.05.2003 02:59]:Hi, Can I confirm what this means then .. For large table's each column with ref. inegritry I should create an index on those columns ?I think, that indicies are needed only at delete stage to decrease search time of possible referencing rows. Not only, of course, but when we speak about INSERT/UPDATE/DELETE data it is so. On the other side, indicies increases total query runtime, because for each row deleted/updated/inserted it'll be necessary to update each index. In my case, I at first drop "cyclic" constraints, do the job and then restore them.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера