Data Sharding Method and Apparatus, and Computing Device
Патент · US A1
Полный текст
A data sharding method includes obtaining a plurality of pieces of stored data, and inputting the plurality of pieces of data into a ranking model to obtain a score corresponding to each piece of data, where input information of the ranking model includes the plurality of pieces of data, output information of the ranking model includes the score corresponding to each piece of data, the ranking model is determined based on the plurality of pieces of data and at least one query command, and the query command is used to query target data from the plurality of pieces of data. The method further includes determining, based on the score corresponding to each piece of data, file blocks respectively corresponding to the plurality of pieces of data.