Re: Whither 1:1?

From: Guyren Howe <guyren(at)gmail(dot)com>
To: Olivier Gautherot <olivier(at)gautherot(dot)net>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Whither 1:1?
Date: 2018-06-01 17:25:40
Message-ID: C79FDC97-869F-422D-8336-3A3BD81B8994@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jun 1, 2018, at 10:16 , Olivier Gautherot <olivier(at)gautherot(dot)net> wrote:
>
> You will get a benefit in terms of space only if the optional fields in the second table exist in a reduced number of instances - and the second table is significantly wider. This can make a difference on big tables but this gain may be offset by the cost of the join. In this perspective, I don’t think that there is a clear benefit or drawback: it should be evaluated on a case-by-case basis.

It seems to me that people take time to catch up with modern hardware reality. SSDs reduce seek time to virtually zero. Surely, joins are now much, much cheaper. If so, I’m inclined to describe wide tables as a premature optimization.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Woltman 2018-06-01 17:27:34 Re: RPM Packaging Question - Fedora 28 & Postgis
Previous Message Olivier Gautherot 2018-06-01 17:16:29 Re: Whither 1:1?