We have an Inventory system running on Visual Basic and Access MDB for the database. Because of frequent corruption of the Access data MDB, we implemented the same VB program on MySQL.
There were no major changes in the program since we used ADO. In fact, the only relevant change was simply the connection string. The programs were done in such a way it would work on any ODBC-compliant database and Access MDB.
We have a query form being used to query items. The Inventory table right now has 55,000 line items. In the VB/Access version, running a query to "Select * from inventory" takes about 7 seconds to display the items on a datagrid.
In the same form, using MySQL - the results were displayed after more than 7 MINUTES! What did we do wrong? Do I have to tweak anything on MySQL? The size of the inventory table was just 25MB.
We were not running Apache or any webserver. The PC which hosts the MySQL database runs on Windows ME. THe client is running on Windows 98. There was only 1 current connection. We are using TCP/IP. We are using MyODBC and the ADO data control.
This is a disaster. Please help!
There were no major changes in the program since we used ADO. In fact, the only relevant change was simply the connection string. The programs were done in such a way it would work on any ODBC-compliant database and Access MDB.
We have a query form being used to query items. The Inventory table right now has 55,000 line items. In the VB/Access version, running a query to "Select * from inventory" takes about 7 seconds to display the items on a datagrid.
In the same form, using MySQL - the results were displayed after more than 7 MINUTES! What did we do wrong? Do I have to tweak anything on MySQL? The size of the inventory table was just 25MB.
We were not running Apache or any webserver. The PC which hosts the MySQL database runs on Windows ME. THe client is running on Windows 98. There was only 1 current connection. We are using TCP/IP. We are using MyODBC and the ADO data control.
This is a disaster. Please help!