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 1hhUMN-0003Yi-PP for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2019 07:34:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hhUMM-0007ZG-L1 for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2019 07:34:50 +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 1hhUMM-0007Z8-96 for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2019 07:34:50 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hhUMK-0006BH-Bv for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2019 07:34:49 +0000 Received: by mail-ed1-x529.google.com with SMTP id e3so17659120edr.10 for ; Sun, 30 Jun 2019 00:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kFgUo15yhbxs7HS0S3bfXrD1D7z4DNRuvXRbFFd5sMI=; b=mtZYKLaBO9Wn8nATA00+wwcsKyEiszm7eoQvZE5frIZTnWN7e8n+UpkV6kmszNALTW /Qu9rVA7Q9fVHYHIOpW0Dg1j+TNUogDPdPs/h1Bc7BM/9Nv3JWm3xhZoPHNQSAJLfYza 5wWJ6s4VQYMa0o0OCgGEeokcGF8hIxRisTXj/EbbOxNlk2QbdkBXskA3Xl4izzPtd1sd Q7OI8kdwmggyctNiY/1V26nt07x+Y5hEVFPpPC2y1O+EjTHY1UcTFoFDuFv2WXy2xcyq /VTeP1wKpiE0oytRID5pQOeR5Ppo+10A+NLgMe+huO0+VxYWwPg7ChQJxJ/soCmB9xzX JZ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kFgUo15yhbxs7HS0S3bfXrD1D7z4DNRuvXRbFFd5sMI=; b=Mc0KTcZgXg4O6JUhfTeoLPBNRPayhZn0+eysCYjzYtW/5IziDR4+x+VExsd4hx1yMs 64o/IWhQ1crA9NIkTgA17H1CKG+6dYGGr59yw6P7nzgjD+YHibClgb5KRU0LyafdRAIN 6GB4b5wSrB4z4zVNQ0IZtK+UI6yv2bowycRtnpzhYFWtM5ppYgz2pJjHTvmMyBem5OfJ 3e7qatvnTr1IyDnrGYqQiUZNF+nGnIBaKXkTtukm4MvvNyb6CerbgV+TrrozbqEHmCDv aIDhpyfUEOrJo5RcobZ5oWGlhw95RRkOk8rPu1IhgtqGFmLm6eXo02roeSe7jK6BY6jL 4/2w== X-Gm-Message-State: APjAAAXF23qgg/vIElCLXw3ht9/t2iBJamESu7FEuX+V5sx5KPUDNZtH 4ndR9l/dAqNag4+pJVBqJ5jT0/fxXlv7LoHExDLBNA== X-Google-Smtp-Source: APXvYqzwUQ+hFehoamwVXQ80hD2lFu8hFEHtPN4BdWP+mXG3LNT+4N8UEWF4Q0cN/s1QqBlJ0RmoIE/4UzjF0c6T5RM= X-Received: by 2002:a17:906:3612:: with SMTP id q18mr17426201ejb.278.1561880085962; Sun, 30 Jun 2019 00:34:45 -0700 (PDT) MIME-Version: 1.0 References: <20190618213357.vli3i23vpkset2xd@development> <20190620221250.jk62m4j7kr77qkzg@development> In-Reply-To: From: David Rowley Date: Sun, 30 Jun 2019 19:34:32 +1200 Message-ID: Subject: Re: Multivariate MCV list vs. statistics target To: Dean Rasheed Cc: Tomas Vondra , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 21 Jun 2019 at 19:09, Dean Rasheed wrote: > Hmm, maybe. I can certainly understand your dislike of using text[]. > I'm not sure that we can confidently say that multivariate statistics > won't ever need additional tuning knobs, but I have no idea at the > moment what they might be, and nothing else has come up so far in all > the time spent considering MCV lists and histograms, so maybe this is > OK. I agree with having the stxstattarget column. Even if something did come up in the future, then we could consider merging the stxstattarget column with a new text[] column at that time. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services