Re: VB slow access - Mailing list pgsql-odbc

From Dave Page
Subject Re: VB slow access
Date
Msg-id FED2B709E3270E4B903EB0175A49BCB104734F@dogbert.vale-housing.co.uk
Whole thread Raw
In response to VB slow access  (Lucas Grijander <cuidadin@altavista.com>)
List pgsql-odbc

> -----Original Message-----
> From: Lucas Grijander [mailto:cuidadin@altavista.com]
> Sent: 10 December 2001 14:24
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] VB slow access
>
>
> Hi:
>
> I am writting a Visual Basic 4.0 app. I use PostgreSQL 7.1.3
> on a Linux Mandrake 8.1 Server.  Connection is through ODBC
> (v. 7.0.8). The database has 35 tables, the biggest with
> 35.000 records.
>
> My problem is when I write in the database (I write to 10
> tables in the db). It takes about 25 seconds to complete the
> writting operation, wich is a lot of time. It takes only a
> second to do the same for the pgadmin using the same ODBC and
> computers.

Hi,

Do you have all the logging switched off? pgAdmin II doesn't use DSN's so if
the DSN you are using from your VB app has logging enabled, then that may be
the cause of the speed problem.

If this isn't the problem, perhaps you could provide some examples of the
code you are using.

Regards, Dave.

pgsql-odbc by date:

Previous
From: Lucas Grijander
Date:
Subject: VB slow access
Next
From: odbc Postgres
Date:
Subject: Re: largeobject