Re: 8.2.13 commit is taking too much time - Mailing list pgsql-performance

From tv@fuzzy.cz
Subject Re: 8.2.13 commit is taking too much time
Date
Msg-id 53eef814d1a20e20fe059ff7298774f1.squirrel@sq.gransy.com
Whole thread Raw
In response to 8.2.13 commit is taking too much time  (AI Rumman <rummandba@gmail.com>)
List pgsql-performance
> Any idea how to improve the performance?

Hmmm, I guess we'll need more info about resource usage (CPU, I/O, locks)
used when the commit happens. Run these two commands

$ iostat -x 1
$ vmstat 1

and then execute the commit. See what's causing problems. Is the drive
utilization close to 100%? You've problems with disks (I'd bet this is the
cause). Etc.

There's a very nice chapter about this in Greg's book.

BTW what filesystem are you using? Ext3, ext4, reiserfs, xfs? I do
remember there were some problems with sync, that some filesystems are
unable to sync individual files and always sync everything (which is going
to suck if you want to sync just the WAL).

regards
Tomas


pgsql-performance by date:

Previous
From: Thomas Hägi
Date:
Subject: Re: indexes ignored when querying the master table
Next
From: Merlin Moncure
Date:
Subject: Re: Postgres refusing to use >1 core