Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YYyMZ-0007lc-4V for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 14:57:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YYyMY-00074c-Iz for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 14:57:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYyMY-00074W-0e for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 14:57:26 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYyMU-0000CB-Na for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 14:57:24 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 91BEC20B70 for ; Fri, 20 Mar 2015 10:57:18 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Fri, 20 Mar 2015 10:57:20 -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=I5kRAKijUx52Ee3UEE4z9RHNHyM=; b=JpQXAhVS/TwS2NopXM c+IK1R53NNfdzZNNHNw0HuGlnyhvxjDSinjH8cXSRyja29KkJ7FXM4mdlpkhZPl/ S/mxKRZvbRriRQo4zoJs6tMkJWByQyVZjbWArCQP2aX3rsUZalfD8s3MyhVhU8fj mY+PNiUQZ/9XYhLJRbzlfAuoY= 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=I5kRAKijUx52Ee3UEE4z9R HNHyM=; b=h/WvpjmoFwwxqp90E3dx8RaMF6BNheLKQXWB1lHS0rEZrXRYz3RAjU NIF/lwTk83mSdEZ+5b73GEmFFqEhePWLvZq4FHkcmG3EyYACzZ7GfMWPIOSt89se yig2XqoLA3hpHPjzjhoNdR20GBzDUIE9Pq8Hmj9phGf0+2HMhhX+w= X-Sasl-enc: iAVIMftdYU6Zph/ZbkIA/l58QBKdUX4R862MlwF0FnfS 1426863440 Received: from [192.168.1.4] (unknown [174.21.191.40]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F173C0001D; Fri, 20 Mar 2015 10:57:20 -0400 (EDT) Message-ID: <550C354F.7080404@aklaver.com> Date: Fri, 20 Mar 2015 07:57:19 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Enrico Pirozzi CC: pgsql-odbc@postgresql.org Subject: Re: Odbc through vpn References: <20150319110136.5fa7b7118578146ed1284424@gmail.com> <550C2987.5050405@aklaver.com> <550C3384.7040000@gmail.com> In-Reply-To: <550C3384.7040000@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 07:49 AM, Enrico Pirozzi wrote: > On 20/03/2015 15:07, Adrian Klaver wrote: >> On 03/19/2015 03:01 AM, Enrico wrote: >>> Hi, I did a migration from postgresql 8.1 to 9.4.1 and I have this >>> problem, only for clients who work through the vpn, queries are very >>> slow and this problem did not exist before migration,the network is >>> the same , the server is the same, the current version of postgresql >>> is 9.4.1 and odbc is the latest 32-bit version. >>> For the clients who work in LAN , ODBC works fine. >> >>> >>> Can anyone help me? >> >> To be clear and get more information: >> >> 1) What OSes are you using for clients, server? > Client windows 7 > > server debian 7.8.0 > >> >> 2) You upgraded from Postgres 8.1 --> 9.4. > > Yes > >> >> 3) You say you are using latest 32 bit version of ODBC, so was that >> upgraded at the same time? > Yes So what happens if you use the previous version of ODBC? > >> >> 4) What is the exact version of the ODBC driver you are using? > > 9.03.0400 >> >> 5) What happens if you run the queries remotely without going through >> ODBC? > > 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? > >> >> Wonder if it is related to this thread about SSL compression?: >> >> http://www.postgresql.org/message-id/CAKwe89Cj7KQ3BZDoUXLF5KBZ8X6icKXHi2Y1mDzTut3PNrH2VA@mail.gmail.com >> >> >> > The connection is not ssl inside vpn. > > 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