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 1ht8Lj-0001Qc-8e for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2019 10:30:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ht8Lh-0007ms-6E for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2019 10:30:17 +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 1ht8Lg-0007ml-U6 for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2019 10:30:16 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ht8Le-0007q5-8W for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2019 10:30:16 +0000 Received: by mail-wr1-x442.google.com with SMTP id c2so69777995wrm.8 for ; Thu, 01 Aug 2019 03:30:13 -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=uoXWVMEjNudAo99BfhopSyzzO3zztOoPv7HxEJdvFqI=; b=NeT3l/CR3qMz0PleWxUDN07g+mPzW/+Slf9Sc4Dogr5jn06duGfO8qZHIXJVJhYLrt pwl7nL2wNHhhtkvCzSNyLw5Na2R/3sBELFe6vQEpWqSBO7ovwSznEq5yeSIXOl2GUny0 yM/v3jp0Uh3ybamiVi5+r375fR6slGeEtva7TQtgAkQ69ZFUB04Fvlceu9kAoDdY2eCv 67nRzGjjZx3N5dooYRrV+X/pgdofC6Y/bsskFuU2C1pmnu5u9XJXmB9524Kk2sGBkpE6 AkZh6BjjGG9AZRn13DoQFpppmu7VTaDwHdo3vBvUvSpL4mJPyr7fHamJLxXwjTKioKie TLzA== 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=uoXWVMEjNudAo99BfhopSyzzO3zztOoPv7HxEJdvFqI=; b=Bxop2a70Cb5RSSQNWLQ4kZcVeMZBF79maO2nH2t/Fa7M9aVhUAeJqWzAKZo6GehKdC K/gc0ZAgDAqnRrpP3zfFdS1NLjOjeOgPPsAbefYlsPy0iRMY18RgowVTPHXVCD/vBV1y MeY6rm8UyvlyMIqzVJIeW4okdZlT0jvBlFJjYSD001vU34uIOS1LRbfBwoANcGXSlCvF gJTIde+z3dRTtthE2guM2rLx0m7CrbOQgCpayDlfBpuJfihTe0LJygqDHdl9eDdJB+Q/ T1pf1jUx4ufkmxREnNUxZGDi6SrDc+TfkoZc1Qfsr7Q7EA9M2vIy+BrOiUfy3ZHXmtHx tFrQ== X-Gm-Message-State: APjAAAVEkG/0O2XRXwlKmHCnF4VBn/JugwvsQdYWbiF1wMp6fklamT8z PwZCE/jrsqeRe7ykNJF97S8aGA== X-Google-Smtp-Source: APXvYqxUrF5yG1Kqj3Jf3XJhnlVyZ7OEW8OnEc/9tGqpU0uCDXDFbtKa87rsVXLLrPqFomFYNLsUjg== X-Received: by 2002:a5d:4b91:: with SMTP id b17mr1069801wrt.57.1564655413165; Thu, 01 Aug 2019 03:30:13 -0700 (PDT) Received: from localhost (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id p18sm70507789wrm.16.2019.08.01.03.30.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 01 Aug 2019 03:30:12 -0700 (PDT) Date: Thu, 1 Aug 2019 12:30:10 +0200 From: Tomas Vondra To: Thomas Munro Cc: "Jamison, Kirk" , Dean Rasheed , PostgreSQL Hackers Subject: Re: Multivariate MCV list vs. statistics target Message-ID: <20190801103010.hzy6kw53qm2bkr5a@development> References: <20190629104121.xw4qmpzlhy4e2r4g@development> <20190706220238.7a2ks2tiiecfruby@development> <20190708181814.z7nrb32qrbhitgs6@development> <20190719231221.2udexexu4k7lkbrb@development> <20190726220552.kafvalbd2o3l7xw6@development> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-1444-295967-dirty List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Aug 01, 2019 at 05:25:31PM +1200, Thomas Munro wrote: >On Thu, Aug 1, 2019 at 12:16 PM Jamison, Kirk wrote: >> > On Saturday, July 27, 2019 7:06 AM(GMT+9), Tomas Vondra wrote: >> > > On Fri, Jul 26, 2019 at 07:03:41AM +0000, Jamison, Kirk wrote: >> > > >Overall, the patch is almost already in good shape for commit. >> > > >I'll wait for the next update. > >> > The patch passed the make-world and regression tests as well. >> > I've marked this as "ready for committer". >> >> The patch does not apply anymore. > >Based on the above, it sounds like this patch is super close and the >only problem is bitrot, so I've set it back to Ready for Committer. >Over to Tomas to rebase and commit, or move to the next CF if that's >more appropriate. > I'll move it to the next CF. Aside from the issues pointed by Kyotaro-san in his review, I still haven't made my mind about whether to base the use statistics targets set for the attributes. That's what we're doing now, but I'm not sure it's a good idea after adding separate statistics target. I wonder what Dean's opinion on this is, as he added the current logic. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services