Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIIuy-0002uE-KO for pgsql-bugs@arkaria.postgresql.org; Thu, 23 Jul 2015 16:00:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZIIuy-0005Ay-5J for pgsql-bugs@arkaria.postgresql.org; Thu, 23 Jul 2015 16:00:20 +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.84) (envelope-from ) id 1ZIIuM-0004QM-7g for pgsql-bugs@postgresql.org; Thu, 23 Jul 2015 15:59:42 +0000 Received: from nm1-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.17]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZIIuG-0001pd-W5 for pgsql-bugs@postgresql.org; Thu, 23 Jul 2015 15:59:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1437667173; bh=cIm7hrFyZOzUaedmNC90OrHc/u7HGd8XBErcJT385cY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=QaDND3wYKMpQ/LdLHnzjKZVrOF1Jv7CZwhEkt7kCBcom1OEoRnUYgnyx/bpAEampHZJb473eUNM74146H06oNyehv3SkI81syB0MQxmmic1s3iyLFiwWLodLJU+aChHZ/for4lhHB90jyCLuAxTsI+nj10a8I8EkaKMJEW/C7djbURoVA89k3kVsRBRWE2U1PbA4mw9Y9mIlqHl/CM9WuLgQk1sV2eAxxO5vfFW0KLUA/gVOOKYpyuTa/w/eweKN/hgXMPK5EdCL7cIdZAmoKmxNrFotz/ia4O3A18o4SBiW7KOQYQIIM/zjrfL5quQJ/C9SgPermBj8lqDEGsvbRA== Received: from [98.138.100.102] by nm1.bullet.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 15:59:33 -0000 Received: from [98.138.226.169] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 15:59:33 -0000 Received: from [127.0.0.1] by omp1070.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 15:59:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 935372.14679.bm@omp1070.mail.ne1.yahoo.com X-YMail-OSG: 7nhE2UQVM1ncbVnze52sy2xHQn9f3ja8tlaV5gFjL8.rQHb8p3XWO6hf8wntKYH nblTAl5mlBmboiAFhC79mparlKF6TERGekp2CEjZpYj_BRaFuhvuD4_Prkntbiu0SPPmupkP4HZu X4avmzbcBelwUWYrDvFff6J5MIQktrEFxXyVzbIc3wS8JeTQTzTdeUS0PO8N..TAmLlEwj0sSa_g MzFviBS72hK5Mpvm2krBqdcm_9DcUnftNYBuc.TakA.OEUoQYtRWBEUwkkVDkne1t9nF78pYkdcn DBCx6tFN1VaPp7P2zm0Ad9cEdkrBlkeWzWI5N7Xawc.9CcHj6CHvC0uzONlFxMyI1FWqpRM9_KyF oXfqv1OlE43ws9Puj9pJqBzgqONb00eqDloW.CQC3pZOLKmAoGwlU4in45h4QqoSYcRG8bgH4v1a STEMo17Yn2Ux8B91pGqtmP4v42OC.EDP4gF4IRsADhBPLcYedyAh8pMS8EDvZ5_S1ZAb1xqEEoBj hMtKRZFZwM0qMC98F.juf5kWM6O9iUqGkAVpYsLgB8A8- Received: by 98.138.105.210; Thu, 23 Jul 2015 15:59:33 +0000 Date: Thu, 23 Jul 2015 15:59:32 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Sushant Sinha , "pgsql-bugs@postgresql.org" Message-ID: <566568884.1151081.1437667172831.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Stalled post to pgsql-bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1813 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Sushant Sinha wrote: > On Thu, Jul 23, 2015 at 10:27 AM, wrote: >> After upgrade from postgres 9.4.3 to 9.4.4 I am seeing constant disk writes >> of 4-8MB/s in the background in production. I verified it using iotop and >> vmstat. iotop shows "Total Disk Write" to be minuscule (like 10-100Kbps). It >> is affecting runtime performance. I never noticed this issue with postgres >> 9.4.3. >> >> I increased the shared buffers from 128MB to 1GB and still didn't see any >> benefit. >> >> The website (http://indiankanoon.org) mostly uses text search with gin index >> and some logging of click through data. The main database is replicated >> using "streaming asynchronous replication". >> >> I am going to downgrade it to 9.4.3 to see if the upgrade was the real >> problem. But just wanted to check if anyone else noticed it. > Ok. There is a problem with the patches that went in between > Postgres 9.4.3->9.4.4 > > I downgraded to Postgres 9.4.3 and everythig is normal. "Actual > disk writes" in iostat is pretty much as "Total disk writes" > (between 50-100 Kbps and not in Mbps). "vmstat 1" also shows no > excessive disk writes. Did you notice whether it was an autovacuum process causing the additional I/O in 9.4.4? There were some bugs in 9.4.3 that failed to vacuum away old multi-transaction tracking structures in a timely fashion, causing data loss and database corruption. Once you upgraded a background task was probably trying to make up for the lack of timely maintenance, so that you would not experience those problems. Downgrading may be a little faster for a little while, but you're almost certain to regret doing it very soon.... -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs