METHOD AND DEVICE FOR SNAPSHOTTING METADATA, AND STORAGE MEDIUM

    公开(公告)号: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.

Patent Agency Ranking