Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1436B632DFA for ; Mon, 14 Jun 2010 19:16:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 25664-04 for ; Mon, 14 Jun 2010 22:16:47 +0000 (UTC) X-Greylist: delayed 00:27:02.361543 by SQLgrey-1.7.6 Received: from host1.ad2.com.br (200-170-190-097.xf-static.ctbcnetsuper.com.br [200.170.190.97]) by mail.postgresql.org (Postfix) with ESMTP id 9A89362DBE1 for ; Mon, 14 Jun 2010 19:16:47 -0300 (ADT) Received: from spamhunter.AD2 (spirit [200.170.190.97]) by host1.ad2.com.br (Postfix) with ESMTP id C019683F2F for ; Mon, 14 Jun 2010 18:54:41 -0300 (BRT) Received: from [192.168.1.125] ([192.168.1.125] helo=[192.168.1.125]) with IPv4:25 by spamhunter.AD2; 14 Jun 2010 18:54:41 -0300 Message-ID: <4C16A3F8.8040905@ad2.com.br> Date: Mon, 14 Jun 2010 18:49:44 -0300 From: alexandre - aldeia digital User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Unicode x ANSI speed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Assp-ID: spamhunter.AD2 (52481-07612) X-Assp-Version: 1.6.5.0(1.0.02) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201006/42 X-Sequence-Number: 10342 Hi, I use Windows XP/Vista/Seven 32bit clients. My database is huge and are UTF-8 encoded. I notice that in some tests, if I use the ANSI driver, the same routine is 50% more fast than using Unicode. I need to use the use declare/fetch all the time. If I disable it the behaviour is the same: the speed is noticeable fast in ANSI driver. Best regards, -- Alexandre Aldeia Digital