Re: Whither 1:1?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Whither 1:1?
Дата
Msg-id CAFj8pRCUeo7iWB=Zv-FsvzcAHRLHM5tAWupBN7DHcaP95Gx1cw@mail.gmail.com
обсуждение исходный текст
Ответ на Whither 1:1?  (Guyren Howe <guyren@gmail.com>)
Список pgsql-general


2018-06-01 18:52 GMT+02:00 Guyren Howe <guyren@gmail.com>:
It’s come to my attention that what seems an obvious and useful database design pattern — 1:1 relations between tables by having a shared primary key — is hardly discussed or used.

It would seem to be a very simple pattern, and useful to avoid storing nulls or for groups of fields that tend to be used together.

Thoughts? Is there some downside I can’t see?

Postgres has not multi table statistics - every JOIN increase estimation error.

Regards

Pavel

В списке pgsql-general по дате отправления:

Предыдущее
От: James Keener
Дата:
Сообщение: Re: Whither 1:1?
Следующее
От: Guyren Howe
Дата:
Сообщение: Re: Whither 1:1?