From: | Dan Armbrust <daniel(dot)armbrust(dot)list(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Checkpoint Tuning Question |
Date: | 2009-07-13 20:53:57 |
Message-ID: | 82f04dc40907131353hde7a613x558c5125ce20d6ad@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> So this thought leads to a couple of other things Dan could test.
> First, see if turning off full_page_writes makes the hiccup go away.
> If so, we know the problem is in this area (though still not exactly
> which reason); if not we need another idea. That's not a good permanent
> fix though, since it reduces crash safety. The other knobs to
> experiment with are synchronous_commit and wal_sync_method. If the
> stalls are due to commits waiting for additional xlog to get written,
> then async commit should stop them. I'm not sure if changing
> wal_sync_method can help, but it'd be worth experimenting with.
>
> regards, tom lane
>
All of my testing to date has been done with synchronous_commit=off
I just tried setting full_page_writes=off - and like magic, the entire
hiccup went away.
Thanks,
Dan
From | Date | Subject | |
---|---|---|---|
Next Message | Jamie Fox | 2009-07-13 21:13:37 | large object does not exist after pg_migrator |
Previous Message | Josh Berkus | 2009-07-13 20:33:40 | Re: LAPUG Social - Tuesday Evening July 14 |