Get a shorter way to go (Al)

Source: Internet
Author: User

These two days have been plagued by a function implementation method. At first, the idea was very simple. It was a big deal to achieve a two-loop solution, but the performance was indeed a problem, although there are not many iterations in each loop, a database is required in one iteration. In the case of 6 out of 5, 30 times is required. We can imagine the database overhead. however, when I got off work today, I suddenly found that this complicated problem could be solved through the construction of the view, although the pressure on the Database End was reached, however, this solution is more efficient than multiple operations on database objects, andCodeYou don't have to write that much.

Related Article

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.