| От | Alan Hodgson |
|---|---|
| Тема | Re: Storage of Foreign Keys |
| Дата | |
| Msg-id | 200909211009.40811@hal.medialogik.com обсуждение исходный текст |
| Ответ на | Storage of Foreign Keys (Christian Koetschan <c.koetschan@biozentrum.uni-wuerzburg.de>) |
| Ответы |
Re: Storage of Foreign Keys
|
| Список | pgsql-general |
On Monday 21 September 2009, Christian Koetschan <c.koetschan@biozentrum.uni-wuerzburg.de> wrote: > Is everything I insert into mycolA and mycolB stored twice, or > is there something like a pointer/reference from mycolA to the things > stored in mycolB? > It's stored twice and for performance you need to index it in both tables. If you put ON UPDATE CASCADE on it, an update to the master will hit both tables though. -- "No animals were harmed in the recording of this episode. We tried but that damn monkey was just too fast."
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера