Re: slow performance postgres 7.0.3 and odbc - Mailing list pgsql-odbc

From Bruce Momjian
Subject Re: slow performance postgres 7.0.3 and odbc
Date
Msg-id 200106210102.f5L12Lp28276@candle.pha.pa.us
Whole thread Raw
In response to RE: slow performance postgres 7.0.3 and odbc  (Christian Bucanac <christian.bucanac@mindark.com>)
List 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.rietmann@pup.ch [mailto:juerg.rietmann@pup.ch]
> Sent: den 15 juni 2001 15:21
> To: pgsql-odbc@postgresql.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@postgresql.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-odbc by date:

Previous
From: Chris Andrews
Date:
Subject: Re: Cannot access views
Next
From: Dave Page
Date:
Subject: RE: RV: no updateable recordset