Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmLCV-0004uh-M8 for pgsql-general@arkaria.postgresql.org; Sun, 05 Aug 2018 15:44:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fmLCR-0000sw-81 for pgsql-general@arkaria.postgresql.org; Sun, 05 Aug 2018 15:44:07 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmLCR-0000sp-0A for pgsql-general@lists.postgresql.org; Sun, 05 Aug 2018 15:44:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmLCJ-0006yX-Ne for pgsql-general@lists.postgresql.org; Sun, 05 Aug 2018 15:44:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w75FhrRK000397; Sun, 5 Aug 2018 11:43:53 -0400 From: Tom Lane To: Ron cc: pgsql-general@lists.postgresql.org Subject: Re: ALTER TABLE .. SET STATISTICS In-reply-to: <45407d90-85dc-f5ba-58a5-d07fe99e852a@gmail.com> References: <45407d90-85dc-f5ba-58a5-d07fe99e852a@gmail.com> Comments: In-reply-to Ron message dated "Sun, 05 Aug 2018 01:03:01 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <395.1533483833.1@sss.pgh.pa.us> Date: Sun, 05 Aug 2018 11:43:53 -0400 Message-ID: <396.1533483833@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron writes: > For columns of type bytea which store image data (PDFs, JPGs, etc) would it > speed up the ANALYZE process to SET STATISTICS = 0? Should do, though I'm not sure how much of an effect you'd see. regards, tom lane