pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: Kroh Istv n <istvan.kroh@pomme.hu>
To: pgsql-odbc@postgresql.org
Subject: Re: odbc/ado problems
Date: Thu, 02 Sep 2004 11:46:02 +0100
Message-ID: <413707FA.23200.282B24@localhost> (raw)
In-Reply-To: <005a01c48f7f$9ff8ae70$0102a8c0@pomme001>

On 31 Aug 2004 at 19:26, Kroh Istv n wrote:

> This should return a single varchar(20) field. Running this query over
> ADO/ODBC from a Delphi app tooks 50-100 secs. If i run this from
> pgAdmin II. it takes some msecs.

I have found instantiating and using the ADO objects directly to be
much faster than using the TADOConnection and TADOQuery components
that come with Delphi. - This is in web apps where I'd construct the
SQL and execute it with the Connection object.

--Ray.

-------------------------------------------------------------
Raymond O'Donnell     http://www.galwaycathedral.org/recitals
rod@iol.ie                          Galway Cathedral Recitals
-------------------------------------------------------------





view thread (5+ messages)

Message-ID: <413707FA.23200.282B24@localhost>
Permalink:  ../413707FA.23200.282B24@localhost/
Also on:    postgresql.org/message-id/413707FA.23200.282B24@localhost

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: rod@iol.ie, istvan.kroh@pomme.hu, pgsql-odbc@postgresql.org
  Subject: Re: odbc/ado problems
  In-Reply-To: <413707FA.23200.282B24@localhost>

* 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