| From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
|---|---|
| To: | e(dot)ratnakar(dot)shetty(at)accenture(dot)com |
| Cc: | "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>, daniel(dot)machet(at)accenture(dot)com |
| Subject: | Re: Savepoint and Releasepoint in Logs |
| Date: | 2016-06-19 16:55:16 |
| Message-ID: | CAMkU=1yskCDX8_t8SYu6TT_mE8cob3XWawzSQRxwiPYy2=105A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On Fri, Jun 17, 2016 at 8:19 AM, <e(dot)ratnakar(dot)shetty(at)accenture(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | jonescam | 2016-06-20 14:00:15 | Looking for more Beta Users! |
| Previous Message | meike.talbach | 2016-06-19 09:59:26 | Re: Index not used |