pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Karlsson <andreas@proxel.se>
To: Robert Haas <robertmhaas@gmail.com>
To: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Julien Tachoires <julmon@gmail.com>
Cc: Alex Shulgin <ash@commandprompt.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jaime Casanova <jaime@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: patch : Allow toast tables to be moved to a different tablespace
Date: Mon, 03 Aug 2015 02:35:14 +0200
Message-ID: <55BEB742.2070901@proxel.se> (raw)
In-Reply-To: <CA+TgmoZB9vY+QMOSJaH8wtR6dLM_1WKjBFPJ1PvW8NNUN_61Xg@mail.gmail.com>
References: <5504FBA9.3020900@proxel.se>
	<5504FDBE.4000006@proxel.se>
	<5505DD23.2020207@gmail.com>
	<5507DF26.3090206@gmail.com>
	<5509C9F2.9040403@proxel.se>
	<550AF15E.4020006@gmail.com>
	<550B5CBE.3020601@proxel.se>
	<550D61D9.9060602@gmail.com>
	<550D6A82.2070208@proxel.se>
	<20713.1435961038@sss.pgh.pa.us>
	<20150707120744.GM30359@alap3.anarazel.de>
	<55A585CE.306@BlueTreble.com>
	<CA+TgmoZB9vY+QMOSJaH8wtR6dLM_1WKjBFPJ1PvW8NNUN_61Xg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 07/15/2015 09:30 PM, Robert Haas wrote:
> On Tue, Jul 14, 2015 at 5:57 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
>> On 7/7/15 7:07 AM, Andres Freund wrote:
>>> On 2015-07-03 18:03:58 -0400, Tom Lane wrote:
>>>> I have just looked through this thread, and TBH I think we should reject
>>>> this patch altogether --- not RWF, but "no we don't want this".  The
>>>> use-case remains hypothetical: no performance numbers showing a
>>>> real-world
>>>> benefit have been exhibited AFAICS.
>>>
>>>
>>> It's not that hard to imagine a performance benefit though? If the
>>> toasted column is accessed infrequently/just after filtering on other
>>> columns (not uncommon) it could very well be beneficial to put the main
>>> table on fast storage (SSD) and the toast table on slow storage
>>> (spinning rust).
>>>
>>> I've seen humoungous toast tables that are barely ever read for tables
>>> that are constantly a couple times in the field.
>>
>> +1. I know of one case where the heap was ~8GB and TOAST was over 400GB.
>
> Yeah, I think that's a good argument for this.  I have to admit that
> I'm a bit fatigued by this thread - it started out as a "learn
> PostgreSQL" project, and we iterated through a few design problems
> that made me kind of worried about what sort of state the patch was in
> - and now this patch is more than 4 years old.  But if some committer
> still has the energy to go through it in detail and make sure that all
> of the problems have been fixed and that the patch is, as Andreas
> says, in good shape, then I don't see why we shouldn't take it.

I personally think the patch is in a decent shape, and a worthwhile 
feature. I agree though with Tom's objections about the pg_dump code.

I do not have enough time or interest right now to fix up this patch 
(this is not a feature I personally have a lot of interest in), but if 
someone else wishes to I do not think it would be too much work.

Andreas



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (56+ messages)  latest in thread

Message-ID: <55BEB742.2070901@proxel.se>
Permalink:  ../55BEB742.2070901@proxel.se/
Also on:    postgresql.org/message-id/55BEB742.2070901@proxel.se

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: andreas@proxel.se, robertmhaas@gmail.com, Jim.Nasby@bluetreble.com, andres@anarazel.de, tgl@sss.pgh.pa.us, julmon@gmail.com, ash@commandprompt.com, alvherre@2ndquadrant.com, jaime@2ndquadrant.com
  Subject: Re: patch : Allow toast tables to be moved to a different tablespace
  In-Reply-To: <55BEB742.2070901@proxel.se>

* 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