Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ4IF-00046i-Mu for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2015 21:17:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZ4IF-0004xt-1O for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2015 21:17:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZ4ID-0004xn-Ov for pgsql-hackers@postgresql.org; Fri, 20 Mar 2015 21:17:21 +0000 Received: from mail-we0-f170.google.com ([74.125.82.170]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YZ4IA-0007QC-Hk for pgsql-hackers@postgresql.org; Fri, 20 Mar 2015 21:17:19 +0000 Received: by webcq43 with SMTP id cq43so91511607web.2 for ; Fri, 20 Mar 2015 14:17:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=6VYemXymGwgPQ1aQBCF8ef2b42neosb9gtRYoe5pZLs=; b=PqGi57ccgrFCirDn7ihAyRoa3pa+H3pV5G0gsSb58RRirOlTYbiRdvyABfQw054UPw 8EvGEeGxldUB5uL/Wr6XeIflME1T/6OVPBH2cheTlqiGqwOA0LtKxVYoiP16NtfTKr+J ByX8CrRKz0iz2aEgV2R+SxJYD+N/bn1y+1NrylJim57rwYT7ESfUd/J5uyBl+75pqJve U/soBt0HwlR9Ao5H+6RmF/J8VErqAjyn2w6sJnGC1vdCG/Nxgm+J3Ab3aBlGqqLqzogp CKDZWBIQKXlzgn8D7FUjEeQIrPxD69hDgHmWR4LPZD+8psnt0jM8WziEteOLh2MaQYcf 1iHg== X-Gm-Message-State: ALoCoQl1nFhzEH+D4sXZLNzlv3EoAMz7WejPDTDi52g1WogwE56Q84Nvgnq0ShnYGwYMaehecHGPZS+pDCJnG7qhEdfMgsX7udJu1lwwEZujeyqdYZP+z8mgdc0GLReuX4xhbjxjVb5iliwVKvO6e0kY8hGfKi75eCZ/LhCYGbS+cn8jZh8Z5qWxgQBpB26nbbtFhUTO4xdG X-Received: by 10.180.75.73 with SMTP id a9mr8222852wiw.45.1426886236281; Fri, 20 Mar 2015 14:17:16 -0700 (PDT) Received: from [192.168.1.163] (ip-78-45-139-138.net.upcbroadband.cz. [78.45.139.138]) by mx.google.com with ESMTPSA id bd1sm527943wib.13.2015.03.20.14.17.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 14:17:15 -0700 (PDT) Message-ID: <550C8E50.2010600@2ndquadrant.com> Date: Fri, 20 Mar 2015 22:17:04 +0100 From: Tomas Vondra Organization: 2ndQuadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Kyotaro HORIGUCHI CC: pgsql-hackers@postgresql.org Subject: Re: WIP: multivariate statistics / proof of concept References: <54C3FED3.1060600@2ndquadrant.com> <20150320.173307.249113775.horiguchi.kyotaro@lab.ntt.co.jp> In-Reply-To: <20150320.173307.249113775.horiguchi.kyotaro@lab.ntt.co.jp> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Hello, On 20.3.2015 09:33, Kyotaro HORIGUCHI wrote: > Hello, > > > Patch 0001 needs changes for OIDs since my patch was > committed. The attached is compatible with current master. Thanks. I plan to submit a new version of the patch in a few days, with significant progress in various directions. I'll have to rebase to current master before submitting the new version anyway (which includes fixing duplicate OIDs). > And I tried this like this, and got the following error on > analyze. But unfortunately I don't have enough time to > investigate it now. > > postgres=# create table t1 (a int, b int, c int); > insert into t1 (select a/ 10000, a / 10000, a / 10000 from > generate_series(0, 99999) a); > postgres=# analyze t1; > ERROR: invalid memory alloc request size 1485176862 Interesting - particularly because this does not involve any multivariate stats. I can't reproduce it with the current version of the patch, so either it's unrelated, or I've fixed it since posting the last version. regards -- Tomas Vondra http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers