Query results affected by SQL server logs

Source: Internet
Author: User

A few days ago, I found that the query on the website is abnormal. Generally, the content of the first-level directory is queried first, and the second-level directory is queried after I click the first-level directory ...... Until the bottom file is found. However, these days, we found that the query speed was very slow, and the query results were not a level-1 directory, but directly showed the bottom file, and the data volume displayed was also problematic.

At first, I thought the website was hacked. Because the website has not been modified, it should not be a problem of the website itself.

I checked the server for a long time and did not find anything.

Go to the website laterProgramAfter reading for a long time, I didn't see any problems.

Then I went to the database and watched it for a long time. I didn't see any problems.

At last, I accidentally saw that the database's log files were very large. There were several GB. I thought it was not because of this problem, right?

After backing up the SQL server logs, truncate the logs, compress the database, and then access the website. OK. Everything is normal.

I did not expect that the query results will be affected if the SQL server logs are too large!

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.