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 199F49DC890 for ; Wed, 11 Jan 2006 04:33:04 -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 21868-03 for ; Wed, 11 Jan 2006 04:33:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 6DFC29DC8A2 for ; Wed, 11 Jan 2006 04:32:58 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k0B8WuHb010496; Wed, 11 Jan 2006 09:32:56 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k0B8Wub8010495; Wed, 11 Jan 2006 09:32:56 +0100 Date: Wed, 11 Jan 2006 09:32:56 +0100 From: Ludek Finstrle To: Zoltan Boszormenyi Cc: pgsql-odbc@postgresql.org Subject: Re: PsqlODBC slow on UNION queries Message-ID: <20060111083256.GA10431@soptik.pzkagis.cz> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43C4C670.5020407@dunaweb.hu> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.07 required=5 tests=[AWL=0.070] X-Spam-Score: 0.07 X-Spam-Level: X-Archive-Number: 200601/105 X-Sequence-Number: 6920 > >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 from source code? It is possible to disable mylog output in function 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