Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 8FBEF9FA5B5 for ; Mon, 9 Oct 2006 18:26:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 87521-07 for ; Mon, 9 Oct 2006 21:26:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 3F9619FB1BD for ; Mon, 9 Oct 2006 18:26:21 -0300 (ADT) Received: from [192.168.1.95] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k99LQLBW009354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Oct 2006 14:26:22 -0700 Message-ID: <452ABE8D.6030007@commandprompt.com> Date: Mon, 09 Oct 2006 14:26:37 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: "Joshua D. Drake" CC: Dave Page , pgsql-odbc@postgresql.org Subject: Re: PGDG ODBC, ODBCng, DBD::Pg References: <451D4097.2040606@commandprompt.com> In-Reply-To: <451D4097.2040606@commandprompt.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Mon, 09 Oct 2006 14:26:23 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200610/10 X-Sequence-Number: 8273 Joshua D. Drake wrote: >>> The versions tested were: >>> >>> PGDG: 08.01.0200-2 >>> ODBCng: Rev 76 >>> DBD::Pg: 1.49 >> Any chance of running the same test again against psqlODBC 08.02.0100? >> It's a totally different architecture to the 08.01 series. >> >> You might also try something like odbc-bench for some more realistic >> tests. > > Either I am cranked, or odbc-bench doesn't appear to support > postgresql... do you a compatible schema for them? Dave per your request, PostgreSQL ODBC versus ODBCng. Unfortunately I couldn't test with 08.02 because I am on 64bit. I ran 6 tests. The tests are identical except: Async: ODBCng ODBCng Buffering mode PostgreSQL ODBC Not Async: ODBCng ODBCng Buffering mode PostgreSQL ODBC jd@scratch:~/ODBCtest$ ./testodbc.pl ========================================================== Initializing ODBC-Bench Done ODBCng Buffering Async ========================================================== Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libmodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Async/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 66224 Transactions per second: 1085.639404 % less than 1 second: 99.983391 % 1 < n < 2 seconds: 0.016610 Average processing time: 0.000921 Connection to CommandLine closed ========================================================== ODBCng No Buffering Async ========================================================== Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libmodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Async/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 63063 Transactions per second: 1033.819702 % less than 1 second: 99.976212 % 1 < n < 2 seconds: 0.023786 Average processing time: 0.000967 Connection to CommandLine closed ========================================================== PostgreSQL ODBC Async ========================================================== Connecting to CommandLine : DSN= UID= Driver : 08.01.0200 (libpsqlodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 08.01.0200 (libpsqlodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libpsqlodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Async/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 37317 Transactions per second: 611.754089 % less than 1 second: 99.965164 % 1 < n < 2 seconds: 0.034837 Average processing time: 0.001635 Connection to CommandLine closed ========================================================== ODBCng Buffering ========================================================== Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libmodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 64843 Transactions per second: 1063.000000 % less than 1 second: 99.976868 % 1 < n < 2 seconds: 0.023133 Average processing time: 0.000941 Connection to CommandLine closed ========================================================== ODBCng No Buffering ========================================================== Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 00.99.0067 (libmodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libmodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 63025 Transactions per second: 1033.196777 % less than 1 second: 99.979370 % 1 < n < 2 seconds: 0.020627 Average processing time: 0.000968 Connection to CommandLine closed ========================================================== PostgreSQL ODBC ========================================================== Connecting to CommandLine : DSN= UID= Driver : 08.01.0200 (libpsqlodbc.so) Connection to CommandLine opened Connection to CommandLine closed Connecting to CommandLine : DSN= UID= Driver : 08.01.0200 (libpsqlodbc.so) Connection to CommandLine opened CommandLine - PostgreSQL(libpsqlodbc.so) - all 10 TPC-A Threads completed successfully. Calculating statistics: SQL options used: 10 Threads/Params Transaction time: 61.000000 Environmental overhead: -1.000000 Total transactions: 35435 Transactions per second: 580.901611 % less than 1 second: 99.932274 % 1 < n < 2 seconds: 0.067730 Average processing time: 0.001721 Connection to CommandLine closed ========================================================= -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/