X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 074089DC865 for ; Wed, 11 Jan 2006 05:18:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31208-01 for ; Wed, 11 Jan 2006 05:18:26 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linux.dunaweb.hu (linux.dunaweb.hu [62.77.196.1]) by postgresql.org (Postfix) with ESMTP id 522449DC802 for ; Wed, 11 Jan 2006 05:18:21 -0400 (AST) Received: from localhost (linux.dunaweb.hu [127.0.0.1]) by linux.dunaweb.hu (Postfix) with ESMTP id BEFAE8E05BC; Wed, 11 Jan 2006 10:18:22 +0100 (CET) Received: from linux.dunaweb.hu ([127.0.0.1]) by localhost (linux.dunaweb.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18412-05; Wed, 11 Jan 2006 10:18:20 +0100 (CET) Received: from [81.17.177.202] (host-81-17-177-202.dunaweb.hu [81.17.177.202]) by linux.dunaweb.hu (Postfix) with ESMTP id 89A568E03B8; Wed, 11 Jan 2006 10:18:18 +0100 (CET) Message-ID: <43C4D590.5090704@dunaweb.hu> Date: Wed, 11 Jan 2006 10:53:20 +0100 From: Zoltan Boszormenyi User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: hu-hu, hu, en-us, en MIME-Version: 1.0 To: Ludek Finstrle Cc: pgsql-odbc@postgresql.org Subject: Re: PsqlODBC slow on UNION queries References: <43C1F84A.90707@dunaweb.hu> <25908.1136783922@sss.pgh.pa.us> <43C1FEEF.5060107@dunaweb.hu> <20060109085745.GC29135@soptik.pzkagis.cz> <43C253CD.8080501@dunaweb.hu> <20060109115916.GC30591@soptik.pzkagis.cz> <20060110211559.GB8098@soptik.pzkagis.cz> <43C4C670.5020407@dunaweb.hu> <20060111083256.GA10431@soptik.pzkagis.cz> In-Reply-To: <20060111083256.GA10431@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at dunaweb.hu X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.046 required=5 tests=[AWL=0.046] X-Spam-Score: 0.046 X-Spam-Level: X-Archive-Number: 200601/108 X-Sequence-Number: 6923 Ludek Finstrle írta: >>>I forgot. Feel free to send the mylog output here to list. We can >>>help you to decode it ;-) >>> >>> >>I will, when I am back to my workplace. >> >>In the meantime, I have set MyLog on in WinXP under VMWare here, >>but Access produced some 120+ MB log and it wasn't even finished >>reading the records... I didn't feel like I have to send it to the list. ;-) >>Anyway, it turned out it used DECLARE CURSOR and it fetched >>100 records at a time. >> >> > >Ufff. What tons of records do you get? BTW could you compile psqlODBC > > About 86000 records and I found every fields in every records logged, too. >from source code? It is possible to disable mylog output in function > > I can, but not on Windows. I can take the postgresql-odbc src.rpm from RedHat Rawhide and replace the source TGZ with the current CVS snapshot. In fact, I have done it several times, to test my Linux apps against the "official" ODBC driver instead of the ones that come with unixODBC. But that doesn't help me under Windows. :-) I don't have VC++. >CC_mapping (it's per record mylog for problems with encoding). I think >you don't have such a problem so there is no problem to comment out >mylog(...) calls from CC_mapping. This results in much smaller mylog >output. > >Regards, > >Luf > > > Best regards, Zoltán Böszörményi