Re: Savepoint and Releasepoint in Logs - Mailing list pgsql-performance

From Jeff Janes
Subject Re: Savepoint and Releasepoint in Logs
Date
Msg-id CAMkU=1yskCDX8_t8SYu6TT_mE8cob3XWawzSQRxwiPYy2=105A@mail.gmail.com
Whole thread Raw
In response to Savepoint and Releasepoint in Logs  (<e.ratnakar.shetty@accenture.com>)
List pgsql-performance
On Fri, Jun 17, 2016 at 8:19 AM,  <e.ratnakar.shetty@accenture.com> wrote:
> Hi ,
>
> I am connecting to PostgreSQL 9.4 via an ODBC driver on Windows machine from
> MS VBA application. I am facing huge performance issues while inserting data
> continuously. On analysing the logs , there were around 90000 statements
> related to Save Points and Release Points.
>
>
>
> duration: 2.000 ms
>
> 2016-06-17 12:45:02 BST LOG:  statement: RELEASE _EXEC_SVP_1018CCF8
>
> 2016-06-17 12:45:02 BST LOG:  duration: 1.000 ms
>
> 2016-06-17 12:45:05 BST LOG:  statement: SAVEPOINT _EXEC_SVP_186EB5C8
>
> 2016-06-17 12:45:05 BST LOG:  duration: 0.000 ms
>
>
>
> I am guessing these statements are causing an overhead while inserting
> records in to the table.


The fact that there is 3 seconds between the release of one savepoint
the start of the next suggests that your client, not the server, is
the dominant bottleneck.

Cheers,

Jeff


pgsql-performance by date:

Previous
From: meike.talbach@women-at-work.org
Date:
Subject: Re: Index not used
Next
From: jonescam
Date:
Subject: Looking for more Beta Users!