From: Ludek Finstrle <luf@pzkagis.cz>
To: Zoltan Boszormenyi <zboszor@dunaweb.hu>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: PsqlODBC slow on UNION queries
Date: Fri, 27 Jan 2006 18:13:02 +0100
Message-ID: <20060127171302.GA20396@soptik.pzkagis.cz> (raw)
In-Reply-To: <43DA590E.4070403@dunaweb.hu>
References: <43D518CF.4020404@dunaweb.hu>
<20060123204710.GA25572@soptik.pzkagis.cz>
<43D6A521.80701@dunaweb.hu>
<20060124220154.GA32160@soptik.pzkagis.cz>
<43D8FFB5.6010002@dunaweb.hu>
<20060127092159.GA17431@soptik.pzkagis.cz>
<43DA590E.4070403@dunaweb.hu>
> >SQLExecDirect select * from view (which fire the execution again)
>
> ... retrieve 1000+ rows and then _I_ pressed Cancel. Can you confirm that?
> I am just curious.
Yes. I see > 1000 < 1100 rows. You could go to the bottom of mylog (I see
union one) and search backward "select * from v_invoice_browse".
Then you search forward fetch <case size> (<case size> = 100 in your
configuration so you search "fetch 100"). I count 11 (I hope I don't
create a mistake) "fetch 100" => > 1000 < 1100 :-)
There is SQLCancel after last "fetch 100" ;-)
> >create some repro app. Some of the questions:
> >1) could you try similar view without text (char, varchar, ...) columns?
>
> Would the same view do but only seleting numeric (integer and decimal)
> columns?
Yes. It's enough. I don't know if the problem isn't char column
handling.
> >4) could you say me what are the query for (it's fired bettwen two calls
> > of select * from view):
...
> I don't know what are these. I guess PowerBuilder tries something
> behind everyones' back.
I think so. Could you try these selects in psql or PgAdmin tool?
I'm curios what you see.
Regards,
Luf
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, zboszor@dunaweb.hu
Subject: Re: PsqlODBC slow on UNION queries
In-Reply-To: <20060127171302.GA20396@soptik.pzkagis.cz>
References: <43D518CF.4020404@dunaweb.hu> <20060123204710.GA25572@soptik.pzkagis.cz> <43D6A521.80701@dunaweb.hu> <20060124220154.GA32160@soptik.pzkagis.cz> <43D8FFB5.6010002@dunaweb.hu> <20060127092159.GA17431@soptik.pzkagis.cz> <43DA590E.4070403@dunaweb.hu> <20060127171302.GA20396@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