Method and device for storing data

用于数据存储的方法和设备

Abstract

An embodiment of the invention provides a method and a device for storing data. The method includes: obtaining the assignment command, the assignment command indicates the target data and the target storage medium used for storing the target data; obtaining at least one dependency group related to the target data, the dependency group indicates the associated data having the dependency relationship with the target data, the data used as the centre data in the dependency group depends on the data used as the peripheral data; and stopping the execution of the assignment command under this circumstance of locating the target data and the associated data in the storage medium having different data IO rate by the assignment command. According to the embodiment, the storage efficiency can be effectively raised.
本发明实施例提供了用于数据存储的方法和设备。所述方法包括:获取分配指令,所述分配指令指示目标数据和用于存储所述目标数据的目标存储介质;获取与所述目标数据有关的至少一个依赖组,其中所述依赖组指示与所述目标数据存在依赖关系的关联数据,并且其中在所述依赖组中作为中心数据的数据依赖于作为周边数据的数据;和在所述分配指令将使得所述目标数据和所述关联数据位于具有不同数据IO速率的存储介质的情况下,阻止所述分配指令的执行。采用根据本发明实施例的方案,可以有效地提高存储效率。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (3)

    Publication numberPublication dateAssigneeTitle
    CN-102831088-ADecember 19, 2012国家超级计算深圳中心(深圳云计算中心)基于混合存储器的数据迁移方法和装置
    CN-103186350-AJuly 03, 2013北京快网科技有限公司混合存储系统及热点数据块的迁移方法
    US-2013013561-A1January 10, 2013Microsoft CorporationEfficient metadata storage

NO-Patent Citations (0)

    Title

Cited By (1)

    Publication numberPublication dateAssigneeTitle
    US-9396353-B2July 19, 2016International Business Machines CorporationData allocation among devices with different data rates