-
公开(公告)号:US20200272610A1
公开(公告)日:2020-08-27
申请号:US16691085
申请日:2019-11-21
IPC: G06F16/22 , G06F16/2455 , G06F16/23
Abstract: Embodiments of the present disclosure relate to a method, apparatus, device, and medium for storing and querying data. The method for storing data includes: generating, for to-be-stored data, a primary index for indexing the data. The method further includes: writing the primary index arid the data into a data row in a data table. The method further includes: generating a secondary index for indexing the primary index based on a query rule of the data table and the data. In addition, the method further includes: writing the secondary index and the primary index into an index row in the data table.
-
公开(公告)号:US20200242097A1
公开(公告)日:2020-07-30
申请号:US16690829
申请日:2019-11-21
IPC: G06F16/22 , G06F16/215 , G06F16/23 , G06F16/248
Abstract: Embodiments of the present disclosure relate to a method, apparatus, device and computer readable storage medium for managing an index are provided. The method for managing an index may include: determining a target index for target data stored in a database, the target index having a corresponding index tag for identifying a stored version of the target index. The method may further include acquiring, based on the target index, the target data stored in the database, the target data having a corresponding data tag for identifying a stored version of the target data. The method may further include determining, in response to the index tag not matching the data tag, an operation associated with the target index.
-