pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.4
3+ messages / 2 participants
[nested] [flat]
* BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.4
@ 2015-07-23 04:56 sushant@indiankanoon.com
0 siblings, 0 replies; 3+ messages in thread
From: sushant@indiankanoon.com @ 2015-07-23 04:56 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13515
Logged by: Sushant Sinha
Email address: sushant@indiankanoon.com
PostgreSQL version: 9.4.4
Operating system: Linux
Description:
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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.4
@ 2015-07-23 16:04 Sushant Sinha <sushant@indiankanoon.com>
0 siblings, 0 replies; 3+ messages in thread
From: Sushant Sinha @ 2015-07-23 16:04 UTC (permalink / raw)
To: Kevin Grittner <kgrittn@ymail.com>; +Cc: pgsql-bugs
Do not think so. It was a continuous disk write even when there was no
autovacuum process running. It was happening even on a database in which
there were no inserts/deletes/modify and did vacuum manually.
On Thu, Jul 23, 2015 at 9:29 PM, Kevin Grittner <kgrittn@ymail.com> wrote:
> Sushant Sinha <sushant@indiankanoon.com> wrote:
> > On Thu, Jul 23, 2015 at 10:27 AM, <pgsql-bugs-owner@postgresql.org>
> 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
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.
@ 2015-08-11 04:30 Sushant Sinha <sushant@indiankanoon.com>
0 siblings, 0 replies; 3+ messages in thread
From: Sushant Sinha @ 2015-08-11 04:30 UTC (permalink / raw)
To: pgsql-bugs
I have reported this bug earlier of much higher disk writes after upgrading
from Postgres 9.4.3 to 9.4.4. I wanted to check if I should produce any
other details for fixing the issue.
After upgrade from postgres 9.4.3 to 9.4.4 I was 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)
but high
"Actual disk writes". It is affecting runtime performance. Postgres
9.4.3 does not have this issue.
It was a continuous disk write even when there was no autovacuum process
running.
It was happening even on a database in which there were no
inserts/deletes/modify
and did vacuum manually.
-Sushant,
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2015-08-11 04:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 04:56 BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.4 sushant@indiankanoon.com
2015-07-23 16:04 Re: BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4.4 Sushant Sinha <sushant@indiankanoon.com>
2015-08-11 04:30 Re: BUG #13515: Much higher disk writes after postgres upgrade 9.4.3->9.4. Sushant Sinha <sushant@indiankanoon.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox