RE: [ODBC] ODBC performance with ADO - Mailing list pgsql-odbc

From Enrico Gava
Subject RE: [ODBC] ODBC performance with ADO
Date
Msg-id 3B42159C000123E8@mail.tiscalinet.it
Whole thread Raw
In response to RE: ODBC performance with ADO  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses RE: ODBC performance with ADO  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-odbc
>> Hi,
>> I'm trying to access PostgreSQL table from Visual Basic using ADO
>> with ODBC
>> Provider. I am using the Postgres ODBC driver version 7.01.00.05.
>> The problem is that to obtain a readonly recordset of 5000
>
>What command are you issuing ?
>
recordset.open "select * from table_name"
the cursor is ForwardOnly, the lock is ReadOnly
it's the same with Connection.execute "select * from table_name"

>> records it takes
>> around 15 seconds.
>
>Could you show me the table definiton ?
>It takes 1~3 seconds to obtain 5000 or more records using ADO.

it's a simple test table:
  ID         int4
  LastName   varchar(30)
  FirstName  varchar(30)

regards
Enrico Gava

Enrico Gava
mailto:enrico.gava@tiscalinet.it



__________________________________________________________________
Abbonati a Tiscali!
Con VoceViva puoi anche ascoltare ed inviare email al telefono.
Chiama VoceViva allo 0143 434343
http://voceviva.tiscali.it





pgsql-odbc by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: ODBC performance with ADO
Next
From: "Joseph"
Date:
Subject: Access 97 - problems with the result set