From: Jeremy Thornton <jeremy@thorntonbrothers.biz>
To: pgsql-bugs@postgresql.org
Cc: pgsql-odbc@postgresql.org
Subject: UUID, UUID-OSSP extension, and ODBC issue
Date: Thu, 27 Feb 2014 15:10:40 -0500
Message-ID: <530F9BC0.2020406@thorntonbrothers.biz> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
In using pgsqlODBC 09.03.0200 or any version prior that we have tested
we seem to be having a performance decrease to only 625 inserts per
second when using UUID as the primary key and using the UUID-OSSP to
generate the default value of uuid_generate_v1() whereas if we generate
the UUID client side for the primary key and send it with the values in
the insert transaction we can increase it to 1500 inserts per second
bypassing the UUID-OSSP extension. This is consistent and repeatable.
The only change being made is Postgres generating the UUID using the
extension or us passing the value in the insert statement. If Postgres
generates it internally while inserting using PgAdmin then it can
generate at near 2000 inserts per second so uuid-ossp shouldn't be the
problem since it can keep up, but when used over default settings in
ODBC it is 2/3 slower. The data being tested is the same in all cases. I
am using a default System DSN on Windows 8.1 Pro (no special settings).
Is this a bug or a settings adjustment that needs to be made?
Spec summary:
ODBC: pgsql 09.03.0200 with default settings;
OS: Windows 8.1 Pro;
Postgres version: 9.3.3;
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-bugs@postgresql.org
Cc: jeremy@thorntonbrothers.biz, pgsql-odbc@postgresql.org
Subject: Re: UUID, UUID-OSSP extension, and ODBC issue
In-Reply-To: <530F9BC0.2020406@thorntonbrothers.biz>
References: <530F9BC0.2020406@thorntonbrothers.biz>
* 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