pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Whither 1:1?
Date: Fri, 1 Jun 2018 13:43:27 -0500
Message-ID: <520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com> (raw)
In-Reply-To: <C79FDC97-869F-422D-8336-3A3BD81B8994@gmail.com>
References: <EB970076-1B97-43F4-9E5A-A73C6DFFB161@gmail.com>
	<CAJ7S9TXtVXxUHwWd0SEzjfUXbYzJObxren0LuoN+LXd2SBMQRA@mail.gmail.com>
	<C79FDC97-869F-422D-8336-3A3BD81B8994@gmail.com>

On 06/01/2018 12:25 PM, Guyren Howe wrote:
> On Jun 1, 2018, at 10:16 , Olivier Gautherot <olivier@gautherot.net 
> <mailto: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.

view thread (10+ messages)  latest in thread

Message-ID: <520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com>
Permalink:  ../520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com/
Also on:    postgresql.org/message-id/520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Whither 1:1?
  In-Reply-To: <520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com>
  References: <EB970076-1B97-43F4-9E5A-A73C6DFFB161@gmail.com> <CAJ7S9TXtVXxUHwWd0SEzjfUXbYzJObxren0LuoN+LXd2SBMQRA@mail.gmail.com> <C79FDC97-869F-422D-8336-3A3BD81B8994@gmail.com> <520db496-8a7d-3c64-0d1e-739f35b312a1@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox