Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive Performance Help

Status
Not open for further replies.

fwadmin

IS-IT--Management
Jun 23, 2005
6
US
I am developing in VB6(sp5) and connecting to a database on the same machine via the pervasive 2000i workgroup engine. The performance is terrible using ADO through both ODBC and OLEDB. The same queries on an Access2000 database run 10 times faster.

I have noticed that using ODBC through a DAO connection performs very well but Microsoft is phasing out support for DAO.

I even went as far as creating an Access database with nothing but linked tables to the Pervasive tables and this performad very well also (but I think Access uses DAO for this).

How are you guys making your database connections with reasonable performance?

For example, a simple select and traverse of 2100 rows shows the following:
ADO/OLEDB - 8.5 seconds
ADO/ODBC - 12.3 seconds
DAO/ODBC - .38 seconde
Access Linked to Pervasive - .67 seconds

Thanks for any advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top