CodePudding user response:
Added index would hurry up and indexCodePudding user response:
Specific treatment, the frequency of the data changes, the query to the requirement of real-time data, the data query frequency have relations, such asFor high query frequency, low frequency update data, can be placed in redis, at the time of data update synchronization refresh redis,
For variable frequency with the query frequency is very high, but the query data real-time demand is not high, can take regular update redis,
In the end the specific issues that need to be specific, according to its own characteristics for the business to make decisions,