Re: slow performance postgres 7.0.3 and odbc

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christian Bucanac <christian(dot)bucanac(at)mindark(dot)com>
Cc: "'juerg(dot)rietmann(at)pup(dot)ch'" <juerg(dot)rietmann(at)pup(dot)ch>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: slow performance postgres 7.0.3 and odbc
Date: 2001-06-21 01:02:21
Message-ID: 200106210102.f5L12Lp28276@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


Is this our standard ODBC driver with modifications? Can you send over
a conext diff of the source code changes? Thanks.

> Yes, I know, the performace is/was bad. I found a major performace
> bottleneck in the driver. I fixed it, try the attached ODBC driver.
>
> How to:
> * Backup your register
> * Run the attached psqlodbc.reg
> * Rename your current psqlodbc.dll
> * Copy the attached psqlodbc.dll to the location of renamed psqlodbc.dll
> * Run much faster!
>
> Other tips:
> * Start postmaster with fsync off
> * Remove the index and recrate them later
> * Turn off autocommit and/or begin transaction/commit
>
> /Buckis
>
>
>
> -----Original Message-----
> From: juerg(dot)rietmann(at)pup(dot)ch [mailto:juerg(dot)rietmann(at)pup(dot)ch]
> Sent: den 15 juni 2001 15:21
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: [ODBC] slow performance postgres 7.0.3 and odbc
>
>
> Hello there
>
> I just made a test creating 2495 records from a C++ prog. into a postgres
> table. This took me around 4 minutes. Doing the same against an access db
> takes 30 seconds ! I use Version 6.50.00.00 from 04.02.2000.
>
> What can I do to speed up the ODBC performance?
>
> Thanks ... jr
>
> ============================================
> PFISTER + PARTNER, SYSTEM - ENGINEERING AG
> Juerg Rietmann
> Grundstrasse 22a
> 6343 Rotkreuz
> Switzerland
>
> phone: +4141 790 4040
> fax: +4141 790 2545
> mobile: +4179 211 0315
> ============================================
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Manuel Martínez Valls 2001-06-21 07:23:24 RE: RV: no updateable recordset
Previous Message Chris Andrews 2001-06-20 21:43:39 Re: Cannot access views