Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFBd6-0006Qb-NM for pgsql-performance@arkaria.postgresql.org; Sun, 25 Jan 2015 01:04:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YFBd6-0007wu-3K for pgsql-performance@arkaria.postgresql.org; Sun, 25 Jan 2015 01:04:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YFBd5-0007wn-24 for pgsql-performance@postgresql.org; Sun, 25 Jan 2015 01:04:43 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFBcw-00037z-8B for pgsql-performance@postgresql.org; Sun, 25 Jan 2015 01:04:41 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id CDC1911A051A for ; Sat, 24 Jan 2015 17:04:32 -0800 (PST) Date: Sat, 24 Jan 2015 18:04:31 -0700 (MST) From: AlexK987 To: pgsql-performance@postgresql.org Message-ID: <1422147871674-5835344.post@n5.nabble.com> In-Reply-To: <54C43D93.9030608@2ndquadrant.com> References: <1422142399144-5835339.post@n5.nabble.com> <54C43D93.9030608@2ndquadrant.com> Subject: Re: How to tell ANALYZE to collect statistics from the whole table? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Tomas, Thank you for a very useful reply. Right now I do not have a case of poor performance caused by strong data skew which is not properly reflected in statistics. I was being defensive, trying to prevent every possible thing that might go wrong. -- View this message in context: http://postgresql.nabble.com/How-to-tell-ANALYZE-to-collect-statistics-from-the-whole-table-tp5835339p5835344.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance