Re: [PERFORM] 8.2.13 commit is taking too much time

2011-05-10 Thread Greg Smith
On 05/10/2011 03:01 AM, AI Rumman wrote: I am using Postgresql 8.2.13 and I found that most of the commits and insert or update statements are taking more than 4s in the db and the app performance is slow for that. My db settings are as follows; bgwriter_all_maxpages | 300 | bgwriter_all

Re: [PERFORM] 8.2.13 commit is taking too much time

2011-05-10 Thread tv
> 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%? Yo

[PERFORM] 8.2.13 commit is taking too much time

2011-05-10 Thread AI Rumman
I am using Postgresql 8.2.13 and I found that most of the commits and insert or update statements are taking more than 4s in the db and the app performance is slow for that. My db settings are as follows; bgwriter_all_maxpages | 300 | bgwriter_all_percent | 15 | bgwriter_delay