If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Fast record retrieval on large databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-04, 01:37
divined divined is offline
Registered User
 
Join Date: Apr 2004
Posts: 110
Fast record retrieval on large databases

Hello everybody

I`ve built a custom application for our company. It`s uses Visual Basic 6 as a front end and MySQL as the DBMS. ADO is being used to access the database. In order to browse the records or add a new record in the table I`ve been using the ADODB.Recordset object.
Unfortunately when the database (records of a table) becomes large it gets quite sluggish because the Recordset object is being populated with all the records of a table.
Is there a better way? I know I could execute an Insert statement but I also need a Recordset like object because on the same form a user can browse through the records if he/she wishes.

thx, in advance

George Papadopoulos
Reply With Quote
  #2 (permalink)  
Old 09-30-04, 07:13
Daniel_Johns Daniel_Johns is offline
Registered User
 
Join Date: Jul 2004
Posts: 69
hi!

The way we communicate through MySQL is the reason why the speed is so sluggish. We use ADO to communicate with MySQL dbs, in order to communicate with non-MS db...like MySQL, ADO library needs to combine with ODBC to talk to a non-MS (Microsoft) db. It means that is has really slowed down the communication process. In order to get direct communication with MySQL db using VB without ADO and ODBC, use Robert Rowe's VBMySQLDirect.dll. VBMySQLDirect is a high level API (Application Programmer's Interface) for communicating with MySQL servers. It is intended to directly replace usage of ADO with the MySQL ODBC driver. It is simpler to use, has many MySQL specific features and is a great deal faster.Visit their site at: http://www.vbmysql.com/projects/vbmysqldirect/

sorry guys (admin) if I posted some link. Just want to help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On