Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0xNa-0007W0-1l for pgsql-performance@arkaria.postgresql.org; Fri, 05 Jun 2015 19:34:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z0xNZ-0002Gh-Hy for pgsql-performance@arkaria.postgresql.org; Fri, 05 Jun 2015 19:34:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z0xNY-0002GY-Lk; Fri, 05 Jun 2015 19:34:08 +0000 Received: from cerberus.pinpointresearch.com ([66.7.238.130] helo=polaris.pinpointresearch.com) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z0xNV-0008SD-SV; Fri, 05 Jun 2015 19:34:07 +0000 Received: from [192.168.1.179] (betelgeuse.pinpointresearch.com [192.168.1.179]) by polaris.pinpointresearch.com (Postfix) with ESMTP id 29B11E00EC82; Fri, 5 Jun 2015 12:34:05 -0700 (PDT) Message-ID: <5571F9AD.2060402@pinpointresearch.com> Date: Fri, 05 Jun 2015 12:34:05 -0700 From: Steve Crawford User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Sheena, Prabhjot" , "pgsql-general@postgresql.org" , "pgsql-performance@postgresql.org" Subject: Re: Re: [GENERAL] Re: Query running slow for only one specific id. (Postgres 9.3) version References: <13E39D789E19FF4E9A87F6D456F3F982E86DCC@SEAMBX02.sea.corp.int.untd.com> <13E39D789E19FF4E9A87F6D456F3F982E87042@SEAMBX02.sea.corp.int.untd.com> <5571F857.8000107@pinpointresearch.com> In-Reply-To: <5571F857.8000107@pinpointresearch.com> Content-Type: multipart/alternative; boundary="------------050700020004000802070105" X-Pg-Spam-Score: -1.9 (-) 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 This is a multi-part message in MIME format. --------------050700020004000802070105 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 06/05/2015 12:28 PM, Steve Crawford wrote: > On 06/05/2015 11:38 AM, Sheena, Prabhjot wrote: >> >> When I run vacuum analyze it fixes the problem but after 1 or 2 days >> the problem comes back >> >> > Is autovacuum running and using what settings? > > (select name, setting from pg_settings where name ~ 'autovacuum' > Konsole output or name ~ 'statistics';) > > Cheers, > Steve > > P.S. The convention on the PostgreSQL mailing lists it to bottom-post, > not top-post replies. > Konsole outpor name ~ 'statistics';) And just to confirm, are there any table-specific overrides to the system-wide settings? Cheers, Steve --------------050700020004000802070105 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On 06/05/2015 12:28 PM, Steve Crawford wrote:
On 06/05/2015 11:38 AM, Sheena, Prabhjot wrote:

When I run vacuum analyze it fixes the problem but after 1 or 2 days the problem comes back

=A0


Is autovacuum running and using what settings?

(select name, setting from pg_settings where name ~ 'autovacuum' Konsole output or name ~ 'statistics';)

Cheers,
Steve

P.S. The convention on the PostgreSQL mailing lists it to bottom-post, not top-post replies.
Konsole outpor name ~ 'statistics';)

And just to confirm, are there any table-specific overrides to the system-wide settings?

Cheers,
Steve
--------------050700020004000802070105--