Patent ID: 11960506
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. An electronic apparatus, comprising a memory and a processor, wherein the memory is configured to store computer programs, and the processor is configured to execute the computer program to:
determine an acquisition rate of performance data of each data type in a cloud platform; wherein, data types of the performance data include central processing unit (CPU) information data, internal memory information, network card traffic data, magnetic disk reading and writing rate data;
determine a shard corresponding to each data type according to the acquisition rate, wherein a difference between the total data acquisition rates corresponding to any two shards is within a preset range;
generate a database mapping table according to corresponding relationship between shards and databases, wherein the database mapping comprises a mapping relationship between the data types and the databases, and
when a data operation request is received, determine a target database corresponding to the data operation request according to the database mapping table, and execute a corresponding operation in the target database.