pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Dockerty Kevin (WORCESTERSHIRE ACUTE HOSPITALS NHS TRUST) <k.dockerty@nhs.net>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: speed issue
Date: Mon, 29 Aug 2016 12:57:22 -0700
Message-ID: <150c8577-352f-e936-20b7-a4686a3fe220@aklaver.com> (raw)
In-Reply-To: <63d1bfe5824445ef88cc7c445cbd9f8b@NH-HEPEX101.AD1.NHS.NET>
References: <63d1bfe5824445ef88cc7c445cbd9f8b@NH-HEPEX101.AD1.NHS.NET>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 08/29/2016 03:15 AM, Dockerty Kevin (WORCESTERSHIRE ACUTE HOSPITALS 
NHS TRUST) wrote:
> Hi
>
>
>
> I am using the Postgres ODBC driver ( lastest version that I recently
> downloaded )

Probably does not matter in this case, but the actual version number 
would be helpful. Mainly because latest is a point in time thing and if 
the problem does turn out to be version related issue then it would be 
helpful to those that run across this thread in the future to know what 
version is being discussed.

>
>
>
> I am using this via a SQL server linked server ( SQL Server 2008r2 ),
> running on 64bit Windows Server

Can you elaborate more on what the actual setup is?

In particular the ODBC driver settings.

>
>
>
> The connection works fine, but I find that queries are very slow to
> execute – even simple queries ( select * from [small_table] )
>
>
>
> Using PGAdmin III the same queries will run in a couple of seconds or less.

Are you running PGAdmin from the same machine as the SQL server?

In other words is there a difference in the network path between the two 
programs?

>
>
>
> Any ideas why I experience this slow response time ?

Is there anything in the Postgres logs that might help?

>
>
>
> Regards,
>
>
>
>
>
> *Kevin Dockerty*
>
> *Head of Development**
> *Worcestershire Acute Hospital NHS Trust
>
> 2^nd Floor, No. 3 King’s Court, Worcestershire Royal Hospital, WR51DD
>
>
>
> Tel: 01905 763333 (ext 38567)
>
> *k.dockerty@nhs.net *
>
> www.worcsacute.nhs.uk <http://www.worcsacute.nhs.uk/;
>
>
>
>
>
> ********************************************************************************************************************
>
> This message may contain confidential information. If you are not the
> intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or
> take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS
> staff in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive
> information with NHSmail and GSi recipients
> NHSmail provides an email address for your career in the NHS and can be
> accessed anywhere
> For more information and to find out how you can switch, visit
> www.nhsdigital.nhs.uk/nhsmail
>
> ********************************************************************************************************************


-- 
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 (4+ messages)  latest in thread

Message-ID: <150c8577-352f-e936-20b7-a4686a3fe220@aklaver.com>
Permalink:  ../150c8577-352f-e936-20b7-a4686a3fe220@aklaver.com/
Also on:    postgresql.org/message-id/150c8577-352f-e936-20b7-a4686a3fe220@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, k.dockerty@nhs.net
  Subject: Re: speed issue
  In-Reply-To: <150c8577-352f-e936-20b7-a4686a3fe220@aklaver.com>
  References: <63d1bfe5824445ef88cc7c445cbd9f8b@NH-HEPEX101.AD1.NHS.NET> <150c8577-352f-e936-20b7-a4686a3fe220@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