Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 8A900B5D803 for ; Tue, 30 Aug 2011 15:35:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 02727-02 for ; Tue, 30 Aug 2011 18:35:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og123.obsmtp.com (exprod7og123.obsmtp.com [64.18.2.24]) by mail.postgresql.org (Postfix) with ESMTP id 3879CB5DBE0 for ; Tue, 30 Aug 2011 15:35:38 -0300 (ADT) Received: from mail-fx0-f54.google.com ([209.85.161.54]) (using TLSv1) by exprod7ob123.postini.com ([64.18.6.12]) with SMTP ID DSNKTl0teeyp56P/SoidtevDMIBrVZWFEiJX@postini.com; Tue, 30 Aug 2011 11:35:38 PDT Received: by fxe4 with SMTP id 4so10324748fxe.27 for ; Tue, 30 Aug 2011 11:35:36 -0700 (PDT) Received: by 10.223.53.201 with SMTP id n9mr350193fag.26.1314729335928; Tue, 30 Aug 2011 11:35:35 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id p11sm4787873faa.46.2011.08.30.11.35.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Aug 2011 11:35:34 -0700 (PDT) Message-ID: <4E5D2D74.1060100@enterprisedb.com> Date: Tue, 30 Aug 2011 21:35:32 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.20) Gecko/20110820 Icedove/3.1.12 MIME-Version: 1.0 To: Lampa CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6186: out of memory while analyze References: <201108301120.p7UBKKoJ094519@wwwmaster.postgresql.org> In-Reply-To: <201108301120.p7UBKKoJ094519@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/196 X-Sequence-Number: 31008 On 30.08.2011 14:20, Lampa wrote: > Trying analyze table (ANALYZE TABLE table or VACUUM ANALYZE table) with > 3051316 rows (displayed size 2521MB in \dt+) > > Log: > ... > Analyze: 2236767256 total in 279 blocks; 18080 free (423 chunks); > 2236749176 used > ... Hmm, that looks like a memory like in ANALYZE. What does the table look like? "\d table" would be helpful. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com