Patent ID: 11868330
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for indexing data in a second storage engine in a database management system, the method comprising:
obtaining a target transaction, the target transaction indicating a process of indexing data across the second storage engine and a first storage engine of the same database management system, wherein the database management system uses a plug-in architecture to simultaneously support the first storage engine and the second storage engine, and the first storage engine and the second storage engine are configured to implement data storage and transaction management functions in different manners in the database management system;
determining target data in the first storage engine according to the target transaction, the target data being comprised in at least one first index table configured in the first storage engine;
determining, according to the first index table, at least one second index table configured in the second storage engine, the second index table being obtained by adding row numbers to an index column corresponding to the target data to map records in the second index table with corresponding records in the first index table, wherein each record in the second index table has an independent row number and has a corresponding record in the first index table, the row numbers indicating row data in the target data, and the second storage engine supporting execution of the target transaction; and
determining, according to a data index condition in the first storage engine, index data from the second index table, the index data being comprised in the target data.