Method and apparatus for hotspot data detection for database, and storage medium
OwnerWei Huang, Zaiyu Paninventors
Life of this patent
Estimating the term…
Loading patent…
OwnerWei Huang, Zaiyu Paninventors
Estimating the term…
According to the embodiments of the present disclosure, a method and apparatus for hotspot data detection for a database and a storage medium are provided. The method includes: receiving a database query instruction, and determining whether a target primary key of data to be queried exists in a real-time hotspot primary key set corresponding to a current time period; if the target primary key does not exist, controlling, through a target cache, whether to add the target primary key to the real-time hotspot primary key set, the target cache is a cache; if the target primary key exists, accumulating, a query frequency of the target primary key in the current time period; and determining, after the current time period ends, a hotspot primary key of the current time period based on the real-time hotspot primary key set, and outputting a query frequency of the hotspot primary key.
A method for hotspot data detection for a database, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium, storing computer-executable instructions which, when executed by a processor, configure the processor to:
Dependencies are inferred from the claim text.