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!