pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Enrico <sscotty71@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Odbc through vpn
Date: Fri, 20 Mar 2015 09:46:02 -0700
Message-ID: <550C4ECA.8010907@aklaver.com> (raw)
In-Reply-To: <20150320173534.b9fc33ff63a5cf5cb74a136b@gmail.com>
References: <20150319110136.5fa7b7118578146ed1284424@gmail.com>
	<550C2987.5050405@aklaver.com>
	<550C3384.7040000@gmail.com>
	<550C354F.7080404@aklaver.com>
	<20150320173534.b9fc33ff63a5cf5cb74a136b@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 03/20/2015 09:35 AM, Enrico wrote:
> On Fri, 20 Mar 2015 07:57:19 -0700
> Adrian Klaver <adrian.klaver@aklaver.com> 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



view thread (6+ messages)

Message-ID: <550C4ECA.8010907@aklaver.com>
Permalink:  ../550C4ECA.8010907@aklaver.com/
Also on:    postgresql.org/message-id/550C4ECA.8010907@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, sscotty71@gmail.com
  Subject: Re: Odbc through vpn
  In-Reply-To: <550C4ECA.8010907@aklaver.com>
  References: <20150319110136.5fa7b7118578146ed1284424@gmail.com> <550C2987.5050405@aklaver.com> <550C3384.7040000@gmail.com> <550C354F.7080404@aklaver.com> <20150320173534.b9fc33ff63a5cf5cb74a136b@gmail.com> <550C4ECA.8010907@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox