Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THUQr-00078e-DF for pgsql-performance@postgresql.org; Fri, 28 Sep 2012 06:52:17 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THUQp-0007ND-2z for pgsql-performance@postgresql.org; Fri, 28 Sep 2012 06:52:16 +0000 Received: by wibhr7 with SMTP id hr7so3002400wib.1 for ; Thu, 27 Sep 2012 23:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=vU13SLieCIncTBgmvQ6M5wNJkFDNYX2dzCkTnr5XMsU=; b=GVcpT8ucRQltd9pI2UWN+NlAjqI0Mrpsg7ghCBEF8lQdsCz2u6hCrOKN+h0bCi2/iZ /kTX+oDALVTmfxUQlx0iDetAXK50iprJodA4EhOg7jnkFksS7FIUUiO6KYr6BsHME3OP Db6/ABHjBI7jZD00tH627ROs1/4aS+k5pRQ6hH7DV9pCJkem4JMNh4rhEAsNCsxUHowM EjrN0VHlJCUt7/ukeoAHpPvh2a39Fm+BJBeR2fl+4crqwOqYg2VtrVE3DFZcrn6ZZix6 2JDr8qCXsJLLSxz6HSrVojWljGE/S8pVfksceX0EyGYfp54yNcdD0Y7Iee66mIJt4wQu pJ3Q== Received: by 10.181.13.239 with SMTP id fb15mr1720544wid.22.1348815133659; Thu, 27 Sep 2012 23:52:13 -0700 (PDT) Received: from [192.168.1.103] (kstr60.static.otenet.gr. [79.129.45.250]) by mx.google.com with ESMTPS id fb20sm17588949wid.1.2012.09.27.23.52.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 23:52:12 -0700 (PDT) Subject: Re: Postgres becoming slow, only full vacuum fixes it Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Kiriakos Tsourapas In-Reply-To: <34C83EA2-7004-4D37-9674-ADFB4A475C07@gmail.com> Date: Fri, 28 Sep 2012 09:52:10 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com> References: <20120926113953.221020@gmx.com> <34C83EA2-7004-4D37-9674-ADFB4A475C07@gmail.com> To: pgsql-performance@postgresql.org X-Mailer: Apple Mail (2.1278) X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/188 X-Sequence-Number: 47934 Dear all, Just letting you know that making the autovacuum policy more aggressive = seems to have fixed the problem. It's been 4 days now and everything is running smoothly. Just a reminder, what I changed was : autovacuum_vacuum_scale_factor =3D 0.01 autovacuum_analyze_scale_factor =3D 0.005 making autovacuum run at 1% instead of 20% (the dafault) and the analyze = run at 0,5% instead of 10%. Maybe it's more aggressive than needed... I will monitor and post back. Thank you all for your help.=