如何加快vb2008和Online Mysql的查询 [英] How can I Speed Up Query for vb2008 and Online Mysql

查看:76
本文介绍了如何加快vb2008和Online Mysql的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在数据库中使用VB2008和Online MySQL.一切正常,问题是每个查询在显示结果之前都花了时间..

我有什么办法可以加快速度..

另一件事是,是否可以将VB2008连接到云服务器下的在线MySQL数据库?

任何建议将不胜感激!



谢谢!

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!

推荐答案

信息太少,无法给出答案,但是我建议您看一下以下内容

如果桌子很大,我来看看

一个.将数据分页回客户端

在Datagridview Windows窗体中分页 [ ^ ]

使用带有排序和分页功能的DataTable的通用GridView [ ^ ]

b.索引表
^ ]
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[^]


使用以下连接

驱动程序= {MySQL ODBC 5.1驱动程序};服务器=< ip地址=" ;;最小池大小= 5;最大池大小= 100; UID =<用户名;; PWD =<密码> ;;数据库= < databasename>"
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>"


这篇关于如何加快vb2008和Online Mysql的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆