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 1htdY7-0001mo-5c for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Aug 2019 19:49:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1htdY5-0002uf-If for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Aug 2019 19:49:09 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1htdY5-0002uT-56 for pgsql-hackers@lists.postgresql.org; Fri, 02 Aug 2019 19:49:09 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htdY2-0002FP-5w for pgsql-hackers@postgresql.org; Fri, 02 Aug 2019 19:49:08 +0000 Received: by mail-wr1-x443.google.com with SMTP id n9so78430695wru.0 for ; Fri, 02 Aug 2019 12:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=28Y0xLwN8aQSeZYWvKY/zLNLy+IJOozBxU9BHx/78h4=; b=XwZ6jsa2vRTCFDyGukK+MJhIzZerXQFF9bOmjlKEJhrra8B8Qy/lijQO6K3GLTtNQi sZhmit2CsVS2BLHLc9kEgk4VbcXcxeijh+37x2x/ecOsFZXEHh5RBQ4ouQq8ycjhAoin rsfeOQN6++vriW0FDb36LR+Dux5E8C1Mmh/MX1uo7R32g7leuUaF02rFmSMGUiMv8Fip W2s8MT0YZNdZHpIWLLAcRPjrwVQ+IMWbDz5Vr+pDLRBZDUk0C30yk/Scx5jXG1Clg9fk iGbiR+FbJz4fpQoLw731JEajUn7HltTslSu2vF2I19psWotKIEfoLO30LsKBA+EpF3ah 0O2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=28Y0xLwN8aQSeZYWvKY/zLNLy+IJOozBxU9BHx/78h4=; b=tZ0lmrwlYxy+dpWgp4+HOytGdjfe2wSUTMDSM/qmwrG6IzXUF3Q5xPB5rDRJMlFVJN all91bSZWNreytmfeSCI/3rISLDGPPjJgYYQwT+Y5xnD4evIUBIOLufPnsDNKZ7meOhS J+KYHSvuDxCh/yAFvQ9xnCPKeYwoQwrH/u5bbyVocoH9EZUZWYf1aQ9rN/7sQ3p/fFAG yJhSytZLv9veoK/w0IcN5bJPb8Ds5dGkzGaGfIS8QgD/YHBwSUZNz3vRMZXGGtZVQdZA 4t9P1bpl4W4vgn3UPvwc6dMO1YZ+NCEkT4mZH/N/Te4iF2FadKy6yISLE3hKMUDcS4Qx IlNA== X-Gm-Message-State: APjAAAWOkXERFT/3943yoaQj4oRsp9hB8EbnOCUCI1l9j58Q/95byOIS Cdlm+hVT4AbvQUvPQM/3TupmSQ== X-Google-Smtp-Source: APXvYqxLeaUzXwac/Jk8esp5hAENgWu9/O7Xxj8rq4kPo5g6gHyC5LuvnC/d+GPNPoYzr/6+gVi1wA== X-Received: by 2002:adf:9d8b:: with SMTP id p11mr6688608wre.226.1564775341814; Fri, 02 Aug 2019 12:49:01 -0700 (PDT) Received: from localhost (ip-86-49-253-160.net.upcbroadband.cz. [86.49.253.160]) by smtp.gmail.com with ESMTPSA id z1sm79406479wrp.51.2019.08.02.12.49.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 12:49:01 -0700 (PDT) Date: Fri, 2 Aug 2019 21:48:59 +0200 From: Tomas Vondra To: Andres Freund Cc: Andrey Borodin , Konstantin Knizhnik , Michael Paquier , pgsql-hackers , Vladimir Leskov Subject: Re: pglz performance Message-ID: <20190802194859.qxzxq2achzottkup@development> References: <20190513071427.GB2273@paquier.xyz> <169163A8-C96F-4DBE-A062-7D1CECBE9E5D@yandex-team.ru> <20190802144345.d62jtiyyx6r2y73f@development> <20190802163948.i6mjypdgujeorrbi@alap3.anarazel.de> <20190802170039.o4pabnzm4xy3z7uj@development> <20190802171258.nob5zo2vu7siqo2b@alap3.anarazel.de> <20190802175239.5ds6rhdso6hwy4vk@development> <20190802182003.u477q6itwudieqxf@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190802182003.u477q6itwudieqxf@alap3.anarazel.de> User-Agent: NeoMutt/20180716-1444-295967 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Aug 02, 2019 at 11:20:03AM -0700, Andres Freund wrote: >Hi, > >On 2019-08-02 19:52:39 +0200, Tomas Vondra wrote: >> Hmmm, I don't remember the details of those patches so I didn't realize >> it allows incremental recompression. If that's possible, that would mean >> existing systems can start using it. Which is good. > >That depends on what do you mean by "incremental"? A single toasted >datum can only have one compression type, because we only update them >all in one anyway. But different datums can be compressed differently. > I meant different toast values using different compression algorithm, sorry for the confusion. > >> Another question is whether we'd actually want to include the code in >> core directly, or use system libraries (and if some packagers might >> decide to disable that, for whatever reason). > >I'd personally say we should have an included version, and a >--with-system-... flag that uses the system one. > OK. I'd say to require a system library, but that's a minor detail. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services