From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Guyren Howe <guyren(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Whither 1:1? |
Date: | 2018-06-01 17:00:21 |
Message-ID: | CAFj8pRCUeo7iWB=Zv-FsvzcAHRLHM5tAWupBN7DHcaP95Gx1cw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2018-06-01 18:52 GMT+02:00 Guyren Howe <guyren(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Guyren Howe | 2018-06-01 17:04:18 | Re: Whither 1:1? |
Previous Message | James Keener | 2018-06-01 17:00:04 | Re: Whither 1:1? |