Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZM3is-00014c-0g for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Aug 2015 00:35:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZM3ir-00034O-Cx for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Aug 2015 00:35:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZM3ip-00030K-EW for pgsql-hackers@postgresql.org; Mon, 03 Aug 2015 00:35:19 +0000 Received: from smtp2.scorpionshops.com ([82.118.24.230] helo=kilimanjaro.scorpionshops.com) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZM3im-0002qD-Kg for pgsql-hackers@postgresql.org; Mon, 03 Aug 2015 00:35:18 +0000 Received: from [192.168.1.4] (92-32-205-89.tn.glocalnet.net [92.32.205.89]) by kilimanjaro.scorpionshops.com (Postfix) with ESMTPSA id 736007BC0CD; Mon, 3 Aug 2015 02:35:15 +0200 (CEST) Message-ID: <55BEB742.2070901@proxel.se> Date: Mon, 03 Aug 2015 02:35:14 +0200 From: Andreas Karlsson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Robert Haas , Jim Nasby CC: Andres Freund , Tom Lane , Julien Tachoires , Alex Shulgin , Alvaro Herrera , Jaime Casanova , Pg Hackers Subject: Re: patch : Allow toast tables to be moved to a different tablespace 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> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/15/2015 09:30 PM, Robert Haas wrote: > On Tue, Jul 14, 2015 at 5:57 PM, Jim Nasby 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