Skip site navigation (1) Skip section navigation (2)

RE: [ODBC] ODBC performance with ADO

From: Enrico Gava <enrico(dot)gava(at)tiscalinet(dot)it>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: RE: [ODBC] ODBC performance with ADO
Date: 2001-07-21 09:12:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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
>> The problem is that to obtain a readonly recordset of 5000
>What command are you issuing ?
> "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)
Enrico Gava

Enrico Gava

Abbonati a Tiscali!
Con VoceViva puoi anche ascoltare ed inviare email al telefono.
Chiama VoceViva allo 0143 434343

In response to


pgsql-odbc by date

Next:From: JosephDate: 2001-07-21 11:19:25
Subject: Access 97 - problems with the result set
Previous:From: Hiroshi InoueDate: 2001-07-21 06:30:38
Subject: RE: ODBC performance with ADO

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group