pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dang Minh Huong <kakalot49@gmail.com>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Degradation of performance when upgrade psqlodbc to 09.03.0400
Date: Tue, 9 Feb 2016 20:13:37 +0900
Message-ID: <A38ECDFE-0499-4859-A0DD-832050A9B6F1@gmail.com> (raw)
In-Reply-To: <56B91F81.7000703@dream.email.ne.jp>
References: <016BF0E2-C52D-4D78-84C4-FB25BB04005C@gmail.com>
	<56B3B4A8.7040704@iki.fi>
	<7430C065-C285-4EC4-833A-640BBE845FB5@gmail.com>
	<1ECC4FD6-11B3-4D87-AED6-AB6B576BFF43@gmail.com>
	<27F26780-FF99-428F-AD59-496734F3CE7B@gmail.com>
	<56B91F81.7000703@dream.email.ne.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Inoue-san,

Thanks for response.
And so sorry for disturbing you at this time.
Please ask if you need aditional information.

I also analyzed PostgreSQL's log.  Generally it became slower 
(number of executed SQL statements in a period of time are degraded)
when using 09.03.0100~.

And, it sounds that number of CPUs is related to the degration difference.
In 2 environments i have tested,
First one with 8 cores (64GB memory) and the degration as i showed 
in previous mail. In the other with 10 cores (64GB memory), the degration 
difference become lesser.

Thanks and best regards.
bocap

> On Feb 9, 28 Heisei, at 08:06, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:
> 
> Hi Dang,
> 
> On 2016/02/08 22:54, Dang Minh Huong wrote:
>> Hi, 
>> 
>>> I have tested some version of psqlODBC between 09.00.0310 ~ 09.03.0400,
>>> and found that exactly version 09.03.0100 made the  degradation of performance
>>> in executing my batch (it is not related to replication, i found that).
>>> 
>>> I will try to find out which commit did it and how to avoid this issues.
>>> 
>> 
>> I have confirmed commits in version 09.03.0100 and found that, 
>> the below commit exactly caused the degration of perfomance.
>> 
>>  <http://git.postgresql.org/gitweb/?p=psqlodbc.git;a=commitdiff;h=9fd39495580ada6ff7d989d19fa9f83ed3b2... <http://git.postgresql.org/gitweb/?p=psqlodbc.git;a=commitdiff;h=9fd39495580ada6ff7d989d19fa9f83ed3b2...;
>> 
>> MSDTC is not related to my application (i'm using unixODBC). So, the other 
>> changes in above commit made performance down, but i am not clearly what 
>> they are.
>> Could you confirm for me the above commit.
>> 
> 
> Hmm, it's strange.
> Anyway I would examine the commit.
> 
> regards,
> Hiroshi Inoue

view thread (22+ messages)  latest in thread

Message-ID: <A38ECDFE-0499-4859-A0DD-832050A9B6F1@gmail.com>
Permalink:  ../A38ECDFE-0499-4859-A0DD-832050A9B6F1@gmail.com/
Also on:    postgresql.org/message-id/A38ECDFE-0499-4859-A0DD-832050A9B6F1@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: kakalot49@gmail.com, h-inoue@dream.email.ne.jp, hlinnaka@iki.fi
  Subject: Re: Degradation of performance when upgrade psqlodbc to 09.03.0400
  In-Reply-To: <A38ECDFE-0499-4859-A0DD-832050A9B6F1@gmail.com>
  References: <016BF0E2-C52D-4D78-84C4-FB25BB04005C@gmail.com> <56B3B4A8.7040704@iki.fi> <7430C065-C285-4EC4-833A-640BBE845FB5@gmail.com> <1ECC4FD6-11B3-4D87-AED6-AB6B576BFF43@gmail.com> <27F26780-FF99-428F-AD59-496734F3CE7B@gmail.com> <56B91F81.7000703@dream.email.ne.jp> <A38ECDFE-0499-4859-A0DD-832050A9B6F1@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox