pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: thewild@free.fr
Cc: pgsql-odbc@postgresql.org
Subject: Re: Slow query through ODBC
Date: Mon, 23 Jan 2006 14:34:54 +0100
Message-ID: <20060123133454.GA23076@soptik.pzkagis.cz> (raw)
In-Reply-To: <43D4C3B3.7070509@freesurf.fr>
References: <43D4A744.8060104@freesurf.fr>
	<20060123103503.GA21460@soptik.pzkagis.cz>
	<43D4B6F9.10305@freesurf.fr>
	<20060123113239.GB21840@soptik.pzkagis.cz>
	<43D4C3B3.7070509@freesurf.fr>

> I tried both parameters (they look OK because ADO did not throw an 
> error), but they did not help.

I think it. But we could test it at first :-)

> Maybe I should add that the query is stored in an ADO recordset, 
> which is read-only and forward-only ?

This is the best situation for psqlODBC driver.

> It is the .open method of this recordset that actually takes 30 
> seconds to run.

.open ADO contains a lot of SQL* commands for ODBC.
I need the mylog or (the better for me) example data to reproduce it
here.

> >If I can't find the problem in mylog output could you create example
> >data?
> 
> I sure could !

Great.

> I'll try some other parameters before (I will use the File-DSN 
> panel to generate connectionstrings, I should have thought about 
> it before !), and I'll tell you whether I found something or not.

Ok. I'm looking for note from you.
If you'll not find the way please send me the parsed log or
example data with SELECT.

Regards,

Luf



view thread (19+ messages)  latest in thread

Message-ID: <20060123133454.GA23076@soptik.pzkagis.cz>
Permalink:  ../20060123133454.GA23076@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060123133454.GA23076@soptik.pzkagis.cz

 · 

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: luf@pzkagis.cz, thewild@free.fr
  Subject: Re: Slow query through ODBC
  In-Reply-To: <20060123133454.GA23076@soptik.pzkagis.cz>
  References: <43D4A744.8060104@freesurf.fr> <20060123103503.GA21460@soptik.pzkagis.cz> <43D4B6F9.10305@freesurf.fr> <20060123113239.GB21840@soptik.pzkagis.cz> <43D4C3B3.7070509@freesurf.fr> <20060123133454.GA23076@soptik.pzkagis.cz>

* 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