pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: PGDG ODBC, ODBCng, DBD::Pg
Date: Mon, 09 Oct 2006 14:26:37 -0700
Message-ID: <452ABE8D.6030007@commandprompt.com> (raw)
In-Reply-To: <451D4097.2040606@commandprompt.com>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D15A@ratbert.vale-housing.co.uk>
	<451D4097.2040606@commandprompt.com>

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=<odbcng_buffer> UID=<postgres>
Driver : 00.99.0067 (libmodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<odbcng_buffer> UID=<postgres>
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=<odbcng_nobuffer> UID=<postgres>
Driver : 00.99.0067 (libmodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<odbcng_nobuffer> UID=<postgres>
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=<pgdg> UID=<postgres>
Driver : 08.01.0200 (libpsqlodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<pgdg> UID=<postgres>
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=<odbcng_buffer> UID=<postgres>
Driver : 00.99.0067 (libmodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<odbcng_buffer> UID=<postgres>
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=<odbcng_nobuffer> UID=<postgres>
Driver : 00.99.0067 (libmodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<odbcng_nobuffer> UID=<postgres>
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=<pgdg> UID=<postgres>
Driver : 08.01.0200 (libpsqlodbc.so)
Connection to CommandLine opened

Connection to CommandLine closed


Connecting to CommandLine : DSN=<pgdg> UID=<postgres>
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/





view thread (5+ messages)

Message-ID: <452ABE8D.6030007@commandprompt.com>
Permalink:  ../452ABE8D.6030007@commandprompt.com/
Also on:    postgresql.org/message-id/452ABE8D.6030007@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jd@commandprompt.com, dpage@vale-housing.co.uk
  Subject: Re: PGDG ODBC, ODBCng, DBD::Pg
  In-Reply-To: <452ABE8D.6030007@commandprompt.com>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D15A@ratbert.vale-housing.co.uk> <451D4097.2040606@commandprompt.com> <452ABE8D.6030007@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox