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 1fmC8G-0004ZP-7f for pgsql-general@arkaria.postgresql.org; Sun, 05 Aug 2018 06:03:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fmC8B-0001tq-QE for pgsql-general@arkaria.postgresql.org; Sun, 05 Aug 2018 06:03: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 1fmC8B-0001tj-GN for pgsql-general@lists.postgresql.org; Sun, 05 Aug 2018 06:03:07 +0000 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fmC88-0002Nw-M0 for pgsql-general@lists.postgresql.org; Sun, 05 Aug 2018 06:03:06 +0000 Received: by mail-oi0-x243.google.com with SMTP id b16-v6so3418404oic.9 for ; Sat, 04 Aug 2018 23:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=6LsZe+QUxatYz65CxluhQJBxOf3YqJy2C2ov2V9ln1A=; b=G4RR3xoal/8gZRLR3kVqO/cnvtgxMCLTsfbYjJHgaVeOn79l8xqLDmsGzOnnjDtbiO p1yIqQKF4Ge9WUKU51hFO03aMJCw/9F77Hvg/3hAmcrYCHUeAwMaaZHZy4gLVAy5lIcg KWM7U+/Z1aFrzqS0F4dd1Wc6M37R+G3sRVThP69LTAPhKqgdrsiCD2Ep4Gj6nJmoaSGd 3E/kH41oFoYppTt2AjvSC+mNT0h4DnebSWIal2CcZiwh/WFMJs308ZUQc/qI7bdf+Fcm UUjagEoOhOiLqZ7MbDb7M6NqHR02ovDQR92eroNeZ5Sb3fERpzVSpMoBbAt6SFLAaeDD Sd6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=6LsZe+QUxatYz65CxluhQJBxOf3YqJy2C2ov2V9ln1A=; b=Bk4PnvlUImyOB50WBScA2fyklKP34vuD9mG6w6wOd28nFcMsVCqqy3G02nB8QnWXUb 8o55WyUwUCn8E7EmGfQVLRQ5yWr5lQMmXKub/PC+uQEfIHFxrJfgKYqnd6BmUUWffJpW D8jPi7mae7uwOsgbJ+e1DfSyC+PK5nAOYWyfSqU87IOaeVHwRexo+bdqWMU/dgQS9Kw3 N3aTA5sQxdAxcEKgOwPCpYRzQcHBo7kWR7pQgf0qP9rqPnKj2FM/FHxB20IZ/YrscHk/ txrrg0cepWJ0KnDhLPw4oYiET0PcCmU3sVh0n//oxDW0sjdtLEv3WNXLjPJjilUwU9M9 ogew== X-Gm-Message-State: AOUpUlFjs5IIOhxjmxYeRz0iGyCG/Ki/Z011XLPiqfuBCwvQz36tdnTR +aI0j+qF7PRk3GxtVHjwYQQazmrk X-Google-Smtp-Source: AAOMgpdotrZlgH6TAQSn3gQ/gAnPgDnTpuNo8BhOd/FymmBnCLyv8jNAdLODJVS732XCcJZ7f/JC7A== X-Received: by 2002:aca:5a45:: with SMTP id o66-v6mr9106563oib.155.1533448982549; Sat, 04 Aug 2018 23:03:02 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id m203-v6sm11377154oig.42.2018.08.04.23.03.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Aug 2018 23:03:01 -0700 (PDT) To: pgsql-general@lists.postgresql.org From: Ron Subject: ALTER TABLE .. SET STATISTICS Message-ID: <45407d90-85dc-f5ba-58a5-d07fe99e852a@gmail.com> Date: Sun, 5 Aug 2018 01:03:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk v9.6.9 For columns of type bytea which store image data (PDFs, JPGs, etc) would it speed up the ANALYZE process to SET STATISTICS = 0? That way, default_statistics_target could be cranked higher -- giving better statistics for needed columns -- without polluting pg_statistics with unneeded data? Thanks -- Angular momentum makes the world go 'round.