Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aU4e6-0005Ee-PJ for pgsql-odbc@arkaria.postgresql.org; Fri, 12 Feb 2016 03:43:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aU4e5-00064S-8T for pgsql-odbc@arkaria.postgresql.org; Fri, 12 Feb 2016 03:43:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aU4e3-00063x-BK for pgsql-odbc@postgresql.org; Fri, 12 Feb 2016 03:43:47 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aU4dy-0004C6-JS for pgsql-odbc@postgresql.org; Fri, 12 Feb 2016 03:43:45 +0000 Received: by mail-pa0-x235.google.com with SMTP id fl4so27767481pad.0 for ; Thu, 11 Feb 2016 19:43: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 :content-transfer-encoding:message-id:references:to; bh=nEVbMWtYnANNAt38J+elRKgo7HLvq1PLkHi+0RyOFMY=; b=SlDqyHH/L/LK7W+aqXMjZmTUax9IUd4DAVq3c1ZgoIV0NZexx9Jdsw9YRfRnf2HBfq UzV0nyiyIfVwxhJ9jMEkqFi20sRHktYVXD3mnV/Y2ZO5qw1isRmQW2VvU2HSlkjJ0OX6 JNlQSVAsSWoVSqvv/AoMj2EkwTh3mnwUJm1aVR7aa86k2DpRQruk8aKgI9AwssHxMlHs /YNttF8DUad8S9SztJRc75RdDHln5i3+X3gaL+jRp2rdVSo+R1+XENGPDofxJ38YKINw hX5OUG/+xW/8zk2LAgpFPJIutAcxRX5tMAzUeRTF7bPbCcenhlcmhrj7iBwjSGJv/wFR yetA== 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:content-transfer-encoding:message-id:references :to; bh=nEVbMWtYnANNAt38J+elRKgo7HLvq1PLkHi+0RyOFMY=; b=gSsxh6SLa3K0bqTpliulA/iQVWOCHqEjbOvKKv14ibQPoprLuLBWfv+Z16BSW5+HDY Z8grOUoMpruvlwApmz1twCLSj9eTx2mgLoFJtzJuZ595MoMxU1KeU5/JBV16rsELjBM6 VjAFoMON3qYjBCnuYaU5UQErrcEU419BgqiPWfSiXhd6Ti52eB+/qrC23mHks2yjaLKL VK/WNLlPwTEy1203HMI0l9kZTjrWNpCX+G66R7WDj43dQ+M+uF78y0M0f6mubSIk59X5 hndSpFGgg88mdCz7I/B6iY1ysvaPNHSRD6vZdI9RPFI3Tf2o0XzkOdHoWLGVKwgx2hri xwjg== X-Gm-Message-State: AG10YORQNwYnQsQ5Z4cQpdppThnPOyU+h+QDsxM9sN+w2m3BbnwhDVV084ATPX9bjhPHDQ== X-Received: by 10.66.189.165 with SMTP id gj5mr10782656pac.152.1455248621216; Thu, 11 Feb 2016 19:43:41 -0800 (PST) Received: from [100.124.225.193] (s646032.xgsspn.imtp.tachikawa.spmode.ne.jp. [49.98.146.32]) by smtp.gmail.com with ESMTPSA id 87sm9001348pfq.93.2016.02.11.19.43.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Feb 2016 19:43:39 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-83CFB9F1-581B-4DC4-859E-8533DBD9C898 Mime-Version: 1.0 (1.0) Subject: Re: Degradation of performance when upgrade psqlodbc to 09.03.0400 From: Dang Minh Huong X-Mailer: iPhone Mail (13D15) In-Reply-To: <82081927-3E42-41A3-9B74-4608328A65EF@gmail.com> Date: Fri, 12 Feb 2016 12:43:36 +0900 Cc: Heikki Linnakangas , pgsql-odbc@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: <7014C22C-EFBE-4C47-8CE0-B1C20DA3FF91@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> <56BA9A91.5070309@dream.email.ne.jp> <45A6CCC4-94FF-4599-9478-19A595E6B9E2@gmail.com> <56BB3A07.3080804@dream.email.ne.jp> <1EDD2A39-78FA-4C80-AC35-9C9FF658C94F@gmail.com> <56BC7EAB.80102@dream.email.ne.jp> <82081927-3E42-41A3-9B74-4608328A65EF@gmail.com> To: "Inoue, Hiroshi" X-Pg-Spam-Score: -1.9 (-) 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-83CFB9F1-581B-4DC4-859E-8533DBD9C898 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Inoue-san, > Hi Inoue-san, >=20 >> Hi Dang, >>=20 >> Doesn't your odbc.ini or connection string contain SOCKET option? >=20 > odbc.ini does not contain SOCKET option. > I will check the app whether contain it in connection string or not. > And reply you soon. >=20 Connection string also not contain SOCKET option (only DSN is set in there).= Thanks and best regards, bocap > Thanks and best regards. > bocap >=20 >> regards, >> Hiroshi Inoue >>=20 >>> On 2016/02/11 8:44, Dang Minh Huong wrote: >>> Hi Inoue-san, >>>=20 >>> Sorry for my lately response. >>> I am not remember exactly now, but they are like below. >>> # only connection related parameters=20 >>>=20 >>> odbc.ini >>>=20 >>> [PostgreSQL] >>> Driver =3D PostgreSQLDriver >>> Database =3D testdb >>> Servername =3D localhost >>> UserName =3D postgres >>> Password =3D postgres >>> Port =3D 5432 >>>=20 >>> odbcinst.ini >>>=20 >>> [PostgreSQLDriver] >>> Description =3D PostgreSQL Driver >>> Driver =3D [path to libodbcpsqlw.so file] >>>=20 >>> Thanks and best regards, >>> bocap >>>=20 >>>> On Feb 10, 28 Heisei, at 22:24, Inoue, Hiroshi wrote: >>>>=20 >>>> Hi Dang, >>>>=20 >>>> Thanks. >>>>=20 >>>> How are you setting your ODBC.INI(and ODBCINST.INI)? >>>>=20 >>>> regards, >>>> Hiroshi Inoue >>>>=20 >>>>> On 2016/02/10 12:20, Dang Minh Huong wrote: >>>>> Hi Inoue-san, >>>>>=20 >>>>>=20 >>>>>> Hi Dang, >>>>>>=20 >>>>>>> On 2016/02/09 20:13, Dang Minh Huong wrote: >>>>>>> Hi Inoue-san, >>>>>>>=20 >>>>>>> Thanks for response. >>>>>>> And so sorry for disturbing you at this time. >>>>>>> Please ask if you need aditional information. >>>>>>=20 >>>>>> Are your applications multi-threaded or multi-process? >>>>>> How many connections do your applications use? >>>>>=20 >>>>> It is about 5 connections. And one of them do almost task. >>>>> DB lock wait also not occured as my confirm. >>>>>=20 >>>>> Multi-thread is used but we do not using multi-thread in the same conn= ection. >>>>> # multi-process is not used in the app. >>>>>=20 >>>>> Thanks and best regards, >>>>> bocap >>>>>=20 >>>>>> regards, >>>>>> Hiroshi Inoue --Apple-Mail-83CFB9F1-581B-4DC4-859E-8533DBD9C898 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hi Inoue-san,

Hi Inoue-san,

Hi Dang,

Doesn't your odbc.ini or connection string contain SOCKET option?


odbc.ini does not contain SOCKET option.
I will check the app whether contain it in connection string or not.
And reply you soon.


Connection string also not contain SOCKET option (only DSN is set in there).

Thanks and best regards,
bocap

Thanks and best regards.
bocap

regards,
Hiroshi Inoue

On 2016/02/11 8:44, Dang Minh Huong wrote:
Hi Inoue-san,

Sorry for my lately response.
I am not remember exactly now, but they are like below.
# only connection related parameters 

odbc.ini

[PostgreSQL]
Driver              = PostgreSQLDriver
Database            = testdb
Servername          = localhost
UserName            = postgres
Password            = postgres
Port                = 5432

odbcinst.ini

[PostgreSQLDriver]
Description         = PostgreSQL Driver
Driver              = [path to libodbcpsqlw.so file]

Thanks and best regards,
bocap

On Feb 10, 28 Heisei, at 22:24, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:

Hi Dang,

Thanks.

How are you setting your ODBC.INI(and ODBCINST.INI)?

regards,
Hiroshi Inoue

On 2016/02/10 12:20, Dang Minh Huong wrote:
Hi Inoue-san,


Hi Dang,

On 2016/02/09 20:13, Dang Minh Huong wrote:
Hi Inoue-san,

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


Are your applications multi-threaded or multi-process?
How many connections do your applications use?


It is about 5 connections. And one of them do almost task.
DB lock wait also not occured as my confirm.

Multi-thread is used but we do not using multi-thread in the same connection.
# multi-process is not used in the app.

Thanks and best regards,
bocap

regards,
Hiroshi Inoue
--Apple-Mail-83CFB9F1-581B-4DC4-859E-8533DBD9C898--