avatar
how to make query faster?# Database - 数据库
c*e
1
I am doing some sql queries which need to join several tables in a
relatively large MySql database(version 4.**).
I've optimized the WHERE clause but the speed of the query is very slow...
Is it going to be faster if I write some API instead of doing direct query?
Please give me some suggestions!Thanks!
avatar
w*e
2
what kind join you used?

【在 c********e 的大作中提到】
: I am doing some sql queries which need to join several tables in a
: relatively large MySql database(version 4.**).
: I've optimized the WHERE clause but the speed of the query is very slow...
: Is it going to be faster if I write some API instead of doing direct query?
: Please give me some suggestions!Thanks!

avatar
c*e
3
thanks!I find out the problem.
The slow speed is because of I opened too many db connections...
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。