RE: ODBC performance with ADO

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
RE: ODBC performance with ADO
Дата
Msg-id
EKEJJICOHDIEMGPNIFIJAEKIEPAA.Inoue@tpf.co.jp
Ответ на
Список
Дерево обсуждения
ODBC performance with ADO Enrico Gava <enrico.gava@tiscalinet.it>
RE: ODBC performance with ADO "Hiroshi Inoue" <Inoue@tpf.co.jp>
RE: [ODBC] ODBC performance with ADO Enrico Gava <enrico.gava@tiscalinet.it>
RE: ODBC performance with ADO "Hiroshi Inoue" <Inoue@tpf.co.jp>
RE: ODBC performance with ADO "Robby Slaughter" <webmaster@robbyslaughter.com>
RE: [ODBC] ODBC performance with ADO Enrico Gava <enrico.gava@tiscalinet.it>
> -----Original Message-----
> From: Enrico Gava [mailto:enrico.gava@tiscalinet.it]
> 
> >> 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)
>  

Hmm it doesn't take that long even on a table with 30 columns here.
Aren't you turning on mylog debug ? i.e Aren't there mylog_xxxx.log
files under C:\ ? If so
Ensure that the ODBC driver is not in Debug mode (i.e. set
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL\Debug = 0
using regedit).

regards,
Hiroshi Inoue
В списке pgsql-odbc по дате отправления
От: Joseph
Дата:
От: Randall Perry
Дата:
FAQ