METADATA QUERY METHOD AND APPARATUS

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, and includes: receiving a metadata query request; obtaining a first time sequence identifier from the first snapshot volume base...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YANG, Zhongbing, TU, Yan, LI, Yong
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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, and includes: receiving a metadata query request; obtaining a first time sequence identifier from the first snapshot volume based on the volume identifier of the first snapshot volume; querying historical index information based on the data block identifier and the first time sequence identifier; and when the data block identifier exists, and the first time sequence identifier falls within a corresponding query time sequence interval, obtaining a corresponding target volume identifier from the historical index information, and obtaining, from a second snapshot volume indicated by the target volume identifier, address metadata corresponding to the data block identifier (304).