Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1beSWN-0004oO-KS for pgsql-odbc@arkaria.postgresql.org; Mon, 29 Aug 2016 19:47:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1beSWN-0003j8-6d for pgsql-odbc@arkaria.postgresql.org; Mon, 29 Aug 2016 19:47:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1beJbZ-0002rH-KH for pgsql-odbc@postgresql.org; Mon, 29 Aug 2016 10:15:49 +0000 Received: from smtp2.e.amses.net ([213.161.89.103]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1beJbU-0005aM-Kf for pgsql-odbc@postgresql.org; Mon, 29 Aug 2016 10:15:48 +0000 Received: from smtp2.e.amses.net (OP-HEPIMS07.ops.amses.net [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2656B1CA27 for ; Mon, 29 Aug 2016 11:14:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nhs.net; s=default; t=1472465671; bh=TyEPEI2wDJD5rIwe2CrPJQTkTrHDuReCH8gPMUvHHXs=; h=From:To:Subject:Date; b=PhLAEkI0xboYLHOV8wVKfnoARhq1/oTeXU9QKPu8+cnKrUNdX27RAmZzmwwT20xXV iKg9sIP5GkxfpQVfZ2JpCdXEHgOMuCtSN4Tj8f7W6pD+47F7yCSIsS8064wmqa9f4k d+WemrzZJ1Db9WtzErcFRxQF2O/hIkOrCNCyFUDw= Received: from NH-HEPEX103.AD1.NHS.NET (unknown [192.168.70.70]) by smtp2.e.amses.net (Postfix) with ESMTPS id 111971C97B for ; Mon, 29 Aug 2016 11:14:31 +0100 (BST) Received: from NH-HEPEX101.AD1.NHS.NET (192.168.234.60) by NH-HEPEX103.AD1.NHS.NET (192.168.234.62) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 29 Aug 2016 11:15:41 +0100 Received: from NH-HEPEX101.AD1.NHS.NET ([fe80::4127:e8c9:b9fa:2dbd]) by NH-HEPEX101.AD1.NHS.NET ([fe80::4127:e8c9:b9fa:2dbd%17]) with mapi id 15.00.1104.000; Mon, 29 Aug 2016 11:15:41 +0100 From: "Dockerty Kevin (WORCESTERSHIRE ACUTE HOSPITALS NHS TRUST)" To: "pgsql-odbc@postgresql.org" Subject: speed issue Thread-Topic: speed issue Thread-Index: AdIB3geIR/wYr4BVTmWh563SdMm/3A== Date: Mon, 29 Aug 2016 10:15:41 +0000 Message-ID: <63d1bfe5824445ef88cc7c445cbd9f8b@NH-HEPEX101.AD1.NHS.NET> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.71.8] X-TM-AS-Product-Ver: IMSVA-9.0.0.1588-8.1.0.1054-22542.006 X-TM-AS-Result: No--27.858-5.0-31-10 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: multipart/alternative; boundary="_000_63d1bfe5824445ef88cc7c445cbd9f8bNHHEPEX101AD1NHSNET_" MIME-Version: 1.0 X-TM-AS-GCONF: 11111111 X-TM-AS-SMTP: 1.0 TkgtSEVQRVgxMDMuQUQxLk5IUy5ORVQ= ay5kb2NrZXJ0eUBuaHMubmV0 X-TM-AS-ERS: 192.168.70.70-127.5.254.15 X-imss-scan-details: No--27.858-5.0-31-10;No--27.858-3.0-31-10 X-TMASE-Version: IMSVA-9.0.0.1588-8.1.1054-22542.006 X-TMASE-Result: 10--27.857700-10.000000 X-TMASE-MatchedRID: qq3z7asx+ykdqUwwIc97fWzBijri5+RVuLwbhNl9B5XwdNQLQShCxAHR YZwdOCUn/9XpHpFOp6s3poAvNrNldN/0v+O6z6MhuZH4LSX2+NVKwswWOGVRo9dGJ+drfDRQEOI nF2EbxTHtYvjpCm6wrNcM3vgFHj58FS1+qCxplotPuMJi/ZAk8bWJGLAWl35tDO+DX+rUwfa0Nx ygpV9pOU7HoYsmi5NU+Di6iS3wFN21acIzK9+knbYBnn2EUDXrZa7LkubQvj/agsZM0qVv1wow2 IKUcGEAMz0LCXmofUWbDyASsLPl6zEePjqxvfVDmAafP3c9X3dQARxKAMOfw1BwpktQ1GNjYk5z JNsDW6mbZAWoNYUEdlvjSYGy3DJ2xcE4/N0crPzBtFDYGmaWKhrL4FDGAJ+Flvs2jSyutOTsoEF nZAFTLNDbef4/mkgxFCOLNe0Jd9NZiostRfaYC0HrI6vFzzG7s+SyIdviDnyPaLJ/Ca3ST2ji04 EzOjY477q9ZAKNG0qURP9PtVdrmw5VocU4CFzq2x/FmlC/aoy08Z6Wwo67iKMLUT/MIQiv6XF0k GVBnQgNAbNqnqSY7x3DeMfpbWC9lyrPeDQDh/K2FK5J1KhC+7/+8XS0I10iOyxd6V963VS48WuR FQVdauLzNWBegCW2Tvt7hjXGr/f60i8ZPOM4/cH9mYPMZJ+SntbqiEhBJpkD2+derWHxdUpLZPl RiL+y5RSrrsfhpNNmC1GEaBEFnS/NsyttZEIcLMVet8TmMK0= X-TMASE-SNAP-Result: 1.811037.0001-0-2-12:0,22:0,33:0,34:0,35:0,36:0,37:0,39:0,40:0-0 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 --_000_63d1bfe5824445ef88cc7c445cbd9f8bNHHEPEX101AD1NHSNET_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I am using the Postgres ODBC driver ( lastest version that I recently downl= oaded ) I am using this via a SQL server linked server ( SQL Server 2008r2 ), runni= ng on 64bit Windows Server 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. Any ideas why I experience this slow response time ? Regards, Kevin Dockerty Head of Development Worcestershire Acute Hospital NHS Trust 2nd Floor, No. 3 King's Court, Worcestershire Royal Hospital, WR51DD Tel: 01905 763333 (ext 38567) k.dockerty@nhs.net www.worcsacute.nhs.uk ***************************************************************************= ***************************************** This message may contain confidential information. If you are not the inten= ded 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 ta= ke 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 sta= ff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive informa= tion with NHSmail and GSi recipients NHSmail provides an email address for your career in the NHS and can be acc= essed anywhere For more information and to find out how you can switch, visit www.nhsdigit= al.nhs.uk/nhsmail ***************************************************************************= ***************************************** --_000_63d1bfe5824445ef88cc7c445cbd9f8bNHHEPEX101AD1NHSNET_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 

I am using the Postgres ODBC driver ( lastest versio= n that I recently downloaded )

 

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

 

The connection works fine, but I find that queries a= re very slow to execute – even simple queries ( select * from [small_= table] )

 

Using PGAdmin III the same queries will run in a cou= ple of seconds or less.

 

Any ideas why I experience this slow response time ?=

 

Regards,

 

 

Kevin Dockerty

Head of Development
Worc= estershire Acute Hospital NHS Trust

2nd Floor, No. 3 King’s Court, Worcestershire Roya= l Hospital, WR51DD

 

Tel: 01905 763333 (ext 38567)

k.dockerty@nhs.net

www.worcsacute.nhs.uk  

 



***************************************************************************= *****************************************

This message may contain confidential information. If you are not the inten= ded 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 ta= ke 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 sta= ff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive informa= tion with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be acc= essed anywhere
For more information and to find out how you can switch, visit www.nhsdigit= al.nhs.uk/nhsmail

***************************************************************************= *****************************************
--_000_63d1bfe5824445ef88cc7c445cbd9f8bNHHEPEX101AD1NHSNET_--