Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ03n-0002yx-7o for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 16:46:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZ03l-0004kn-Rx for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 16:46:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZ03l-0004kh-9n for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 16:46:09 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZ03h-0003il-Aj for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 16:46:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 92B78208BE for ; Fri, 20 Mar 2015 12:46:01 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 20 Mar 2015 12:46:03 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=sRnd/w5HcNaPiIGTGas6Q/7Hp3o=; b=QRdbSmXSYIQzurXapd yC8127Kzr7/HAwEN3lvxgfFIIf7SfhDpy++8a6PEyuUcfT0cMZxI56fUlw6mnlVe TyFieVXA8iqAniVbtOvys54QtSWP8F/2n6+VxWhx7bv8QhQKsoU8fIbtxlnqPEmL OnObOSG9klH/9R4YRz/OuBU7A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=sRnd/w5HcNaPiIGTGas6Q/ 7Hp3o=; b=Xdrdrh12mZtQVLOXP62Bf7fcJ1Plzx8J5T58dzaVGDpEe6KbLH6gmQ t4+/7/+xGvUgOYFJtr/2alSjBtQUDbk6hdJnp3d9i4dyS+yV8CEqMB/gMQNdkDs8 pzTrYKCvyfwsBBz7igD/9VWOTvO72Dgw+isWV9g7MyyiLBDzOmUGE= X-Sasl-enc: bZ2za7TuPzy1OB4/oEsvJzKmpZOjSKnMQQxcSg2GEEMB 1426869963 Received: from killi.site (unknown [173.160.167.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AE8EC00015; Fri, 20 Mar 2015 12:46:03 -0400 (EDT) Message-ID: <550C4ECA.8010907@aklaver.com> Date: Fri, 20 Mar 2015 09:46:02 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Enrico CC: pgsql-odbc@postgresql.org Subject: Re: Odbc through vpn References: <20150319110136.5fa7b7118578146ed1284424@gmail.com> <550C2987.5050405@aklaver.com> <550C3384.7040000@gmail.com> <550C354F.7080404@aklaver.com> <20150320173534.b9fc33ff63a5cf5cb74a136b@gmail.com> In-Reply-To: <20150320173534.b9fc33ff63a5cf5cb74a136b@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 On 03/20/2015 09:35 AM, Enrico wrote: > On Fri, 20 Mar 2015 07:57:19 -0700 > Adrian Klaver wrote: > >> >> So what happens if you use the previous version of ODBC? > > I've tried with the 8.01 version that works fine with postgresql 8.1 but with postgresql 9.4.1 > I had the same result. >> > >>> For example: >>> I have a table with 5000 records, >>> >>> if i I write select * from table limit 100, the response time is ok >>> about 1 sec, >>> If I write select * from table limit 500 the response time grows to 6-7 >>> minutes >> >> Is the above run through ODBC or through another client, say psql? >> >> What application are you using with ODBC to submit queries and get the >> results back? > > It's an application written on VB, it's not mine. The fact that the ODBC driver works fine on the LAN seems to rule out the driver in and of itself being the problem. It seems to be down to some remote network interaction. Could you try running queries against the server from the vpn clients and not use ODBC to see if that if we can narrow the issue down? > > regards, > Enrico > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc