Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YYyFF-0007VM-I3 for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 14:49:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YYyFE-00041u-St for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 14:49:52 +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 1YYyFD-00041n-SW for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 14:49:52 +0000 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YYyF5-0008SV-Uj for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 14:49:50 +0000 Received: by webcq43 with SMTP id cq43so84048135web.2 for ; Fri, 20 Mar 2015 07:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Z+LYf2vC8s11APQZbF+QCSE4GwPrSJyeF+WUGJh91m4=; b=NVPKlg4oXswn3TIhEpuopyzZ46m953cBAdcQvn+7ilYIZ2zmU/vk2nCRVLTdl5kY1F cOBGdogszMFsfF4iGkG2BgfJu0j1d5UmHgFrK3ceThH4Hj0+7XEnGajkm7gKAgLXcrbO BwYKIFvhMfA55d/dGuEbPtPrSN79tnn33tHbTvInPyj2HRGZACSAR9SPHvjPHf4WbEKH yyZ2P3+peWi4OpqPjg9Q4IeXpwtSW5Y+gYtZXsHcACmiyB/0W4luXgwnpoFW6filDwob UjrzDCczZGf9N8fhQezXxvEZfyz0DF3ezj96f1+bqBMYoutdd9qME2L9zQtS2d8+oeDx 72+Q== X-Received: by 10.180.20.43 with SMTP id k11mr25111634wie.93.1426862982215; Fri, 20 Mar 2015 07:49:42 -0700 (PDT) Received: from [192.168.4.248] (host244-182-dynamic.16-87-r.retail.telecomitalia.it. [87.16.182.244]) by mx.google.com with ESMTPSA id bx3sm6673125wjc.21.2015.03.20.07.49.40 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Mar 2015 07:49:41 -0700 (PDT) Message-ID: <550C3384.7040000@gmail.com> Date: Fri, 20 Mar 2015 15:49:40 +0100 From: Enrico Pirozzi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130922 Icedove/17.0.9 MIME-Version: 1.0 To: Adrian Klaver CC: pgsql-odbc@postgresql.org Subject: Re: Odbc through vpn References: <20150319110136.5fa7b7118578146ed1284424@gmail.com> <550C2987.5050405@aklaver.com> In-Reply-To: <550C2987.5050405@aklaver.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.5 (--) 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 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 > > 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 > > 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 -- That's one small step for man; one giant leap for mankind Enrico Pirozzi Tel. +39 0861 1855771 - Mob.+39 328 4164437 - Fax +39 0861 1850310 http://www.pgtraining.com - info@pgtraining.com www.enricopirozzi.info - info@enricopirozzi.info PEC: enrico.pirozzi@pec.it Skype sscotty71 - Gtalk sscotty71@gmail.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc