DATA STORAGE METHOD AND APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE STORAGE MEDIUM, AND COMPUTER PROGRAM PRODUCT
Dossier Overview
Applicant
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Inventor
Xin WU; Shuo LI; Lixiong ZHENG; Anqun PAN; Hailin LEI; Fuyang LU
IPC Classification
CPC Classification
This application provides a data storage method and apparatus, a device, a computer-readable storage medium, and a computer program product. The method includes acquiring a plurality of query requests for an application, and parsing the query requests to obtain at least one piece of column information in the query requests; determining candidate column combinations of tables related to the query requests; determining target column combinations of corresponding tables based on a plurality of candidate column combinations belonging to the same table, a total query overhead for executing the plurality of query requests being minimum when the table data of the tables is stored according to respective target column combinations; and storing the table data of the tables according to the target column combinations.
Original (Chinese)
This application provides a data storage method and apparatus, a device, a computer-readable storage medium, and a computer program product. The method includes acquiring a plurality of query requests for an application, and parsing the query requests to obtain at least one piece of column information in the query requests; determining candidate column combinations of tables related to the query requests; determining target column combinations of corresponding tables based on a plurality of candidate column combinations belonging to the same table, a total query overhead for executing the plurality of query requests being minimum when the table data of the tables is stored according to respective target column combinations; and storing the table data of the tables according to the target column combinations.
External Resources