Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJRdg-0003hw-3R for pgsql-odbc@arkaria.postgresql.org; Fri, 28 Feb 2014 17:54:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WJRdf-0006w3-Ji for pgsql-odbc@arkaria.postgresql.org; Fri, 28 Feb 2014 17:54:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJRdf-0006vt-2W; Fri, 28 Feb 2014 17:54:23 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJRda-0002Wm-Jv; Fri, 28 Feb 2014 17:54:21 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 65E94285B7; Fri, 28 Feb 2014 09:54:15 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 62BD74010F; Fri, 28 Feb 2014 09:54:15 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 9AAD2C0055; Fri, 28 Feb 2014 09:54:13 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Fri, 28 Feb 2014 09:54:12 -0800 (PST) Message-ID: <5310CD45.9010806@vmware.com> Date: Fri, 28 Feb 2014 19:54:13 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Jeremy Thornton CC: "pgsql-odbc@postgresql.org" , "pgsql-bugs@postgresql.org" Subject: Re: UUID, UUID-OSSP extension, and ODBC issue References: , <5310C67D.7040901@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 02/28/2014 07:49 PM, Jeremy Thornton wrote: > Thanks for the info Heikki. However, my concern is the fact that the > same insert when ran inside PgAdmin executes at 2000 inserts per > second whereas through ODBC it is at 625 inserts per second. It seems > that if uuid_generate_v1() was the only bottleneck it would occur > inside PgAdmin. Same information, same uuid_generate_v1() default. > Any thoughts on why the performance difference between the two? Oh, I misunderstood the issue then. How exactly are you executing the inserts? Do you run all the inserts as a single transaction (that's faster than separate transactions)? If you can create a self-contained ODBC test program and post it to the list, I can take a closer look... - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc