Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSNBr-0003TD-3F for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Oct 2020 16:30:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kSNBq-0002sF-1F for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Oct 2020 16:30:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSNBp-0002r4-Qt for pgsql-hackers@lists.postgresql.org; Tue, 13 Oct 2020 16:30:17 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSNBj-0004lh-3d for pgsql-hackers@postgresql.org; Tue, 13 Oct 2020 16:30:16 +0000 Received: from hnk.local (p1295030-ipngn4902funabasi.chiba.ocn.ne.jp [153.166.85.30]) by oss.nttdata.com (Postfix) with ESMTPSA id 23934623E9; Wed, 14 Oct 2020 01:30:07 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: Add a description to the documentation that toast_tuple_target affects "Main" To: Kasahara Tatsuhito , Shinya Okano Cc: pgsql-hackers References: <93f46e311a67422e89e770d236059817@oss.nttdata.com> From: Fujii Masao Message-ID: Date: Wed, 14 Oct 2020 01:30:06 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/10/13 10:40, Kasahara Tatsuhito wrote: > Hi, > > On Fri, Oct 9, 2020 at 5:44 PM Shinya Okano wrote: >> >> Hi, >> >> Regarding the toast_tuple_target parameter of CREATE TABLE, the >> documentation says that it only affects External or Extended, but it >> actually affects the compression of Main as well. >> >> The attached patch modifies the document to match the actual behavior. > +1 +1 + we try to compress long column values or to move into TOAST tables, and "we try to compress and/or move long column values into TOAST tables, and" is better? Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION