Index-mysql Query problems, optimized performance, and improved query time

Source: Internet
Author: User
I have a data collection table, one table every month, and I keep adding millions of data records every day. now I can query about 3 seconds of data records per month. I found that orderby in SQL consumes a lot of time, index creation is easy to query, and the efficiency of new data is certainly affected. how to balance the experience is not enough? now I can only think of it here, so I come to consult mysql index

I have a data collection table, one table every month, and I keep adding millions of data records every day. now I can query a page of data about 3 seconds. I found that order by in SQL consumes a lot of time, index creation is convenient for query, and the efficiency of new data is certainly affected. how can we balance it?

I am not experienced enough. now I can only think of it here, so I will come to consult

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.