public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jeff Janes <[email protected]>
To: [email protected]
Cc: [email protected] <[email protected]>
Cc: [email protected]
Subject: Re: Savepoint and Releasepoint in Logs
Date: Sun, 19 Jun 2016 09:55:16 -0700
Message-ID: <CAMkU=1yskCDX8_t8SYu6TT_mE8cob3XWawzSQRxwiPYy2=105A@mail.gmail.com> (raw)
In-Reply-To: <632c061e261d478699e48af2a24363a7@CO2PR4202MB0281.048d.mgd.msft.net>
References: <632c061e261d478699e48af2a24363a7@CO2PR4202MB0281.048d.mgd.msft.net>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

On Fri, Jun 17, 2016 at 8:19 AM,  <[email protected]> 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


-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance




reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Savepoint and Releasepoint in Logs
  In-Reply-To: <CAMkU=1yskCDX8_t8SYu6TT_mE8cob3XWawzSQRxwiPYy2=105A@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox