Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h60RK-00011S-SA for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Mar 2019 22:09:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h60RJ-0005be-9U for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Mar 2019 22:09:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h60RI-0005ZY-UZ for pgsql-hackers@lists.postgresql.org; Mon, 18 Mar 2019 22:09:01 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h60RF-0000z4-OY for pgsql-hackers@lists.postgresql.org; Mon, 18 Mar 2019 22:08:59 +0000 Received: by mail-ed1-x543.google.com with SMTP id d6so14330083eds.2 for ; Mon, 18 Mar 2019 15:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tZmResxAzH0SOCswhPcUmLDnw5LzH8IJB520pgCaeB4=; b=TNnG5ubPO0p5TEEiobpj4BLcEyRL1DDuk5ohjp55ebqprlXDpB4mBcgSO/z2FypZyP it4Qjd9T7YOHH6ZHRX7I+POA/T1tMP7Ghl7mh8r1wq3hywjt1LZBqpJaDZomf31c3xHl L/5EOjY+yhkNGQqq80jNtAbfhB8wkq8GE0osniWtbWTtKcNzt9zEHTu6MOENMDSTXZMF MriGCjzNaH0wgYKgn0lhy+zpBroV9NE4ZFNM8M7abSVV3YO1OtBqc0hjRDXwy7wQZ+PW 9tMTeYHJu04Ct64t6rmMy/0t7kgh+FXp0pIi9i6UH0sUMag8Dq+EBFaBWfhve++sx5nv B5Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tZmResxAzH0SOCswhPcUmLDnw5LzH8IJB520pgCaeB4=; b=MHbVw6pEo8ZJgh1Fv4vI0p+nzngin3N19BS7RDRu3lQ0XUYbr/QyvoKeJh9CkPo79v mBiNA0c73QwiGUiy9VsbxA+4HgMD6WdpaKh8xbCGUBOxMZAXgX9PUshyuwFzs1a6izvh RAW9fOqwkQQDvLxsmTNwKJWYlFEKos89YxaHFvjlVsHDdjtWyxbnOR0PpNfcmrKFXSjc UQcJpElZohVhqsCvoEqBc5eFlkJ6UaNOyHFxVPPmP+r3tNq8i/ARbXhbn4XVBzMbKk+1 vkmS+zdTKVqwrif1UDT+FxdI20KPGoADxz8993VSBtEGfcklZRoMsfjt7Yf0+3OJEs5Z bnIw== X-Gm-Message-State: APjAAAVeMICmz7V5aPXTtEYo1Q0wVmyA0pDVJ5UN+1K2PmBUvWjfusFE 6YmGYbO7VOrInQqAUR3UGxRx3j/iekXa6k/gH1di3KD1LXfQ/vCt71GbDrBmm9hs9mvL8kpbz7v xD3H9u+Z4G/BiaODKZltMtXG+bp5Ki8NEJbSaf25YrYfYOt1Glqu/cWRdor1R294hMJg3q+ZlEK V+UkvpstnP8UfS/hR1qn7qqkh5 X-Google-Smtp-Source: APXvYqwrX1cktIuqF5rxIdV2evCppQvS8aIodsHQEL20IRESgYb1Yjdu6pmKBEyJCE3ubWBP+cZuJQ== X-Received: by 2002:a50:a7e5:: with SMTP id i92mr14877612edc.181.1552946935157; Mon, 18 Mar 2019 15:08:55 -0700 (PDT) Received: from [10.137.0.18] ([94.127.55.205]) by smtp.gmail.com with ESMTPSA id q47sm3789912eda.19.2019.03.18.15.08.53 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 15:08:53 -0700 (PDT) Subject: Re: [HACKERS] Custom compression methods To: Ildus Kurbangaliev , David Steele Cc: Alexander Korotkov , Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL Developers References: <20171201194859.le5hvnnrjzhxhm2t@alvherre.pgsql> <03c376ed-839f-35f4-5f03-35b21b47e9a2@postgrespro.ru> <20180618173045.7f734aca@wp.localdomain> <20180702155624.542860bc@wp.localdomain> <20180906182713.502e1107@wp.localdomain> <20181101145437.1e00cb99@wp.localdomain> <20181203154332.7b1f4d6f@wp.localdomain> <20190228164415.62bd4107@ildus-work.localdomain> <53ab954a-bf44-2bff-fbe0-29f093899604@pgmasters.net> <20190315125203.5da43edb@ildus-work.localdomain> From: Tomas Vondra Message-ID: <59ab2e0c-fd31-a063-28f8-9615dfe721ae@2ndquadrant.com> Date: Mon, 18 Mar 2019 23:08:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190315125203.5da43edb@ildus-work.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/15/19 12:52 PM, Ildus Kurbangaliev wrote: > On Fri, 15 Mar 2019 14:07:14 +0400 > David Steele wrote: > >> On 3/7/19 11:50 AM, Alexander Korotkov wrote: >>> On Thu, Mar 7, 2019 at 10:43 AM David Steele >> > wrote: >>> >>> On 2/28/19 5:44 PM, Ildus Kurbangaliev wrote: >>> >>> > there are another set of patches. >>> > Only rebased to current master. >>> > >>> > Also I will change status on commitfest to 'Needs review'. >>> >>> This patch has seen periodic rebases but no code review that I >>> can see since last January 2018. >>> >>> As Andres noted in [1], I think that we need to decide if this >>> is a feature that we want rather than just continuing to push it >>> from CF to CF. >>> >>> >>> Yes.  I took a look at code of this patch.  I think it's in pretty >>> good shape.  But high level review/discussion is required. >> >> OK, but I think this patch can only be pushed one more time, maximum, >> before it should be rejected. >> >> Regards, > > Hi, > in my opinion this patch is usually skipped not because it is not > needed, but because of its size. It is not hard to maintain it until > commiters will have time for it or I will get actual response that > nobody is going to commit it. > That may be one of the reasons, yes. But there are other reasons, which I think may be playing a bigger role. There's one practical issue with how the patch is structured - the docs and tests are in separate patches towards the end of the patch series, which makes it impossible to commit the preceding parts. This needs to change. Otherwise the patch size kills the patch as a whole. But there's a more important cost/benefit issue, I think. When I look at patches as a committer, I naturally have to weight how much time I spend on getting it in (and then dealing with fallout from bugs etc) vs. what I get in return (measured in benefits for community, users). This patch is pretty large and complex, so the "costs" are quite high, while the benefits from the patch itself is the ability to pick between pg_lz and zlib. Which is not great, and so people tend to pick other patches. Now, I understand there's a lot of potential benefits further down the line, like column-level compression (which I think is the main goal here). But that's not included in the patch, so the gains are somewhat far in the future. But hey, I think there are committers working for postgrespro, who might have the motivation to get this over the line. Of course, assuming that there are no serious objections to having this functionality or how it's implemented ... But I don't think that was the case. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services