-
公开(公告)号:US20230012642A1
公开(公告)日:2023-01-19
申请号:US17933160
申请日:2022-09-19
Abstract: With the method for snapshotting metadata, in response to reaching a current snapshot moment, a second basic version number of a binary search tree in a database at the current snapshot moment is generated according to a first basic version number at a previous snapshot moment; during a process from the current snapshot moment to a next snapshot moment, whenever metadata in the database is updated, the binary search tree is updated according to the updated metadata, and an updated version number of the binary search tree after each update is generated according to the second basic version number; and in response to reaching the next snapshot moment, a snapshot operation is performed on binary search trees corresponding to all version numbers generated between the current snapshot moment and the next snapshot moment to generate snapshot information of the current snapshot moment.
-
2.
公开(公告)号:US20230014427A1
公开(公告)日:2023-01-19
申请号:US17933180
申请日:2022-09-19
Inventor: Biao Cao , Meng Wang , Yongqiang Yang
Abstract: A global secondary index method for a distributed database, includes: obtaining original data to be written in response to a database writing request; writing the original data into the distributed database; performing global secondary index processing on the original data written into the distributed database to obtain global secondary index data; establishing global secondary index tables between the global secondary index data and data table primary keys in the distributed database; and writing the global secondary index tables into an index shards based on an asynchronous processing manner.
-
公开(公告)号:US20250130977A1
公开(公告)日:2025-04-24
申请号:US18987427
申请日:2024-12-19
Inventor: Biao Cao , Jiwei Xiong , Zhihui Yin
Abstract: The present disclosure provides a data operation method, apparatus, device, and storage medium, which relates to the technical fields of distributed file system, in particular, to the technical fields of multi-version concurrency control and log-structured merge tree. The specific implementation scheme is as follows: obtaining a plurality of operation records on at least one piece of data in a file system; determining a target operation record of target data in the plurality of operation records, where the target operation record is a deletion record, and the target operation record is a latest operation record of the target data; and deleting at least one version of the target data in the file system according to the target operation record.
-
公开(公告)号:US20230012881A1
公开(公告)日:2023-01-19
申请号:US17933191
申请日:2022-09-19
Inventor: Zhihui Yin , Biao Cao
Abstract: A method for reading data includes: receiving a data reading request; acquiring a data writing file in response to determining that the data reading request triggers a reading-writing conflict event, in which the data writing file includes a writing version number and transaction information; obtaining an adjusted writing version number by adjusting the writing version number based on the request version number in response to determining that the data reading request satisfies a version adjustment condition based on the request version number, the writing version number and the transaction information; and performing data reading based on the data reading address and the adjusted writing version number.
-
-
-