Metadata query method and apparatus

    公开(公告)号:US11474972B2

    公开(公告)日:2022-10-18

    申请号:US16831005

    申请日:2020-03-26

    Abstract: In the field of data storage, a metadata query method and an apparatus are disclosed to improve metadata searching efficiency. The method is applied to a linked snapshot. A metadata query request is received. A first time sequence identifier is obtained from the first snapshot volume based on the volume identifier of the first snapshot volume. A historical index information is queried based on the data block identifier and the first time sequence identifier. When the data block identifier exists, and the first time sequence identifier falls within a corresponding query time sequence interval a corresponding target volume identifier is obtained from the historical index information. Address metadata corresponding to the data block identifier are obtained from a second snapshot volume indicated by the target volume identifier.

Patent Agency Ranking