Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm using VB2008 and and Online MySQL for my database.. Everything is working fine, the problem is each query took time before it displays a result..

Is there anything that i can do to speed it up..

Another thing is, is it possible to connect VB2008 to an online MySQL Database under a Cloud Server?

Any advise would be greatly appreciated!



Thanks!
Posted
Updated 12-Sep-12 21:16pm
v2
Comments
AmitGajjar 13-Sep-12 3:56am    
We can't predict where is the problem. Issue may be from your Stored procedure, query or may be from network traffic. so you have to be very specific for this question. improve question and show us one scenario.

too Little information to give an answer but I would suggest looking at the following

If the tables are large I would have a look at

a. Paging your data back to the client

Paging In a Datagridview Windows Form[^]

Generic GridView Using DataTable with Sorting and Paging[^]

b. Index the table
Google Search : MySql Indexing Tutorial[^]
 
Share this answer
 
Comments
chuan0308 22-Sep-12 1:32am    
Thanks for the information.. i would study about it and check if it helps..
use the below connectivity

"Driver={MySQL ODBC 5.1 Driver};SERVER=<ip address="">;Min Pool Size=5;Max Pool ize=100;UID=<username>;PWD=<password>;DataBase=<databasename>"
 
Share this answer
 
Comments
_Amy 17-Sep-12 8:02am    
Do you think, this is the actual answer the OP is looking for?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900