Just wanted to ask! The red dots above request the back-end to directly query the database conditions and return the result! Now the database can be processed quickly if there is little data, but once the amount of data is large, the returned results will become slower. How to optimize the backend? I want to store the results directly in separate tables, and change the data in this table once the user operates. However, I always feel that the idea is messy. Can someone help me solve this problem?
PHP中文网2017-06-06 09:54:20
Don’t use count to collect statistics, but use accumulation to store the red dot data in a temporary table (it is recommended to store it in nosql)