Re: [PERFORM] Postgres is using 100% CPU

2015-06-02 Thread Ashik S L
Thanks everyone for your response. I will try these settings. On Tue, Jun 2, 2015 at 1:28 PM, Graeme B. Bell wrote: > > I believe yes / 0 are the default settings for synchronous commit and > commit_delay. ** (Interestingly the manual pages do not specify.) ** > > Sorry, I've just spotted the

Re: [PERFORM] Postgres is using 100% CPU

2015-06-02 Thread Graeme B. Bell
> I believe yes / 0 are the default settings for synchronous commit and > commit_delay. ** (Interestingly the manual pages do not specify.) ** Sorry, I've just spotted the settings in the text. The statement (marked **) is incorrect. Defaults are yes/0. (http://www.postgresql.org/docs/9.4/

Re: [PERFORM] Postgres is using 100% CPU

2015-06-02 Thread Graeme B. Bell
On Sun, May 31, 2015 at 7:53 PM, Yves Dorfsman wrote: >> That's the thing, even on an old laptop with a slow IDE disk, 273 > individual >> inserts should not take more than a second. > I think that would depend on settings such as synchronous_commit, commit_delay, or whether 2-phase commit is