Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aT6Et-0004TQ-K8 for pgsql-odbc@arkaria.postgresql.org; Tue, 09 Feb 2016 11:13:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aT6Et-0000Qa-61 for pgsql-odbc@arkaria.postgresql.org; Tue, 09 Feb 2016 11:13:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aT6Es-0000QU-TJ for pgsql-odbc@postgresql.org; Tue, 09 Feb 2016 11:13:46 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aT6Eo-0001l7-FX for pgsql-odbc@postgresql.org; Tue, 09 Feb 2016 11:13:46 +0000 Received: by mail-pf0-x229.google.com with SMTP id e127so30749158pfe.3 for ; Tue, 09 Feb 2016 03:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=GfRefOEC36v8Cp1mbi+OTtQ3FhVKRmdGtlTp5LE+R9A=; b=Q7Uvsa3vvnOBi/6mUZZ72rRQdHjmsL+U1m/E/fbT6Uh8nZxqNnE5FEvncIfb59IgdX p1PpSuZVDvS/f0ZhzUbbBYIPTqKP/Ew5G2xQZNelsB+tfJ4mhgCMc/mQyQdQcGR9vjJs GWDDQ9SD9Ib9MosorPy2DZDfdQfBfN0DP4WpIZQ/ckcFWRhd7lBMSinUsiDwGlMUCEvP I0QRiIVFie5Yh5PUo8Sk16a2+y2OSdILzsMtCpMJK2ITs5d/r+KzBWQrMavs58VsgP5K Rb5zNjwURHK7tEwoBZnM/sj8Z05dWbIM+JnYDl3skcELCFCIMCiRz+/aU7B75cRZsc1F Vp2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=GfRefOEC36v8Cp1mbi+OTtQ3FhVKRmdGtlTp5LE+R9A=; b=G6Gywgu0aZDa/xP2JlzLgdc9OUjnljomgxuCtkCQ2+EY9pVR+AHVBRzzytvtBHl5kN h5LSlE3wEYJQdGrP+1U0qgtKoUw1RxcfRLd7aXRFi9vXg2/cskENkjyNgcR5UapQ+xo/ gbyadl6aUPIPzlZrUPW8lOJY1TSpOvFmffUVTvS4t2zpP0JKjlcImRkU+NpE5Ioctadb WXM4MzRKd3dnaFh4CVYqGfaZno2a0mcUTa9LmjUnGc3jh4b7GEsHLACzlb74gaT3s3px XnrvOrG8DLvarFQwP1POfTXXGIF1FdP+z9zvuVcntgq5ABZE+q1llfvrxPeCV6YCtQ/x rfQQ== X-Gm-Message-State: AG10YOR0rJ7aG2uRm+TNokTis8QjI2IeHEjEqJmVh0B2DF7IfqSUQkY8RazASQ/znT8eOQ== X-Received: by 10.98.17.129 with SMTP id 1mr49820093pfr.30.1455016420292; Tue, 09 Feb 2016 03:13:40 -0800 (PST) Received: from [192.168.179.5] (KD119104109024.au-net.ne.jp. [119.104.109.24]) by smtp.gmail.com with ESMTPSA id b2sm3659639pfd.24.2016.02.09.03.13.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Feb 2016 03:13:38 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_D3EE3485-E197-4726-8860-3CAE3D5C984D" Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Degradation of performance when upgrade psqlodbc to 09.03.0400 From: Dang Minh Huong In-Reply-To: <56B91F81.7000703@dream.email.ne.jp> Date: Tue, 9 Feb 2016 20:13:37 +0900 Cc: Heikki Linnakangas , pgsql-odbc@postgresql.org Message-Id: 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> To: "Inoue, Hiroshi" X-Mailer: Apple Mail (2.3112) X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org --Apple-Mail=_D3EE3485-E197-4726-8860-3CAE3D5C984D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 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=20 (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=20 in previous mail. In the other with 10 cores (64GB memory), the = degration=20 difference become lesser. Thanks and best regards. bocap > On Feb 9, 28 Heisei, at 08:06, Inoue, Hiroshi = wrote: >=20 > Hi Dang, >=20 > On 2016/02/08 22:54, Dang Minh Huong wrote: >> Hi,=20 >>=20 >>> 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). >>>=20 >>> I will try to find out which commit did it and how to avoid this = issues. >>>=20 >>=20 >> I have confirmed commits in version 09.03.0100 and found that,=20 >> the below commit exactly caused the degration of perfomance. >>=20 >> = http://git.postgresql.org/gitweb/?p=3D= psqlodbc.git;a=3Dcommitdiff;h=3D9fd39495580ada6ff7d989d19fa9f83ed3b2c82e = >>=20 >> MSDTC is not related to my application (i'm using unixODBC). So, the = other=20 >> changes in above commit made performance down, but i am not clearly = what=20 >> they are. >> Could you confirm for me the above commit. >>=20 >=20 > Hmm, it's strange. > Anyway I would examine the commit. >=20 > regards, > Hiroshi Inoue --Apple-Mail=_D3EE3485-E197-4726-8860-3CAE3D5C984D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 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:

=20 =20
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.


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

= --Apple-Mail=_D3EE3485-E197-4726-8860-3CAE3D5C984D--