Re: ODBC

From: Richard Huxton <dev(at)archonet(dot)com>
To: Gene Vital <genevital(at)karibe(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: ODBC
Date: 2003-10-16 09:37:18
Message-ID: 200310161037.18585.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 15 October 2003 21:08, Gene Vital wrote:
> PostgreSQL
> I am using Microsoft Visual FoxPro to connect VIA ODBC using both
> a DSN connection and a DSNLess Connection. The DSNLess connection is
> Waaaayyyyy... slower than the DSN connection and I am having a problem
> trying to figure out what ODBC settings affect performance this much.
>
> using DSN i can pull 4 fields x 953 rows in .266 seconds :)
> however using a DSNLess connection the same query takes >179 seconds
> (ouch =-O)

Ouch indeed. Are you sure all other details are the same? That's almost too
slow.

> I have been messing around with the DSNLess connection and have tried
> changing quite a few of the setting but can't get the speed up, here are
> some of the settings. As you can see they are pretty much the same.

I think if you turn the logging options on in the driver settings for your DSN
connection you can get a trace that shows you your settings.

There's also an ODBC list that might give you more help.

--
Richard Huxton
Archonet Ltd

In response to

  • ODBC at 2003-10-15 20:08:26 from Gene Vital

Browse pgsql-general by date

  From Date Subject
Next Message Sebastian Boeck 2003-10-16 09:40:59 easy way to insert same value into 2 columns
Previous Message Peter Eisentraut 2003-10-16 07:47:12 Re: Getting error codes for failed queries?