Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6214E9FB3D7 for ; Wed, 17 Oct 2007 12:22:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 63604-05 for ; Wed, 17 Oct 2007 12:21:56 -0300 (ADT) X-Greylist: delayed 00:05:01.502751 by SQLgrey-1.7.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id 1C1159FB4F7 for ; Wed, 17 Oct 2007 12:22:13 -0300 (ADT) Received: from [192.168.178.20] (p5B3E27A2.dip0.t-ipconnect.de [91.62.39.162]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1IiAdw3oB3-0002ws; Wed, 17 Oct 2007 17:17:10 +0200 Message-ID: <47162785.4090700@online.de> Date: Wed, 17 Oct 2007 17:17:25 +0200 From: Johann Zuschlag User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Different behaviour 8.02.402/500, i.e. slower? Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18mqctO1WfEYnTitnha8LpUn04vYqUK+fxgnEd wSrd80OyebW8fYP9zyEmqLnB2t8Hsx1hrDyv07xUBjP1PU2HhF oFdRLhjJInGvcjM1OCYxA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200710/22 X-Sequence-Number: 9206 Hi, after updating from psqlodbc 8.02.402 to 500 I found a different behaviour. Selects seem somehow slower, the server (8.1.9, Windows XP) seems to do a lot of work sometimes. I tried to debug using mylog.log. There are certain differences doing *exactly* the same query's. Unfortunately it is difficult for me to interpret these differences. Comparing both logs I found the sequence: --- read -1, global_socket_buffersize=4096 Lasterror=10035 read xxxx, global_socket_buffersize=4096 --- (xxxx changing value) - 7 times using version 402 - 32 time using version 500 The sequence: --- QResult: enter DESTRUCTOR QResult: in QR_close_result QResult: free memory in, fcount=0 QResult: free memory out QResult: enter DESTRUCTOR QResult: exit close_result QResult: exit DESTRUCTOR" --- is called more often in 500 or at least at different times. Version 501 doesn't change anything. Changing back to 402 my app runs smooth and fast. Can somebody shed some light on this issue? The mylogs (large, 3Mbyte) for both identical tests are available. Settings are: "Use Declare Fetch" (100), "Updatable Cursors", " Row Versioning" and "Server Side Prepare" Regards, Johann