Summarize the development and problem solving processes of database query Software

Source: Internet
Author: User

The last time I posted my blog a week ago, the problem I mentioned last time has been solved. The problem is that in the data storage code written in QT, there is a container in the Data loop, I forgot to clear myself, so a large amount of duplicate data exists in the data storage, resulting in a huge database and a very slow query. Now I am testing to store about 1 million rows of data in an hour, this storage volume is efficient for data query.

From the bug in this code, we can see that we write a program carelessly. In many cases, we do not check it after writing the Code. In the future, we should check whether the pointer has been added for judgment and then use it again, in a loop, the container class member variables have wood and clear each cycle. These are valuable experiences left behind by the project. We recommend that you read the C ++ programming specifications in the near future, especially for pointers, many pointers in your code are relatively casual and can be called without judgment. This can easily cause program crash and the new pointer must be deleted, in the future, if vs2008 is used as a project, it is best to use the smart pointer provided by the boost library for security.

This project has finally come to an end, and this weekend has been quite decadent. It may be because of the lack of a specific learning plan, and I don't know what to do next. There are still many books to watch, there are still a lot of things to learn, so you should develop a detailed learning plan for yourself to complete a certain amount of learning tasks every day. This can ensure that every day is full and meaningful, you can also make yourself not so boring. It's so interesting to brush Weibo and visit everyone. You should make a summary and sort out what you will learn in the future in your blog to deepen your understanding and memory, this time I wrote so much and continue to work hard!

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.