Re: [PERFORM] Good performance? - Mailing list pgsql-jdbc

From Rafal Kedziorski
Subject Re: [PERFORM] Good performance?
Date
Msg-id 3E50C6A2.2000504@polonium.de
Whole thread Raw
In response to Good performance?  (Rafal Kedziorski <rafcio@polonium.de>)
List pgsql-jdbc
Tomasz Myrta wrote:

> Rafal Kedziorski wrote:
> <cut>
>
>> after set autocommit false, I need 0,9 - 1,04 seconds for insert 1000
>> new entries into my table. is this normal, that autocommit false is
>> 40-50 times slower?
>>
>>
>> Rafal
>
> It is possible when you have "fsync=false" in your postgresql.conf.
> (don't change it if you don't have to).

fsync is:
#fsync = true

but there are my new start options: postmaster -i -o -F -D ...

after set fsync false I get this Performance for creating new entries
with entity beans:

needed 9223 for creating 1000 entries

instead of about 50.000 milliseconds. it's possible to make it faster?


Rafal

> Regards,

> Tomasz Myrta



pgsql-jdbc by date:

Previous
From: Rafal Kedziorski
Date:
Subject: Re: Good performance?
Next
From: Rafal Kedziorski
Date:
Subject: Re: [PERFORM] Good performance?