Re: Whither 1:1? - Mailing list pgsql-general

From Ron
Subject Re: Whither 1:1?
Date
Msg-id 520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com
Whole thread Raw
In response to Re: Whither 1:1?  (Guyren Howe <guyren@gmail.com>)
List pgsql-general
On 06/01/2018 12:25 PM, Guyren Howe wrote:
On Jun 1, 2018, at 10:16 , Olivier Gautherot <olivier@gautherot.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.

Sure, SSDs are uber-wonderful, but a rack full of rotating media is still going to be a lot cheaper and have a lot more capacity than a rack full of SSDs, and that makes all the difference...

--
Angular momentum makes the world go 'round.

pgsql-general by date:

Previous
From: Olivier Gautherot
Date:
Subject: Re: Whither 1:1?
Next
From: Justin Pryzby
Date:
Subject: notes from transition to relkind='p'