| От | teknokrat |
|---|---|
| Тема | Re: performance of foreign key constraints |
| Дата | |
| Msg-id | bilkf9$p4n$1@news.hub.org обсуждение исходный текст |
| Ответ на | Re: performance of foreign key constraints (Rod Taylor <rbt@rbt.ca>) |
| Список | pgsql-performance |
Rod Taylor wrote: >>The references are all to the same table i.e. they are employee ids, so >>leaving some and not others would make no sense. The table has no >>deletes, small amount of inserts and moderate amount of updates. However >>there are many selects and its their performance I am most concerned with. > > > Foreign keys have no impact on selects. > > Although this does sound like a rather strange design to me (20+ columns > wide and they're all employee ids?) There are more than 20 fieldss. Its a report that can get updated by different employees and we wish to keep a record of which employee completed which section. Couldn't think of any other way to do it.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера