Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aTqNV-0008Ts-Qu for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Feb 2016 12:29:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aTqNV-0008QJ-2c for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Feb 2016 12:29:45 +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 1aTqNT-0008Pw-E7 for pgsql-odbc@postgresql.org; Thu, 11 Feb 2016 12:29:43 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aTqNN-000582-Q5 for pgsql-odbc@postgresql.org; Thu, 11 Feb 2016 12:29:42 +0000 Received: from [192.168.1.3] (h216161.dynamic.ppp.asahi-net.or.jp [61.114.216.161]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 4AAAE63D8; Thu, 11 Feb 2016 21:29:30 +0900 (JST) Subject: Re: Degradation of performance when upgrade psqlodbc to 09.03.0400 To: Dang Minh Huong 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> Cc: Heikki Linnakangas , pgsql-odbc@postgresql.org From: "Inoue, Hiroshi" Message-ID: <56BC7EAB.80102@dream.email.ne.jp> Date: Thu, 11 Feb 2016 21:29:31 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1EDD2A39-78FA-4C80-AC35-9C9FF658C94F@gmail.com> Content-Type: multipart/alternative; boundary="------------030706070909000204020408" X-Pg-Spam-Score: -2.1 (--) 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 This is a multi-part message in MIME format. --------------030706070909000204020408 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Dang, Doesn't your odbc.ini or connection string contain SOCKET option? 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 >> > 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 --------------030706070909000204020408 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Hi Dang,

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

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
--------------030706070909000204020408--