WO2018113317A1 - Data migration method, apparatus, and system - Google Patents

Data migration method, apparatus, and system Download PDF

Info

Publication number
WO2018113317A1
WO2018113317A1 PCT/CN2017/096784 CN2017096784W WO2018113317A1 WO 2018113317 A1 WO2018113317 A1 WO 2018113317A1 CN 2017096784 W CN2017096784 W CN 2017096784W WO 2018113317 A1 WO2018113317 A1 WO 2018113317A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
data
unit time
ratio
capacity ratio
Prior art date
Application number
PCT/CN2017/096784
Other languages
French (fr)
Chinese (zh)
Inventor
周臣
董浩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018113317A1 publication Critical patent/WO2018113317A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/068Hybrid storage device

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data migration method, apparatus, and system.
  • the use value of data has its own life cycle and can be followed regularly.
  • various types of metadata (such as part of the operating system data of a virtual machine) are of high value, are frequently accessed, and have high response speed requirements.
  • the frequency of newly generated data is usually accessed more frequently. Over time, the frequency of newly generated data will decrease and will not be accessed frequently.
  • Automatic tiered storage technology has thus emerged and is widely used in a variety of industries.
  • the automatic tiered storage technology stores data on different performance storage devices according to the characteristics of data access frequency, importance, retention time, etc.; and migrates data with low access frequency to lower performance based on the frequency at which data is accessed.
  • data that is frequently accessed is migrated to a storage device with high performance.
  • Data migration strategies include migrating low-access data to lower-performance storage devices and migrating frequently accessed data to high-performance storage devices.
  • data that is frequently accessed is preferentially migrated to a high-performance storage device.
  • the amount of data migrated is often determined according to the current available capacity of the high-performance storage device, and is generally performed by IO request for accessing data. Monitoring, the number of accessed IO requests reaches a certain amount of data and migrates to high-performance storage devices.
  • the embodiment of the present application provides a method, an apparatus, and a system for migrating data, which can accurately determine the amount of data of data that needs to be migrated from the first storage device to the second storage device, and migrate as much data as possible to the second storage device. At the same time, it can ensure that the performance of the second storage device is not affected, and the performance and efficiency of the storage system are improved.
  • a first aspect a method for migrating data in a storage system, the storage system first storage device and the second storage device, the method comprising: acquiring a read/write number of the second storage device per unit time; and according to the second storage device Obtaining the number of readings and the number of times per unit time, obtaining the intensity ratio of the second storage device; querying the intensity ratio to the capacity ratio correspondence table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining the required ratio from the capacity ratio according to the a number of data blocks that a storage device migrates to the second storage device; and a corresponding data block is migrated from the first storage device to the second storage device according to the quantity.
  • the intensity ratio of the second storage device After obtaining the intensity ratio of the second storage device, according to the strength ratio and the capacity ratio correspondence table, it is required to migrate to the second storage.
  • the number of data blocks of the storage device In this way, the specific value of the migrated data can be determined according to the performance of the second storage device, which can ensure that the performance of the second storage device is not affected after the data is migrated, and the performance of the entire storage system is ensured.
  • the intensity ratio to capacity ratio correspondence table is obtained by pre-monitoring analysis.
  • the strength ratio to capacity ratio correspondence table can be directly queried to quickly obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
  • the query intensity ratio to capacity ratio correspondence table is obtained by a fuzzy matching rule to obtain a capacity ratio corresponding to the intensity ratio.
  • the ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
  • the number of readings and writes per unit time in each storage block in the storage system is obtained, and the number of read and write times per unit time of each data block obtained is in order from high to low. arrangement.
  • the number of read and write times determines a data block corresponding to the capacity ratio; and the number of data blocks corresponding to the capacity ratio in the first storage device is confirmed.
  • the number of read and write times per unit time of each data block in the obtained storage system is arranged in order from high to low, so that The data block with higher read/write times per unit time can be migrated from the first storage device to the second storage device with higher performance in order according to the determined number of data blocks that need to be migrated, and the IO request can be responded more quickly.
  • the intensity ratio of the second storage device is the sum of the number of reading and writing times per unit time of the second storage device and the number of reading and writing times per unit time of the first storage device and the number of reading and writing times per unit time of the second storage device. proportion.
  • the number of reading and writing times of the first storage device per unit time is the product of the number of reading and writing times per unit time in the first storage device and the number of disks in the first storage device.
  • the first conversion factor is related to the ratio of the read request and the write request of the first storage device and the RAID level of the first storage device; the reading of the second storage device per unit time
  • the number of writes is a product of the number of reads and writes in a single disk unit time and the number of disks in the second storage device in the second storage device divided by a second conversion factor, the second conversion factor and the The ratio of the read request of the second storage device to the write request and the RAID level of the second storage device.
  • the number of readings and writes in a single disk unit time in the first storage device is related to the load characteristics of the first storage device and the response time; the single disk unit time in the second storage device The number of read and write times is related to the load characteristics of the second storage device and the response duration.
  • the device can guarantee the performance of the storage device and improve the efficiency and performance of the storage system.
  • a storage system for implementing data migration includes a first storage device, a second storage device, and a processor, and the processor is used in each step of the above method.
  • the processor is used in each step of the above method.
  • a storage system for implementing data migration includes a first storage device, a second storage device, and a processor.
  • the processor includes a data collection and analysis module and a data migration module.
  • the data collection and analysis module is configured to obtain the read/write times of the second storage device in a unit time; and obtain the intensity ratio of the second storage device according to the read/write times of the second storage device per unit time; the query intensity ratio and the capacity ratio Corresponding to the table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining, according to the capacity ratio, the number of data blocks that need to be migrated from the first storage device to the second storage device; and obtaining the data block to be migrated The amount is sent to the data migration module.
  • the data migration module is configured to migrate the obtained number of data blocks from the first storage device to the second storage device.
  • the data collection and analysis module obtains the intensity ratio of the second storage device, and obtains the number of data blocks that need to be migrated to the second storage device according to the strength ratio and the capacity ratio correspondence table. In this way, the specific value of the migrated data can be determined according to the performance of the second storage device, which can ensure that the performance of the second storage device is not affected after the data is migrated, and the performance of the entire storage system is ensured.
  • the data acquisition and analysis module is further configured to: pre-collect an IO request of the analysis application to the storage system, and obtain a strength ratio to capacity ratio correspondence table.
  • the data collection and analysis module can directly query the strength ratio and capacity ratio correspondence table to quickly obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
  • the data acquisition and analysis module is configured to obtain a capacity ratio corresponding to the intensity ratio by using a query strength ratio and a capacity ratio correspondence table, and specifically: the data collection and analysis module is configured to query a strength ratio and a capacity ratio correspondence table.
  • a capacity ratio corresponding to the intensity ratio is obtained by a fuzzy matching rule.
  • the ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
  • the data acquisition and analysis module is further configured to acquire the number of readings and writes per unit time in each data block in the storage system, and read and write the unit time of each data block obtained.
  • the number of data blocks from the first storage device to the second storage device is obtained by the data collection and analysis module according to the capacity ratio: The capacity ratio is obtained in order to obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
  • the data collection and analysis module presses the number of read and write times per unit time of each data block in the obtained storage system from high to low. Arrange sequentially, so that data blocks with higher read/write times per unit time can be sequentially migrated from the first storage device to the second storage device with higher performance according to the determined number of data blocks to be migrated, faster Respond to IO requests.
  • the data acquisition and analysis module is further configured to obtain the number of read and write times of the first storage device per unit time.
  • the intensity ratio of the second storage device is the proportion of the number of reading and writing times per unit time of the second storage device to the sum of the number of reading and writing times per unit time of the first storage device and the number of reading and writing times per unit time of the second storage device.
  • the number of readings and writes per unit time of the first storage device is the product of the number of readings and writes in a single disk unit time and the number of disks in the first storage device in the first storage device, and then divided by a conversion factor, wherein the first conversion factor is related to a ratio of a read request and a write request of the first storage device and a RAID level of the first storage device; and the number of read and write times of the second storage device per unit time is a single storage device
  • the product of the number of reads and writes in the unit time and the number of disks in the second storage device is divided by the second conversion factor, the second conversion factor and the read request of the second storage device It is related to the ratio of the write request and the RAID level of the second storage device.
  • the device can guarantee the performance of the storage device and improve the efficiency and performance of the storage system.
  • FIG. 1 is a schematic structural diagram of a storage system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for migrating data according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of another storage system according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for migrating data in a storage system, and calculates a size of data to be migrated by collecting and collecting load characteristics of an IO request to access the storage system, and estimating the performance of the storage device in the storage system. Maximize the performance of your storage system for the purpose of migrating data on demand
  • data whose access frequency reaches a predetermined value is referred to as hot data
  • data whose access frequency is lower than a predetermined value is referred to as cold data.
  • the storage system 1 includes a storage medium 101, a processor 103, and a cache 105.
  • the storage medium 101 in the storage system 1 can be various and divided into different performance layers according to the performance of the storage medium.
  • the storage medium in the storage system consists of an SSD disk and a common hard disk.
  • the SSD disk constitutes a high-performance layer storage device
  • the ordinary hard disk constitutes a storage device of a common performance layer.
  • the high performance layer and the common performance layer are included in the storage system as an example.
  • the common performance layer in the storage system is referred to as a first storage device, and the high performance in the storage system.
  • the layer is called the second storage device.
  • the hot data is moved to the high performance layer as an example, and the hot data cooling from the high performance layer to the common performance layer can also be processed by the same method.
  • the data can be processed in the same way when migrating between different performance layers.
  • the processor 103 is configured to execute the method of migrating data described below, and the cache 105 is configured to store required information.
  • the flow of the method for migrating data in the storage system provided by the embodiment of the present invention is as shown in FIG. 2, and is completed by a processor in the storage system.
  • the method embodiment of the present invention mainly describes an implementation manner of migrating data from a common performance layer to a high performance layer, which is described in detail below.
  • the common performance layer in the storage system is referred to as a first storage device
  • the high performance layer in the storage system is referred to as a second storage device.
  • the IO request in the embodiment of the present invention is an object of monitoring and analyzing the IO request for accessing the storage medium.
  • Step 201 Acquire the number of times of reading and writing of the second storage device per unit time.
  • the processor obtains the number of times of reading and writing of the second storage device in a unit time.
  • the unit time can be determined by the user according to the service type, which is not limited in the embodiment of the present invention.
  • the unit time is 1 second, the number of read/write times per second (IOPS) of the second storage device is obtained.
  • each disk in the same performance layer storage device has the same type.
  • Embodiments of the present invention provide A method for obtaining the number of reading and writing times per unit time of the second storage device.
  • the number of reads and writes per unit time of the second storage device (number of read/write times per unit time * number of disks) / RAID conversion factor.
  • the number of disks is the number of disks in the second storage device.
  • the RAID conversion factor is related to the ratio of read and write IO and the write penalty coefficient.
  • the number of reads and writes in a single disk unit is related to the load characteristics and response duration of the second storage device.
  • the data can be collected in advance and obtained statistically, as shown in Table 2.
  • the load characteristic of the second storage device here is the load characteristic of the IO request to access the second storage device.
  • the IOPS of the single disk in the second storage device can be directly found according to the load characteristic and the response time value of the IO request of the second storage device. The above method calculates the number of times of reading and writing in the second storage device time.
  • Table 2 Lookup table of the number of read/write times per unit time in the second storage device
  • the number of times of reading and writing in a single disk unit time can also be obtained according to the load characteristics and the response time length of the IO request for accessing the second storage device, and the value of the second table is not required to be obtained in advance.
  • Step 203 Acquire an intensity ratio of the second storage device according to the number of accesses of the second storage device per unit time.
  • the strength ratio of the second storage device is a ratio of the number of accesses per unit time of the second storage device to the number of accesses per unit time of the storage system.
  • the number of accesses of the second storage device per unit time has been described in step 201 and will not be further described herein.
  • the method for obtaining the number of accesses per unit time of the first storage device is the same as the method for obtaining the number of accesses per unit time of the second storage device, and is not further described.
  • the reading of the single disk unit time in the first storage device The number of writes can also be collected in advance and statistically obtained, as shown in Table 3.
  • Table 3 Lookup table for the number of read/write times per unit time in the first storage device
  • Tables 2 and 3 can be combined into one table storage, that is, the number of readings and writes in a single disk unit time in each performance layer in the storage system can be reflected in a table, as shown in Table 4. .
  • the number of readings and writes per unit time in a single disk in other performance layers may be reflected in one table, or may be embodied in different tables, in the implementation of the present invention. There is no limit in the example.
  • Table 4 Lookup table for the number of read and write times per unit time in the storage system
  • Step 205 Query a correspondence table between the intensity ratio and the capacity ratio, and obtain a capacity ratio corresponding to the intensity ratio.
  • the correspondence table between the intensity ratio and the capacity ratio is obtained by monitoring and analyzing the business data in advance.
  • the service data in the storage system (including the first storage device and the second storage device) is split into a plurality of data blocks, and the number of read and write times of the data blocks in a unit time, that is, the access strength of the data block is obtained.
  • Business data can be split into multiple data blocks according to the granularity of migration, or can be split into multiple data blocks according to the specified size.
  • the number of reads and writes of these data blocks is accessed during the statistical monitoring time, and the number of read and write times of the data blocks per unit time is calculated, that is, the access strength.
  • the data blocks in the storage system are sorted according to the access intensity from high to low, and then the data blocks are divided into groups according to a certain capacity ratio. For example, as shown in Table 3, data blocks are grouped by a capacity ratio of 2.5%, that is, data1 to dataA form a group having a capacity ratio of 2.5%, that is, data1 to data2A form a group having a capacity ratio of 5%... and so on. As shown in Table 5.
  • Capacity ratio Intensity ratio 0.0% 0.0% 2.5% 35.0% 5.0% 50.0% 7.5% 60.0% 10.0% 65.0% 12.5% 67.0% 15.0% 69.0% 20.0% 70.0% 25.0% 71.5% 30.0% 72.0% 100.0% 100.0%
  • Table 6 Correspondence table between intensity ratio and capacity ratio of a typical load
  • the number of I/O accesses is 65% of the total number of I/O accesses in the storage system.
  • the strength ratio of the data block is 70%
  • the corresponding capacity ratio is 20%
  • the P hot spot capacity ratio [70%] 20%, indicating that the number of I/O accesses accounts for all data blocks I/ in the storage system.
  • the number of O accesses 70% of the data blocks accounts for 20% of all data blocks in the storage system.
  • the data block access situation of the primary business model can be used as a statistical basis to obtain a strength ratio to capacity ratio correspondence table.
  • the capacity ratio corresponding to the strength ratio of the second storage device can be obtained by querying the capacity ratio correspondence table.
  • the query rule may adopt a fuzzy matching rule, that is, a query strength ratio and a capacity ratio correspondence table, and obtain a capacity ratio corresponding to the intensity ratio by a fuzzy matching rule. If the intensity ratio of the query needs to be inaccurately matched in the intensity ratio to the capacity ratio correspondence table, the corresponding capacity ratio is searched for according to the intensity ratio of the obtained second storage device and the intensity ratio of the higher one. If the data block to be migrated according to the capacity ratio obtained by the query satisfies the condition, the capacity ratio is calculated.
  • the strength ratio of the obtained second storage device is lower than the strength ratio of the lower one to find the corresponding capacity ratio.
  • Step 207 Obtain a quantity of data blocks that need to be migrated from the first storage device to the second storage device according to the capacity ratio.
  • the number of data blocks corresponding to the capacity ratio is obtained. Obtaining the number of readings and writes per unit time in each data block in the storage system, and reading the unit time of each data block obtained The number of writes is arranged in order from high to low; according to the obtained number of data blocks corresponding to the capacity ratio, a corresponding number of data blocks are selected according to the access intensity from high to low, and it is determined that the first storage device needs to be migrated to the second The number of data blocks of the storage device.
  • the following is an example in which the data block has not been moved in the second storage device. If the data block exists in the second storage device, the corresponding value is subtracted from the value already in the second storage device. , no longer explain one by one.
  • the amount of migrated data P capacity ratio [second storage device IOPS / (second storage device IOPS + first storage device IOPS)] * total data amount. If the calculated amount of data of the data block to be migrated is smaller than the total capacity of the second storage device, the number of data blocks that need to be migrated is the number of the calculated data blocks. If the calculated data volume of the data block to be migrated is greater than the total capacity of the second storage device, the number of data blocks that need to be migrated is based on the total capacity of the second storage device.
  • Step 209 Migrate the corresponding data block from the first storage device to the second storage device according to the quantity.
  • the number of data blocks that need to be migrated from the first storage device to the second storage device calculated according to step 207, and the corresponding number of data blocks are migrated from the first storage device to the second storage device according to the access intensity from high to low. in.
  • the data that accounts for 66% of the storage system access strength is migrated to the second storage device. Since the second storage device is a high-performance storage device, the user's request can be responded to in time. Moreover, the amount of data migrated does not exceed the capacity of the second storage device, and does not affect the performance of the second storage device, thereby ensuring the overall performance of the storage system.
  • the embodiment of the present invention further provides a storage system 3, which can implement the data migration method as described above, and the structure of the storage system 3 is as shown in FIG. 3.
  • the storage system 3 includes a first storage device 321 and a second storage device 323, and the performance of the first storage device 321 and the second storage device 323 are different.
  • the first storage device 321 is composed of a storage medium of a general performance, such as a conventional disk, and can store user data.
  • the second storage device 323 is composed of a high-performance storage medium, such as an SSD disk, and can be used to store hot data. .
  • a description will be made using the storage device.
  • the storage device in the embodiment of the present invention is only an exemplary description. In practical applications, storage media with different performances may also be added. The number of the storage media included in the storage device may also be set as needed, which is not limited in the embodiment of the present invention. In addition, the storage device may be composed of a storage medium of the same performance, or may be composed of a storage medium having similar performance.
  • the embodiment of the present invention is described by taking an example of migrating data in the first storage device 321 to the second storage device 323. In this embodiment, only the functions of the components in the storage system 3 are briefly described. For details of the method steps involved, refer to the description of the method embodiments in the foregoing.
  • the storage system 3 further includes a processor 31 including a data acquisition and analysis module 311 and a data migration module 313.
  • the data collection and analysis module 311 is configured to perform an analysis and calculation on the IO request of the application access storage device, obtain the number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323, and notify the data migration module 313.
  • the data migration module 313 is configured to migrate the obtained number of data blocks from the first storage device 321 to the second storage device 323.
  • the data collection and analysis module 311 is configured to acquire the read/write times of the second storage device 323 in a unit time; and obtain the intensity ratio of the second storage device 323 according to the read/write times of the second storage device 323 per unit time.
  • a query intensity ratio to capacity ratio correspondence table obtaining a capacity ratio corresponding to the intensity ratio; obtaining a number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323 according to the capacity ratio
  • the obtained number of data blocks that need to be migrated is sent to the data migration module 313.
  • the data collection and analysis module 311 obtains the intensity ratio of the second storage device 323, and obtains the number of data blocks that need to be migrated to the second storage device 323 according to the intensity ratio and capacity ratio correspondence table. In this way, the amount of migrated data can be determined according to the performance of the second storage device 323, and the performance of the second storage device 323 can be ensured after the data is migrated, thereby ensuring the performance of the entire storage system.
  • the data migration module 313 is configured to migrate the corresponding data block from the first storage device 321 to the second storage device 323 according to the received number of data blocks that need to be migrated.
  • the data collection and analysis module 311 is further configured to pre-collect an IO request of the analysis application to the storage system 3 to obtain an intensity ratio and capacity ratio correspondence table. After the intensity ratio of the second storage device 323 is obtained, the strength ratio and capacity ratio correspondence table can be directly queried, and the number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323 can be quickly obtained.
  • the data collection and analysis module 311 is configured to obtain a capacity ratio corresponding to the intensity ratio by using the query strength ratio and the capacity ratio correspondence table.
  • the data collection and analysis module 311 is configured to query the intensity ratio and the capacity ratio correspondence table, and obtain the The intensity ratio is a corresponding capacity ratio.
  • the ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
  • the data collection and analysis module 311 is further configured to acquire the number of reading and writing times per unit time in each data block in the storage system 3, and press the number of times of reading and writing in the unit time of each data block obtained from high to low. Arranging sequentially; determining a data block corresponding to the capacity ratio according to the capacity ratio and the number of read and write times per unit time of each acquired data block; confirming in the first storage device 321 in order
  • the capacity ratio is the number of corresponding data blocks.
  • the data collection and analysis module 311 will read and write the number of read and write times per unit time of each data block in the storage system 3. Arranged in order from high to low, so that data blocks with higher read/write times per unit time can be sequentially migrated from the first storage device 321 to the second higher performance module according to the determined number of data blocks to be migrated. In storage device 323, the IO request is responded more quickly.
  • the data collection and analysis module 311 is further configured to acquire the number of times of reading and writing of the first storage device 321 per unit time.
  • the intensity ratio of the second storage device 323 is the number of reading and writing times per unit time of the second storage device 323, and the number of reading and writing times per unit time of the first storage device 321 and the number of reading and writing times per unit time of the second storage device 323. And the proportion.
  • the number of times of reading and writing of the first storage device 321 per unit time is the product of the number of reading and writing times per unit time in the first storage device 321 and the number of disks in the first storage device 321 divided by a first conversion factor, the first conversion factor is related to a ratio of a read request and a write request of the first storage device 321 and a RAID level of the first storage device 321;
  • the number of times of reading and writing of the second storage device 323 per unit time is the product of the number of reading and writing times per unit time in the second storage device 323 and the number of disks in the second storage device 323 divided by a second conversion factor, the second conversion factor being related to a ratio of a read request to a write request of the second storage device 323 and a RAID level of the second storage device 323.
  • the storage device 323 can ensure the performance of the storage device 323 and improve the efficiency and performance of the storage system.
  • the embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the storage system, which includes a program designed to execute the foregoing method embodiments. By executing a stored program, a method of migrating data between storage devices can be implemented.
  • the embodiment of the present application further provides a computer program, which includes instructions, when the computer program is executed by a computer, to enable the computer to execute the flow of the foregoing method embodiment.
  • embodiments of the present application can be provided as a method, apparatus (device), or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A data migration method for a storage system is provided. The storage system comprises a first storage device and a second storage device. The method comprises the following steps: obtaining the number of read/write operations per unit time of the second storage device; obtaining, according to the number of read/write operations per unit time of the second storage device, a strength ratio of the second storage device; looking up a strength ratio versus capacity ratio correspondence table, to obtain a capacity ratio corresponding to the strength ratio; obtaining, according to the obtained capacity ratio, the number of data blocks that need to be migrated from the first storage device to the second storage device; and migrating, according to the number, corresponding data blocks from the first storage device to the second storage device. By means of the method of the invention, the number of data blocks to be migrated from the first storage device to the second storage device can be accurately determined, thereby ensuring that performance of the second storage device is not affected while as much data as possible is migrated to the second storage device, and improving performance and efficiency of the storage system.

Description

数据的迁移方法、装置和系统Data migration method, device and system 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据的迁移方法、装置和系统。The present application relates to the field of communications technologies, and in particular, to a data migration method, apparatus, and system.
背景技术Background technique
随着网络的发展,有越来越多的数据产生。不同的数据具备不同的使用价值,有些数据会被频繁访问,有些数据会在很长时间之内都不会被访问,还有些数据会在某些时刻被频繁访问。With the development of the network, more and more data is generated. Different data has different usage values, some data will be accessed frequently, some data will not be accessed for a long time, and some data will be accessed frequently at certain times.
数据的使用价值有自己的生命周期,可以有规律可循。通常,各类元数据(例如虚拟机的部分操作系统数据)使用价值高,会被频繁访问,并且对响应速度要求也很高。新产生的数据的通常被访问的频率也比较高。而随着时间的推移,新产生的数据的使用频率会下降,不再被频繁访问。The use value of data has its own life cycle and can be followed regularly. In general, various types of metadata (such as part of the operating system data of a virtual machine) are of high value, are frequently accessed, and have high response speed requirements. The frequency of newly generated data is usually accessed more frequently. Over time, the frequency of newly generated data will decrease and will not be accessed frequently.
自动分级存储技术因此而产生,并被广泛应用于各行各业。自动分级存储技术根据数据的访问频率、重要性、保留时间等特性,将数据存储在不同性能的存储设备上;并且基于数据被访问的频率,将被访问频率低的数据迁移到性能较低的存储设备中,将被频繁访问的数据迁移到性能高的存储设备中。Automatic tiered storage technology has thus emerged and is widely used in a variety of industries. The automatic tiered storage technology stores data on different performance storage devices according to the characteristics of data access frequency, importance, retention time, etc.; and migrates data with low access frequency to lower performance based on the frequency at which data is accessed. In a storage device, data that is frequently accessed is migrated to a storage device with high performance.
数据迁移策略包括把被访问频率低的数据迁移到性能较低的存储设备中,以及将被频繁访问的数据迁移到高性能的存储设备中。数据迁移时优先选择将被频繁访问的数据往高性能的存储设备中迁移,迁移的数据量往往是根据高性能存储设备当前的可用容量来决定的,而且一般是通过对访问数据的IO请求进行监控,将访问的IO请求数量达到一定数量的数据迁移到高性能的存储设备中。Data migration strategies include migrating low-access data to lower-performance storage devices and migrating frequently accessed data to high-performance storage devices. During data migration, data that is frequently accessed is preferentially migrated to a high-performance storage device. The amount of data migrated is often determined according to the current available capacity of the high-performance storage device, and is generally performed by IO request for accessing data. Monitoring, the number of accessed IO requests reaches a certain amount of data and migrates to high-performance storage devices.
发明人在发明过程中发现,目前自动分级存储技术的数据迁移策略比较简单,迁移后的存储系统的整体性能无法预判,可能导致高性能的存储设备出现过载的问题。The inventor found in the process of the invention that the data migration strategy of the automatic hierarchical storage technology is relatively simple, and the overall performance of the migrated storage system cannot be predicted, which may lead to overload of the high-performance storage device.
发明内容Summary of the invention
本申请实施例提供一种迁移数据的方法、装置和系统,可以精确确定需要从第一存储设备迁移到第二存储设备的数据的数据量,在把尽量多的数据迁移到第二存储设备的同时,又可以保证第二存储设备的性能不受影响,提高了存储系统的性能和效率。The embodiment of the present application provides a method, an apparatus, and a system for migrating data, which can accurately determine the amount of data of data that needs to be migrated from the first storage device to the second storage device, and migrate as much data as possible to the second storage device. At the same time, it can ensure that the performance of the second storage device is not affected, and the performance and efficiency of the storage system are improved.
本申请实施例提供如下技术方案:The embodiments of the present application provide the following technical solutions:
第一方面,提供一种存储系统中迁移数据的方法,存储系统第一存储设备和第二存储设备,方法包括:获取第二存储设备单位时间内的读写次数;根据所述第二存储设备单位时间内的读写次数,获取所述第二存储设备的强度比;查询强度比与容量比对应表,获得与所述强度比对应的容量比;根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量;根据所述数量将对应的数据块从所述第一存储设备迁移到所述第二存储设备。A first aspect, a method for migrating data in a storage system, the storage system first storage device and the second storage device, the method comprising: acquiring a read/write number of the second storage device per unit time; and according to the second storage device Obtaining the number of readings and the number of times per unit time, obtaining the intensity ratio of the second storage device; querying the intensity ratio to the capacity ratio correspondence table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining the required ratio from the capacity ratio according to the a number of data blocks that a storage device migrates to the second storage device; and a corresponding data block is migrated from the first storage device to the second storage device according to the quantity.
获取第二存储设备的强度比后,根据强度比与容量比对应表得到需要迁移到第二存 储设备的数据块的数量。这样可以根据第二存储设备的性能确定迁移的数据的具体数值,可以确保迁入数据之后第二存储设备的性能不受影响,保证了整个存储系统的性能。After obtaining the intensity ratio of the second storage device, according to the strength ratio and the capacity ratio correspondence table, it is required to migrate to the second storage. The number of data blocks of the storage device. In this way, the specific value of the migrated data can be determined according to the performance of the second storage device, which can ensure that the performance of the second storage device is not affected after the data is migrated, and the performance of the entire storage system is ensured.
在一种可能的设计中,强度比与容量比对应表是预先监测分析得到的。In one possible design, the intensity ratio to capacity ratio correspondence table is obtained by pre-monitoring analysis.
这样在得到第二存储设备的强度比之后,可以直接查询强度比与容量比对应表,快速得到需要从第一存储设备迁移到第二存储设备的数据块的数量。After the strength ratio of the second storage device is obtained, the strength ratio to capacity ratio correspondence table can be directly queried to quickly obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
在一种可能的设计中,查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。In one possible design, the query intensity ratio to capacity ratio correspondence table is obtained by a fuzzy matching rule to obtain a capacity ratio corresponding to the intensity ratio.
强度比与容量比对应表中不可能将所有可能出现的数据都记录出来,因此当计算出来的强度比的具体的数值在强度比与容量比对应表中无法找到时,可以根据模糊匹配规则,以强度比与容量比对应表比计算出来的强度比高一级的强度比的值为准确定对应的容量比,提高查找效率。It is impossible to record all possible data in the intensity ratio and capacity ratio correspondence table. Therefore, when the calculated specific value of the intensity ratio cannot be found in the strength ratio and capacity ratio correspondence table, according to the fuzzy matching rule, The ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
在一种可能的设计中,获取所述存储系统中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读写次数从高到低按顺序排列。根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量具体包括:根据所述容量比和所述获取到的每个数据块的单位时间内的读写次数确定与所述容量比对应的数据块;确认在所述第一存储设备中与所述容量比对应的数据块的数量。In a possible design, the number of readings and writes per unit time in each storage block in the storage system is obtained, and the number of read and write times per unit time of each data block obtained is in order from high to low. arrangement. Obtaining, according to the capacity ratio, the number of data blocks that need to be migrated from the first storage device to the second storage device, specifically, according to the capacity ratio and the unit time of each data block acquired The number of read and write times determines a data block corresponding to the capacity ratio; and the number of data blocks corresponding to the capacity ratio in the first storage device is confirmed.
为了确定将访问次数较多的数据从第一存储设备中迁移到第二存储设备,将获取到的存储系统中每个数据块的单位时间内的读写次数从高到低按顺序排列,这样可以根据确定的需要迁移的数据块的数量按顺序将单位时间内的读写次数较高的数据块从第一存储设备中迁移到性能更高的第二存储设备中,更快的响应IO请求。In order to determine that the data with more access times is migrated from the first storage device to the second storage device, the number of read and write times per unit time of each data block in the obtained storage system is arranged in order from high to low, so that The data block with higher read/write times per unit time can be migrated from the first storage device to the second storage device with higher performance in order according to the determined number of data blocks that need to be migrated, and the IO request can be responded more quickly. .
在一种可能的设计中,获取所述第一存储设备单位时间内的读写次数;In a possible design, obtaining the number of reading and writing times of the first storage device per unit time;
所述第二存储设备的强度比为所述第二存储设备单位时间内的读写次数占第一存储设备单位时间内的读写次数与第二存储设备单位时间内的读写次数之和的比重。The intensity ratio of the second storage device is the sum of the number of reading and writing times per unit time of the second storage device and the number of reading and writing times per unit time of the first storage device and the number of reading and writing times per unit time of the second storage device. proportion.
在一种可能的设计中,第一存储设备单位时间内的读写次数为所述第一存储设备中单盘单位时间内的读写次数与所述第一存储设备中的盘的数量的积再除以第一换算系数,所述第一换算系数与所述第一存储设备的读请求与写请求的比例以及第一存储设备的RAID级别有关;所述第二存储设备单位时间内的读写次数为所述第二存储设备中单盘单位时间内的读写次数与所述第二存储设备中的盘的数量的积再除以第二换算系数,所述第二换算系数与所述第二存储设备的读请求与写请求的比例以及第二存储设备的RAID级别有关。In a possible design, the number of reading and writing times of the first storage device per unit time is the product of the number of reading and writing times per unit time in the first storage device and the number of disks in the first storage device. Dividing by the first conversion factor, the first conversion factor is related to the ratio of the read request and the write request of the first storage device and the RAID level of the first storage device; the reading of the second storage device per unit time The number of writes is a product of the number of reads and writes in a single disk unit time and the number of disks in the second storage device in the second storage device divided by a second conversion factor, the second conversion factor and the The ratio of the read request of the second storage device to the write request and the RAID level of the second storage device.
在一种可能的设计中,所述第一存储设备中单盘单位时间内的读写次数与所述第一存储设备的负载特征以及响应时长相关;所述第二存储设备中单盘单位时间内的读写次数与所述第二存储设备的负载特征以及响应时长相关。In a possible design, the number of readings and writes in a single disk unit time in the first storage device is related to the load characteristics of the first storage device and the response time; the single disk unit time in the second storage device The number of read and write times is related to the load characteristics of the second storage device and the response duration.
通过对各个参数具体数值的设置和获取,可以准确的得到需要从第一存储设备迁移到第二存储设备的数据块的数量,可以在尽可能多的把热数据迁移到高性能的第二存储设备的同时,又可以保证存储设备的性能,提高存储系统的效率和性能。By setting and obtaining the specific values of each parameter, the number of data blocks that need to be migrated from the first storage device to the second storage device can be accurately obtained, and the hot data can be migrated to the high-performance second storage as much as possible. At the same time, the device can guarantee the performance of the storage device and improve the efficiency and performance of the storage system.
第二方面,提供一种实现数据迁移的存储系统,存储系统包括第一存储设备、第二存储设备和处理器,处理器用于上述方法中的各个步骤。各个步骤的实现细节以及带来的相应的好处,请参见第一方面中的相关描述。 In a second aspect, a storage system for implementing data migration is provided. The storage system includes a first storage device, a second storage device, and a processor, and the processor is used in each step of the above method. For details on the implementation of each step and the corresponding benefits, please refer to the relevant description in the first aspect.
第三方面,提供一种实现数据迁移的存储系统,存储系统包括第一存储设备、第二存储设备和处理器,处理器包括数据采集分析模块和数据迁移模块。数据采集分析模块用于获取第二存储设备单位时间内的读写次数;根据所述第二存储设备单位时间内的读写次数获取所述第二存储设备的强度比;查询强度比与容量比对应表,获得与所述强度比对应的容量比;根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量;将得到的需要迁移的数据块的数量发送给数据迁移模块。数据迁移模块用于将得到数量的数据块从第一存储设备迁移到第二存储设备。In a third aspect, a storage system for implementing data migration is provided. The storage system includes a first storage device, a second storage device, and a processor. The processor includes a data collection and analysis module and a data migration module. The data collection and analysis module is configured to obtain the read/write times of the second storage device in a unit time; and obtain the intensity ratio of the second storage device according to the read/write times of the second storage device per unit time; the query intensity ratio and the capacity ratio Corresponding to the table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining, according to the capacity ratio, the number of data blocks that need to be migrated from the first storage device to the second storage device; and obtaining the data block to be migrated The amount is sent to the data migration module. The data migration module is configured to migrate the obtained number of data blocks from the first storage device to the second storage device.
数据采集分析模块获取第二存储设备的强度比,并根据强度比与容量比对应表得到需要迁移到第二存储设备的数据块的数量。这样可以根据第二存储设备的性能确定迁移的数据的具体数值,可以确保迁入数据之后第二存储设备的性能不受影响,保证了整个存储系统的性能。The data collection and analysis module obtains the intensity ratio of the second storage device, and obtains the number of data blocks that need to be migrated to the second storage device according to the strength ratio and the capacity ratio correspondence table. In this way, the specific value of the migrated data can be determined according to the performance of the second storage device, which can ensure that the performance of the second storage device is not affected after the data is migrated, and the performance of the entire storage system is ensured.
在一种可能的设计中,数据采集分析模块还用于:预先采集分析应用对存储系统的IO请求,得到强度比与容量比对应表。In a possible design, the data acquisition and analysis module is further configured to: pre-collect an IO request of the analysis application to the storage system, and obtain a strength ratio to capacity ratio correspondence table.
这样在得到第二存储设备的强度比之后,数据采集分析模块可以直接查询强度比与容量比对应表,快速得到需要从第一存储设备迁移到第二存储设备的数据块的数量。After the strength ratio of the second storage device is obtained, the data collection and analysis module can directly query the strength ratio and capacity ratio correspondence table to quickly obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
在一种可能的设计中,数据采集分析模块用于查询强度比与容量比对应表获得与所述强度比对应的容量比具体为:数据采集分析模块用于查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。In a possible design, the data acquisition and analysis module is configured to obtain a capacity ratio corresponding to the intensity ratio by using a query strength ratio and a capacity ratio correspondence table, and specifically: the data collection and analysis module is configured to query a strength ratio and a capacity ratio correspondence table. A capacity ratio corresponding to the intensity ratio is obtained by a fuzzy matching rule.
强度比与容量比对应表中不可能将所有可能出现的数据都记录出来,因此当计算出来的强度比的具体的数值在强度比与容量比对应表中无法找到时,可以根据模糊匹配规则,以强度比与容量比对应表比计算出来的强度比高一级的强度比的值为准确定对应的容量比,提高查找效率。It is impossible to record all possible data in the intensity ratio and capacity ratio correspondence table. Therefore, when the calculated specific value of the intensity ratio cannot be found in the strength ratio and capacity ratio correspondence table, according to the fuzzy matching rule, The ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
在一种可能的设计中,数据采集分析模块还用于获取所述存储系统中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读写次数从高到低按顺序排列;数据采集分析模块根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量具体为:数据采集分析模块根据所述容量比按顺序得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量。In a possible design, the data acquisition and analysis module is further configured to acquire the number of readings and writes per unit time in each data block in the storage system, and read and write the unit time of each data block obtained. The number of data blocks from the first storage device to the second storage device is obtained by the data collection and analysis module according to the capacity ratio: The capacity ratio is obtained in order to obtain the number of data blocks that need to be migrated from the first storage device to the second storage device.
为了确定将访问次数较多的数据从第一存储设备中迁移到第二存储设备,数据采集分析模块将获取到的存储系统中每个数据块的单位时间内的读写次数从高到低按顺序排列,这样可以根据确定的需要迁移的数据块的数量按顺序将单位时间内的读写次数较高的数据块从第一存储设备中迁移到性能更高的第二存储设备中,更快的响应IO请求。In order to determine that the data with more access times is migrated from the first storage device to the second storage device, the data collection and analysis module presses the number of read and write times per unit time of each data block in the obtained storage system from high to low. Arrange sequentially, so that data blocks with higher read/write times per unit time can be sequentially migrated from the first storage device to the second storage device with higher performance according to the determined number of data blocks to be migrated, faster Respond to IO requests.
在一种可能的设计中,数据采集分析模块还用于获取第一存储设备单位时间内的读写次数。第二存储设备的强度比为第二存储设备单位时间内的读写次数占第一存储设备单位时间内的读写次数与第二存储设备单位时间内的读写次数之和的比重。In a possible design, the data acquisition and analysis module is further configured to obtain the number of read and write times of the first storage device per unit time. The intensity ratio of the second storage device is the proportion of the number of reading and writing times per unit time of the second storage device to the sum of the number of reading and writing times per unit time of the first storage device and the number of reading and writing times per unit time of the second storage device.
在一种可能的设计中,第一存储设备单位时间内的读写次数为第一存储设备中单盘单位时间内的读写次数与第一存储设备中的盘的数量的积再除以第一换算系数,述第一换算系数与第一存储设备的读请求与写请求的比例以及第一存储设备的RAID级别有关;第二存储设备单位时间内的读写次数为第二存储设备中单盘单位时间内的读写次数与第二存储设备中的盘的数量的积再除以第二换算系数,第二换算系数与第二存储设备的读请求 与写请求的比例以及第二存储设备的RAID级别有关。In a possible design, the number of readings and writes per unit time of the first storage device is the product of the number of readings and writes in a single disk unit time and the number of disks in the first storage device in the first storage device, and then divided by a conversion factor, wherein the first conversion factor is related to a ratio of a read request and a write request of the first storage device and a RAID level of the first storage device; and the number of read and write times of the second storage device per unit time is a single storage device The product of the number of reads and writes in the unit time and the number of disks in the second storage device is divided by the second conversion factor, the second conversion factor and the read request of the second storage device It is related to the ratio of the write request and the RAID level of the second storage device.
通过对各个参数具体数值的设置和获取,可以准确的得到需要从第一存储设备迁移到第二存储设备的数据块的数量,可以在尽可能多的把热数据迁移到高性能的第二存储设备的同时,又可以保证存储设备的性能,提高存储系统的效率和性能。By setting and obtaining the specific values of each parameter, the number of data blocks that need to be migrated from the first storage device to the second storage device can be accurately obtained, and the hot data can be migrated to the high-performance second storage as much as possible. At the same time, the device can guarantee the performance of the storage device and improve the efficiency and performance of the storage system.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below.
图1为本发明实施例中存储系统的结构示意图;1 is a schematic structural diagram of a storage system according to an embodiment of the present invention;
图2为本发明实施例提供的迁移数据的方法流程示意图;2 is a schematic flowchart of a method for migrating data according to an embodiment of the present invention;
图3为本发明实施例提供的另一存储系统的结构示意图。FIG. 3 is a schematic structural diagram of another storage system according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供一种存储系统中迁移数据的方法,通过对访问存储系统的IO请求的负载特征的采集与统计、以及存储系统中存储设备性能的估算,计算出需要迁移的数据的大小,以达到按需迁移数据的目的,充分发挥存储系统的性能An embodiment of the present invention provides a method for migrating data in a storage system, and calculates a size of data to be migrated by collecting and collecting load characteristics of an IO request to access the storage system, and estimating the performance of the storage device in the storage system. Maximize the performance of your storage system for the purpose of migrating data on demand
在本发明实施例中,将被访问频率达到预定的数值的数据称为热数据,将访问频率低于预定的数值的数据称为冷数据。In the embodiment of the present invention, data whose access frequency reaches a predetermined value is referred to as hot data, and data whose access frequency is lower than a predetermined value is referred to as cold data.
本发明实施例适用的存储系统如附图1所示。存储系统1中包括有存储介质101,处理器103和缓存105。存储系统1中的存储介质101可以有多种,并根据存储介质的性能划分为不同的性能层。例如,存储系统中的存储介质有SSD盘和普通硬盘组成,SSD盘组成高性能层存储设备,普通硬盘组成普通性能层的存储设备。在本发明实施例中,以存储系统中包含高性能层和普通性能层为例进行说明,为了便于描述,将存储系统中的普通性能层称之为第一存储设备,存储系统中的高性能层称为第二存储设备。另外,本发明实施例中以把热数据迁到高性能层为例进行说明,热数据变冷从高性能层迁移到普通性能层也可以采用相同的方法来处理。当存储系统中增加其他性能层时,数据在不同性能层之间迁移时可以采用相同的方法来处理。处理器103用于执行下述的迁移数据的方法,缓存105用于存储需要的信息。A storage system to which the embodiments of the present invention are applied is shown in FIG. The storage system 1 includes a storage medium 101, a processor 103, and a cache 105. The storage medium 101 in the storage system 1 can be various and divided into different performance layers according to the performance of the storage medium. For example, the storage medium in the storage system consists of an SSD disk and a common hard disk. The SSD disk constitutes a high-performance layer storage device, and the ordinary hard disk constitutes a storage device of a common performance layer. In the embodiment of the present invention, the high performance layer and the common performance layer are included in the storage system as an example. For convenience of description, the common performance layer in the storage system is referred to as a first storage device, and the high performance in the storage system. The layer is called the second storage device. In addition, in the embodiment of the present invention, the hot data is moved to the high performance layer as an example, and the hot data cooling from the high performance layer to the common performance layer can also be processed by the same method. When other performance layers are added to the storage system, the data can be processed in the same way when migrating between different performance layers. The processor 103 is configured to execute the method of migrating data described below, and the cache 105 is configured to store required information.
本发明实施例提供的在存储系统中迁移数据的方法流程如附图2所示,由存储系统中的处理器来完成。本方法实施例主要描述的是将数据从普通性能层迁移到高性能层的实现方式,详细描述如下文所述。如上所述,将存储系统中的普通性能层称之为第一存储设备,存储系统中的高性能层称为第二存储设备。另外,本发明实施例中的IO请求以访问存储介质的IO请求为监测和分析对象。The flow of the method for migrating data in the storage system provided by the embodiment of the present invention is as shown in FIG. 2, and is completed by a processor in the storage system. The method embodiment of the present invention mainly describes an implementation manner of migrating data from a common performance layer to a high performance layer, which is described in detail below. As described above, the common performance layer in the storage system is referred to as a first storage device, and the high performance layer in the storage system is referred to as a second storage device. In addition, the IO request in the embodiment of the present invention is an object of monitoring and analyzing the IO request for accessing the storage medium.
步骤201:获取第二存储设备单位时间内的读写次数。Step 201: Acquire the number of times of reading and writing of the second storage device per unit time.
处理器获取第二存储设备单位时间内的读写次数,单位时间可以根据业务类型由用户自己决定,在本发明实施例中不做限定。当单位时间为1秒,得到的为第二存储设备的每秒的读写次数(Input/Output per second,IOPS)。The processor obtains the number of times of reading and writing of the second storage device in a unit time. The unit time can be determined by the user according to the service type, which is not limited in the embodiment of the present invention. When the unit time is 1 second, the number of read/write times per second (IOPS) of the second storage device is obtained.
在本发明实施例中,同一性能层存储设备中每个磁盘的类型相同。本发明实施例提供 一种第二存储设备单位时间内的读写次数的获取方法。例如,第二存储设备单位时间内的读写次数=(单盘单位时间内的读写次数*盘的数量)/RAID换算系数。其中,盘的数量为第二存储设备中盘的数量。对于随机写IO,存储设备采用RAID方式要计算校验数据,所以需要产生额外的IO,RAID换算系数与读写IO的比例以及写惩罚系数有关,写惩罚系数是指盘的写IO放大系数,与采用的RAID的级别相关,写惩罚系数的取值与RAID级别的对应关系可以参考表一。具体来说,RAID换算系数=读请求比例+写请求比例*写惩罚系数。In the embodiment of the present invention, each disk in the same performance layer storage device has the same type. Embodiments of the present invention provide A method for obtaining the number of reading and writing times per unit time of the second storage device. For example, the number of reads and writes per unit time of the second storage device = (number of read/write times per unit time * number of disks) / RAID conversion factor. The number of disks is the number of disks in the second storage device. For random write IO, the storage device uses RAID mode to calculate the check data, so it needs to generate additional IO. The RAID conversion factor is related to the ratio of read and write IO and the write penalty coefficient. The write penalty coefficient refers to the write IO amplification factor of the disk. Refer to Table 1 for the relationship between the value of the write penalty coefficient and the RAID level. Specifically, the RAID conversion factor = read request ratio + write request ratio * write penalty coefficient.
RAID级别RAID level 写惩罚系数Write penalty factor
00 11
11 22
55 44
66 66
1010 22
表一:RAID级别对应的写惩罚系数Table 1: Write penalty factor corresponding to RAID level
单盘单位时间内的读写次数与第二存储设备的负载特征和响应时长相关,可以预先采集数据并统计获得,如表二所示。此处的第二存储设备的负载特征为访问第二存储设备的IO请求的负载特征。这样在需要获取第二存储设备单位时间内的读写次数时,可以直接根据访问第二存储设备的IO请求的负载特征和响应时长的值查找到第二存储设备中单盘的IOPS,再通过上述方法计算得到第二存储设备时间内的读写次数。The number of reads and writes in a single disk unit is related to the load characteristics and response duration of the second storage device. The data can be collected in advance and obtained statistically, as shown in Table 2. The load characteristic of the second storage device here is the load characteristic of the IO request to access the second storage device. When the number of read/write times of the second storage device is required to be obtained, the IOPS of the single disk in the second storage device can be directly found according to the load characteristic and the response time value of the IO request of the second storage device. The above method calculates the number of times of reading and writing in the second storage device time.
Figure PCTCN2017096784-appb-000001
Figure PCTCN2017096784-appb-000001
表二:第二存储设备中单盘单位时间内的读写次数查找表Table 2: Lookup table of the number of read/write times per unit time in the second storage device
可选的,单盘单位时间内的读写次数也可以根据访问第二存储设备的IO请求的负载特征和响应时长统计获得,无需预先获得所述表二的数值。Optionally, the number of times of reading and writing in a single disk unit time can also be obtained according to the load characteristics and the response time length of the IO request for accessing the second storage device, and the value of the second table is not required to be obtained in advance.
步骤203:根据所述第二存储设备单位时间内的访问次数,获取所述第二存储设备的强度比。Step 203: Acquire an intensity ratio of the second storage device according to the number of accesses of the second storage device per unit time.
所述第二存储设备的强度比为所述第二存储设备单位时间内的访问次数占所述存储系统单位时间内的访问次数的比例。The strength ratio of the second storage device is a ratio of the number of accesses per unit time of the second storage device to the number of accesses per unit time of the storage system.
在本发明实施例中,存储系统中包括第一存储设备和第二存储设备两种性能层的存储设备,第二存储设备的强度比=第二存储设备单位时间内的访问次数/(第二存储设备单位时间内的访问次数+第一存储设备单位时间内的访问次数),即第二存储设备的强度比为所述第二存储设备单位时间内的读写次数占第一存储设备单位时间内的读写次数与第二存储设备单位时间内的读写次数之和的比重。第二存储设备单位时间内的访问次数在步骤201中已经进行了描述,在此不再另行说明。In the embodiment of the present invention, the storage system includes two performance layer storage devices of the first storage device and the second storage device, and the intensity ratio of the second storage device=the number of accesses per second time of the second storage device/(second The number of accesses per unit time of the storage device + the number of accesses per unit time of the first storage device), that is, the intensity ratio of the second storage device is the number of read and write times per unit time of the second storage device, and the first storage device unit time The proportion of the number of reads and writes within the unit and the number of reads and writes per unit time of the second storage device. The number of accesses of the second storage device per unit time has been described in step 201 and will not be further described herein.
第一存储设备单位时间内的访问次数的获取方法与所述第二存储设备单位时间内的访问次数的获取方法相同,也不再另行说明。同理,第一存储设备中单盘单位时间内的读 写次数也可以预先采集数据并统计获得,如表三所示。The method for obtaining the number of accesses per unit time of the first storage device is the same as the method for obtaining the number of accesses per unit time of the second storage device, and is not further described. Similarly, the reading of the single disk unit time in the first storage device The number of writes can also be collected in advance and statistically obtained, as shown in Table 3.
Figure PCTCN2017096784-appb-000002
Figure PCTCN2017096784-appb-000002
表三:第一存储设备中单盘单位时间内的读写次数查找表Table 3: Lookup table for the number of read/write times per unit time in the first storage device
需要说明的是,表二和表三中的内容可以合并成一个表存储,即存储系统中各性能层中的单个盘单位时间内的读写次数可以在一个表格中体现,如表四所示。当存储系统中还有其他不同性能层的存储设备时,其他性能层中单盘的单位时间内的读写次数可以在一个表中体现,也可以分别用不同的表格来体现,在本发明实施例中不做限定。It should be noted that the contents in Tables 2 and 3 can be combined into one table storage, that is, the number of readings and writes in a single disk unit time in each performance layer in the storage system can be reflected in a table, as shown in Table 4. . When there are other storage devices of different performance layers in the storage system, the number of readings and writes per unit time in a single disk in other performance layers may be reflected in one table, or may be embodied in different tables, in the implementation of the present invention. There is no limit in the example.
Figure PCTCN2017096784-appb-000003
Figure PCTCN2017096784-appb-000003
表四:存储系统中单盘单位时间内的读写次数查找表Table 4: Lookup table for the number of read and write times per unit time in the storage system
步骤205:查询强度比与容量比的对应表,获得与强度比对应的容量比。Step 205: Query a correspondence table between the intensity ratio and the capacity ratio, and obtain a capacity ratio corresponding to the intensity ratio.
强度比与容量比的对应表,是预先对业务数据进行监测并分析计算得到的。将存储系统(包括第一存储设备和第二存储设备)中的业务数据拆分为多个数据块,获得这些数据块在单位时间内的读写次数,即数据块的访问强度。业务数据可以按迁粒度拆分为多个数据块,也可以按指定大小拆分为多个数据块。统计监控时间内访问这些数据块的读写次数,再计算这些数据块单位时间内的读写次数IOPS,即访问强度。将存储系统中的数据块按访问强度从高到低进行排序,然后按一定的容量比值将数据块分成若干组。例如表格3所示,以容量比值2.5%为维度将数据块进行分组,即data1~dataA组成容量比为2.5%的组,即data1~data2A组成容量比为5%的组……以此类推,如表五所示。The correspondence table between the intensity ratio and the capacity ratio is obtained by monitoring and analyzing the business data in advance. The service data in the storage system (including the first storage device and the second storage device) is split into a plurality of data blocks, and the number of read and write times of the data blocks in a unit time, that is, the access strength of the data block is obtained. Business data can be split into multiple data blocks according to the granularity of migration, or can be split into multiple data blocks according to the specified size. The number of reads and writes of these data blocks is accessed during the statistical monitoring time, and the number of read and write times of the data blocks per unit time is calculated, that is, the access strength. The data blocks in the storage system are sorted according to the access intensity from high to low, and then the data blocks are divided into groups according to a certain capacity ratio. For example, as shown in Table 3, data blocks are grouped by a capacity ratio of 2.5%, that is, data1 to dataA form a group having a capacity ratio of 2.5%, that is, data1 to data2A form a group having a capacity ratio of 5%... and so on. As shown in Table 5.
Figure PCTCN2017096784-appb-000004
Figure PCTCN2017096784-appb-000004
表五:热点数据块的统计表Table 5: Statistical Table of Hotspot Data Blocks
计算每个数据块在单位时间内的读写次数,再将每个容量比对应的数据块的单位时间 内的读写次数之和与存储系统中的全部数据块在单位时间内的读写次数的总和进行比较,得到与容量比对应的强度比,即强度比与容量比的对应表,如表六所示。表六中的数据为示例性说明,具体数据根据业务不同取值会不同。容量比的取值也可以按需设定。Calculate the number of reads and writes per unit of data per unit time, and then compare each unit to the unit time of the corresponding data block. The sum of the number of readings and writes in the storage system is compared with the sum of the number of readings and readings of all the data blocks in the storage system per unit time, and the intensity ratio corresponding to the capacity ratio, that is, the correspondence table of the intensity ratio and the capacity ratio is obtained, as shown in Table 6. Shown. The data in Table 6 is an example description, and the specific data will vary depending on the business. The value of the capacity ratio can also be set as needed.
容量比Capacity ratio 强度比Intensity ratio
0.0%0.0% 0.0%0.0%
2.5%2.5% 35.0%35.0%
5.0%5.0% 50.0%50.0%
7.5%7.5% 60.0%60.0%
10.0%10.0% 65.0%65.0%
12.5%12.5% 67.0%67.0%
15.0%15.0% 69.0%69.0%
20.0%20.0% 70.0%70.0%
25.0%25.0% 71.5%71.5%
30.0%30.0% 72.0%72.0%
100.0%100.0% 100.0%100.0%
表六:某典型负载的强度比与容量比对应表Table 6: Correspondence table between intensity ratio and capacity ratio of a typical load
如表六所示,当存储系统中数据块的容量比为10%时,对应的强度比为65%,即P强度比[10%]=65%,表示占据总数据量10%的数据块的I/O访问数量占存储系统中全部数据块I/O访问数量的比重为65%。反过来,当数据块的强度比为70%时,对应的容量比为20%,P热点容量比[70%]=20%,则表示I/O访问数量占存储系统中全部数据块I/O访问数量70%的数据块占存储系统中全部数据块的20%。从表格中的数据规律我们可以看到,10%数据块对应的强度比已经高达65%;而更多数据块对应的强度比的变化不大,说明该场景的热数据很集中,适合使用分级技术来提升性能。As shown in Table 6, when the capacity ratio of the data block in the storage system is 10%, the corresponding intensity ratio is 65%, that is, the P intensity ratio [10%]=65%, indicating that the data block occupying 10% of the total data amount. The number of I/O accesses is 65% of the total number of I/O accesses in the storage system. Conversely, when the strength ratio of the data block is 70%, the corresponding capacity ratio is 20%, and the P hot spot capacity ratio [70%]=20%, indicating that the number of I/O accesses accounts for all data blocks I/ in the storage system. The number of O accesses 70% of the data blocks accounts for 20% of all data blocks in the storage system. From the data law in the table, we can see that the intensity ratio corresponding to 10% data block has been as high as 65%; while the intensity ratio corresponding to more data blocks does not change much, indicating that the hot data of the scene is very concentrated, suitable for using grading. Technology to improve performance.
为了提高数据的准确性,可选的,可以将一次业务模型的数据块访问情况做为统计基础来获得强度比与容量比对应表。In order to improve the accuracy of the data, optionally, the data block access situation of the primary business model can be used as a statistical basis to obtain a strength ratio to capacity ratio correspondence table.
通过步骤203得到的第二存储设备的强度比后,可以通过查询所述与容量比对应表得到与第二存储设备的强度比对应的容量比。查询规则可以采用模糊匹配的规则,即查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。如果需要查询的强度比在强度比与容量比对应表中无法精确匹配,则按得到的第二存储设备的强度比高一级的强度比查找对应的容量比。如果根据查询得到的容量比确定出的需要迁移的数据块满足条件,则按此容量比计算。如果根据查询得到的容量比确定出的需要迁移的数据块不满足条件,则按得到的第二存储设备的强度比低一级的强度比查找对应的容量比。具体的条件在下文进行说明,在此不再详述。After the strength ratio of the second storage device obtained in step 203, the capacity ratio corresponding to the strength ratio of the second storage device can be obtained by querying the capacity ratio correspondence table. The query rule may adopt a fuzzy matching rule, that is, a query strength ratio and a capacity ratio correspondence table, and obtain a capacity ratio corresponding to the intensity ratio by a fuzzy matching rule. If the intensity ratio of the query needs to be inaccurately matched in the intensity ratio to the capacity ratio correspondence table, the corresponding capacity ratio is searched for according to the intensity ratio of the obtained second storage device and the intensity ratio of the higher one. If the data block to be migrated according to the capacity ratio obtained by the query satisfies the condition, the capacity ratio is calculated. If the data block that needs to be migrated according to the capacity ratio obtained by the query does not satisfy the condition, the strength ratio of the obtained second storage device is lower than the strength ratio of the lower one to find the corresponding capacity ratio. The specific conditions are explained below and will not be described in detail herein.
步骤207:根据所述容量比得到需要从所述第一存储设备迁移到第二存储设备的数据块的数量。Step 207: Obtain a quantity of data blocks that need to be migrated from the first storage device to the second storage device according to the capacity ratio.
根据步骤205获得的容量比,得到所述容量比对应的数据块的数量。获取所述存储系统中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读 写次数从高到低按顺序排列;根据得到的与所述容量比对应的数据块的数量,按访问强度从高到低选取相应数量的数据块,确定需要从第一存储设备迁移到第二存储设备的数据块的数量。According to the capacity ratio obtained in step 205, the number of data blocks corresponding to the capacity ratio is obtained. Obtaining the number of readings and writes per unit time in each data block in the storage system, and reading the unit time of each data block obtained The number of writes is arranged in order from high to low; according to the obtained number of data blocks corresponding to the capacity ratio, a corresponding number of data blocks are selected according to the access intensity from high to low, and it is determined that the first storage device needs to be migrated to the second The number of data blocks of the storage device.
若选取的相应数量的数据块中有些已经在第二存储设备中时,则确定这些数据块中在第一存储设备中的数据块的数量,并确定这需要从第一存储设备迁移到第二存储设备的数据块的数量。If some of the selected corresponding number of data blocks are already in the second storage device, determining the number of data blocks in the first storage device among the data blocks, and determining that this needs to be migrated from the first storage device to the second The number of data blocks of the storage device.
下面以第二存储设备中还未迁入数据块为例进行说明,如果第二存储设备中已有数据块时,相应的将计算出来的数值减去第二存储设备中已经有的数值即可,不再一一说明。迁移数据量=P容量比[第二存储设备IOPS/(第二存储设备IOPS+第一存储设备IOPS)]*总数据量。如果计算出的需要迁移的数据块的数据量小于第二存储设备的总容量,则需要迁移的数据块的数量为计算出来的数据块的数量。如果计算出的需要迁移的数据块的数据量大于第二存储设备的总容量,则需要迁移的数据块的数量以第二存储设备的总容量为准。The following is an example in which the data block has not been moved in the second storage device. If the data block exists in the second storage device, the corresponding value is subtracted from the value already in the second storage device. , no longer explain one by one. The amount of migrated data = P capacity ratio [second storage device IOPS / (second storage device IOPS + first storage device IOPS)] * total data amount. If the calculated amount of data of the data block to be migrated is smaller than the total capacity of the second storage device, the number of data blocks that need to be migrated is the number of the calculated data blocks. If the calculated data volume of the data block to be migrated is greater than the total capacity of the second storage device, the number of data blocks that need to be migrated is based on the total capacity of the second storage device.
步骤209:根据所述数量将对应的数据块从所述第一存储设备迁移到所述第二存储设备。根据步骤207计算得到的需要从所述第一存储设备迁移到第二存储设备的数据块的数量,按访问强度从高到低将对应数量的数据块从第一存储设备迁移到第二存储设备中。Step 209: Migrate the corresponding data block from the first storage device to the second storage device according to the quantity. The number of data blocks that need to be migrated from the first storage device to the second storage device calculated according to step 207, and the corresponding number of data blocks are migrated from the first storage device to the second storage device according to the access intensity from high to low. in.
下面以一具体的例子来进一步对本发明实施例的方法进行示例说明。The method of the embodiment of the present invention is further illustrated by a specific example below.
通过对典型业务数据的监测和分析,得到以下参数的数值,如表七所示:Through the monitoring and analysis of typical business data, the values of the following parameters are obtained, as shown in Table 7:
Figure PCTCN2017096784-appb-000005
Figure PCTCN2017096784-appb-000005
表七:业务参数取值表Table 7: Business Parameter Value Table
第二存储设备IOPS=3500*10/(0.7+0.3*4),第一存储设备IOPS=180*100/(0.7+0.3*4),则第二存储设备强度比=第二存储设备IOPS/(第二存储设备IOPS+第一存储设备IOPS)=66%,根据模糊匹配规则查找表六所示的强度比与容量比对应表,以强度比66%的高一级强度比67%为准,确定对应的容量比为12.5%,则迁移数据量=存储系统中的数据量*12.5%=3.75TB;因为高性能层容量(6TB)>3.75TB,则最终迁移数据量为3.75TB, 根据访问强度由高到低将3.75TB的数据从第一存储设备迁移到第二存储设备。占存储系统访问强度66%的数据迁移到第二存储设备中,由于第二存储设备为高性能存储设备,可以及时响应用户的请求。并且迁移的数据量没有超过第二存储设备的容量,不会影响第二存储设备的性能,保证了存储系统的整体性能。The second storage device IOPS=3500*10/(0.7+0.3*4), the first storage device IOPS=180*100/(0.7+0.3*4), then the second storage device intensity ratio=the second storage device IOPS/ (Second storage device IOPS+first storage device IOPS)=66%, according to the fuzzy matching rule, look up the intensity ratio and capacity ratio correspondence table shown in Table 6, with the intensity ratio 66% of the first-order strength ratio being 67%. Determine the corresponding capacity ratio is 12.5%, then the amount of migrated data = the amount of data in the storage system * 12.5% = 3.75TB; because the high-performance layer capacity (6TB) > 3.75TB, the final migrated data volume is 3.75TB, 3.75 TB of data is migrated from the first storage device to the second storage device according to the access intensity from high to low. The data that accounts for 66% of the storage system access strength is migrated to the second storage device. Since the second storage device is a high-performance storage device, the user's request can be responded to in time. Moreover, the amount of data migrated does not exceed the capacity of the second storage device, and does not affect the performance of the second storage device, thereby ensuring the overall performance of the storage system.
本发明实施例还提供一种存储系统3,可以实现如前所述的数据迁移方法,所述存储系统3的结构如附图3所示。存储系统3包含了第一存储设备321和第二存储设备323,第一存储设备321和第二存储设备323的性能不相同。在本发明实施例中,第一存储设备321由普通性能的存储介质如传统磁盘组成,可以存储用户数据;第二存储设备323由高性能的存储介质如SSD盘组成,可以用来存储热数据。当需要指出第一存储设备321和第二存储设备323的相同特征时,使用存储设备加以说明。本发明实施例中的存储设备仅为示例性的说明,在实际应用中,还可以增加不同性能的存储介质。存储设备中包含的存储介质的数量也可以根据需要设定,在本发明实施例中不做限定。另外,存储设备可以由相同性能的存储介质组成,也可以由性能接近的存储介质组成。本发明实施例以将第一存储设备321中的数据迁移到第二存储设备323中为例进行说明。本实施例部份仅对存储系统3中各组成部件的功能做简单的描述,涉及到的方法步骤的细节特征请参阅前文方法实施例部份的描述。The embodiment of the present invention further provides a storage system 3, which can implement the data migration method as described above, and the structure of the storage system 3 is as shown in FIG. 3. The storage system 3 includes a first storage device 321 and a second storage device 323, and the performance of the first storage device 321 and the second storage device 323 are different. In the embodiment of the present invention, the first storage device 321 is composed of a storage medium of a general performance, such as a conventional disk, and can store user data. The second storage device 323 is composed of a high-performance storage medium, such as an SSD disk, and can be used to store hot data. . When it is necessary to indicate the same features of the first storage device 321 and the second storage device 323, a description will be made using the storage device. The storage device in the embodiment of the present invention is only an exemplary description. In practical applications, storage media with different performances may also be added. The number of the storage media included in the storage device may also be set as needed, which is not limited in the embodiment of the present invention. In addition, the storage device may be composed of a storage medium of the same performance, or may be composed of a storage medium having similar performance. The embodiment of the present invention is described by taking an example of migrating data in the first storage device 321 to the second storage device 323. In this embodiment, only the functions of the components in the storage system 3 are briefly described. For details of the method steps involved, refer to the description of the method embodiments in the foregoing.
存储系统3还包括处理器31,处理器中包括数据采集分析模块311和数据迁移模块313。数据采集分析模块311用于对应用访问存储设备的IO请求进行分析计算,得到需要从第一存储设备321迁移到第二存储设备323的数据块的数量,并通知数据迁移模块313。数据迁移模块313用于将得到数量的数据块从第一存储设备321迁移到第二存储设备323。The storage system 3 further includes a processor 31 including a data acquisition and analysis module 311 and a data migration module 313. The data collection and analysis module 311 is configured to perform an analysis and calculation on the IO request of the application access storage device, obtain the number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323, and notify the data migration module 313. The data migration module 313 is configured to migrate the obtained number of data blocks from the first storage device 321 to the second storage device 323.
具体的,数据采集分析模块311用于获取第二存储设备323单位时间内的读写次数;根据所述第二存储设备323单位时间内的读写次数获取所述第二存储设备323的强度比;查询强度比与容量比对应表,获得与所述强度比对应的容量比;根据所述容量比得到需要从所述第一存储设备321迁移到所述第二存储设备323的据块的数量;将得到的需要迁移的数据块的数量发送给数据迁移模块313。详细的处理方法在前文方法中已进行了详细的描述,在此处不再另行描述。Specifically, the data collection and analysis module 311 is configured to acquire the read/write times of the second storage device 323 in a unit time; and obtain the intensity ratio of the second storage device 323 according to the read/write times of the second storage device 323 per unit time. a query intensity ratio to capacity ratio correspondence table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining a number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323 according to the capacity ratio The obtained number of data blocks that need to be migrated is sent to the data migration module 313. The detailed processing method has been described in detail in the foregoing method and will not be described separately here.
数据采集分析模块311获取第二存储设备323的强度比,并根据强度比与容量比对应表,得到需要迁移到第二存储设备323的数据块的数量。这样可以根据第二存储设备323的性能确定迁移的数据的量,可以确保迁入数据之后第二存储设备323的性能不受影响,保证了整个存储系统的性能。The data collection and analysis module 311 obtains the intensity ratio of the second storage device 323, and obtains the number of data blocks that need to be migrated to the second storage device 323 according to the intensity ratio and capacity ratio correspondence table. In this way, the amount of migrated data can be determined according to the performance of the second storage device 323, and the performance of the second storage device 323 can be ensured after the data is migrated, thereby ensuring the performance of the entire storage system.
数据迁移模块313用于根据接收到的需要迁移的数据块的数量将对应的数据块从所述第一存储设备321迁移到所述第二存储设备323。The data migration module 313 is configured to migrate the corresponding data block from the first storage device 321 to the second storage device 323 according to the received number of data blocks that need to be migrated.
数据采集分析模块311还用于预先采集分析应用对存储系统3的IO请求,得到强度比与容量比对应表。这样在得到第二存储设备323的强度比之后,可以直接查询强度比与容量比对应表,快速得到需要从第一存储设备321迁移到第二存储设备323的数据块的数量。The data collection and analysis module 311 is further configured to pre-collect an IO request of the analysis application to the storage system 3 to obtain an intensity ratio and capacity ratio correspondence table. After the intensity ratio of the second storage device 323 is obtained, the strength ratio and capacity ratio correspondence table can be directly queried, and the number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323 can be quickly obtained.
数据采集分析模块311用于查询强度比与容量比对应表获得与所述强度比对应的容量比具体为:数据采集分析模块311用于查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。 The data collection and analysis module 311 is configured to obtain a capacity ratio corresponding to the intensity ratio by using the query strength ratio and the capacity ratio correspondence table. The data collection and analysis module 311 is configured to query the intensity ratio and the capacity ratio correspondence table, and obtain the The intensity ratio is a corresponding capacity ratio.
强度比与容量比对应表中不可能将所有可能出现的数据都记录出来,因此当计算出来的强度比的具体的数值在强度比与容量比对应表中无法找到时,可以根据模糊匹配规则,以强度比与容量比对应表比计算出来的强度比高一级的强度比的值为准确定对应的容量比,提高查找效率。It is impossible to record all possible data in the intensity ratio and capacity ratio correspondence table. Therefore, when the calculated specific value of the intensity ratio cannot be found in the strength ratio and capacity ratio correspondence table, according to the fuzzy matching rule, The ratio of the strength ratio calculated by the ratio of the intensity ratio to the capacity ratio is higher than the ratio of the intensity ratio of the higher one level to determine the corresponding capacity ratio, thereby improving the search efficiency.
数据采集分析模块311还用于获取所述存储系统3中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读写次数从高到低按顺序排列;根据所述容量比和所述获取到的每个数据块的单位时间内的读写次数确定与所述容量比对应的数据块;按顺序确认在所述第一存储设备321中与所述容量比对应的数据块的数量。The data collection and analysis module 311 is further configured to acquire the number of reading and writing times per unit time in each data block in the storage system 3, and press the number of times of reading and writing in the unit time of each data block obtained from high to low. Arranging sequentially; determining a data block corresponding to the capacity ratio according to the capacity ratio and the number of read and write times per unit time of each acquired data block; confirming in the first storage device 321 in order The capacity ratio is the number of corresponding data blocks.
为了确定将访问次数较多的热数据从第一存储设备321中迁移到第二存储设备323,数据采集分析模块311将获取到的存储系统3中每个数据块的单位时间内的读写次数从高到低按顺序排列,这样可以根据确定的需要迁移的数据块的数量按顺序将单位时间内的读写次数较高的数据块从第一存储设备321中迁移到性能更高的第二存储设备323中,更快的响应IO请求。In order to determine that the hot data with more access times is migrated from the first storage device 321 to the second storage device 323, the data collection and analysis module 311 will read and write the number of read and write times per unit time of each data block in the storage system 3. Arranged in order from high to low, so that data blocks with higher read/write times per unit time can be sequentially migrated from the first storage device 321 to the second higher performance module according to the determined number of data blocks to be migrated. In storage device 323, the IO request is responded more quickly.
数据采集分析模块311还用于获取所述第一存储设备321单位时间内的读写次数。第二存储设备323的强度比为所述第二存储设备323单位时间内的读写次数占第一存储设备321单位时间内的读写次数与第二存储设备323单位时间内的读写次数之和的比重。The data collection and analysis module 311 is further configured to acquire the number of times of reading and writing of the first storage device 321 per unit time. The intensity ratio of the second storage device 323 is the number of reading and writing times per unit time of the second storage device 323, and the number of reading and writing times per unit time of the first storage device 321 and the number of reading and writing times per unit time of the second storage device 323. And the proportion.
所述第一存储设备321单位时间内的读写次数为所述第一存储设备321中单盘单位时间内的读写次数与所述第一存储设备321中的盘的数量的积再除以第一换算系数,所述第一换算系数与所述第一存储设备321的读请求与写请求的比例以及第一存储设备321的RAID级别有关;The number of times of reading and writing of the first storage device 321 per unit time is the product of the number of reading and writing times per unit time in the first storage device 321 and the number of disks in the first storage device 321 divided by a first conversion factor, the first conversion factor is related to a ratio of a read request and a write request of the first storage device 321 and a RAID level of the first storage device 321;
所述第二存储设备323单位时间内的读写次数为所述第二存储设备323中单盘单位时间内的读写次数与所述第二存储设备323中的盘的数量的积再除以第二换算系数,所述第二换算系数与所述第二存储设备323的读请求与写请求的比例以及第二存储设备323的RAID级别有关。The number of times of reading and writing of the second storage device 323 per unit time is the product of the number of reading and writing times per unit time in the second storage device 323 and the number of disks in the second storage device 323 divided by a second conversion factor, the second conversion factor being related to a ratio of a read request to a write request of the second storage device 323 and a RAID level of the second storage device 323.
通过对各个参数具体数值的设置和获取,可以准确的得到需要从第一存储设备321迁移到第二存储设备323的数据块的数量,可以在尽可能多的把热数据迁移到高性能的第二存储设备323的同时,又可以保证存储设备323的性能,提高存储系统的效率和性能。By setting and obtaining the specific values of the respective parameters, the number of data blocks that need to be migrated from the first storage device 321 to the second storage device 323 can be accurately obtained, and the hot data can be migrated to the high performance as much as possible. At the same time, the storage device 323 can ensure the performance of the storage device 323 and improve the efficiency and performance of the storage system.
具体各个参数可能的取值以及计算方法,在前文方法实施例中已进行了详细的描述,在此处不在详细描述。The possible values and calculation methods of the specific parameters have been described in detail in the foregoing method embodiments, and are not described in detail herein.
本申请实施例还提供了一种计算机存储介质,用于储存为上述存储系统所用的计算机软件指令,其包含用于执行上述方法实施例所设计的程序。通过执行存储的程序,可以实现存储设备间迁移数据的方法。The embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the storage system, which includes a program designed to execute the foregoing method embodiments. By executing a stored program, a method of migrating data between storage devices can be implemented.
本申请实施例还提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述方法实施例的流程。The embodiment of the present application further provides a computer program, which includes instructions, when the computer program is executed by a computer, to enable the computer to execute the flow of the foregoing method embodiment.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示 这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean These measures cannot be combined to produce good results.
本领域技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, apparatus (device), or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code. The computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
本申请是参照本申请实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of the methods, apparatus, and computer program products of the embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案脱离权利要求书的范围。 The above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that The technical solutions described in the examples are modified, or some or all of the technical features are equivalently substituted; and such modifications or substitutions do not depart from the scope of the claims.

Claims (12)

  1. 一种存储系统中迁移数据的方法,所述存储系统包括第一存储设备和第二存储设备,其特征在于,包括:A method for migrating data in a storage system, the storage system comprising a first storage device and a second storage device, including:
    获取第二存储设备单位时间内的读写次数;Obtaining the number of times of reading and writing of the second storage device per unit time;
    根据所述第二存储设备单位时间内的读写次数,获取所述第二存储设备的强度比;Obtaining an intensity ratio of the second storage device according to the number of times of reading and writing of the second storage device per unit time;
    查询强度比与容量比对应表,获得与所述强度比对应的容量比;Querying an intensity ratio to a capacity ratio correspondence table, and obtaining a capacity ratio corresponding to the intensity ratio;
    根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量;Obtaining, according to the capacity ratio, a quantity of data blocks that need to be migrated from the first storage device to the second storage device;
    根据所述数量将对应的数据块从所述第一存储设备迁移到所述第二存储设备。And migrating corresponding data blocks from the first storage device to the second storage device according to the quantity.
  2. 根据权利要求1所述的方法,其特征在于,所述强度比比与容量比对应表是预先监测分析得到的。The method according to claim 1, wherein said intensity ratio ratio to capacity ratio correspondence table is obtained by pre-monitoring analysis.
  3. 根据权利要求1或2所述的方法,其特征在于,步骤查询强度比与容量比对应表,获取与所述强度比对应的容量比具体为:The method according to claim 1 or 2, wherein the step of querying the intensity ratio to the capacity ratio correspondence table, and obtaining the capacity ratio corresponding to the intensity ratio is specifically:
    查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。The query intensity ratio and the capacity ratio correspondence table obtain a capacity ratio corresponding to the intensity ratio by a fuzzy matching rule.
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    获取所述存储系统中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读写次数从高到低按顺序排列;Obtaining the number of readings and writes per unit time in each data block in the storage system, and arranging the number of readings and readings per unit time of each data block in order from high to low;
    根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量具体包括:The number of data blocks that need to be migrated from the first storage device to the second storage device according to the capacity ratio specifically includes:
    根据所述容量比和所述获取到的每个数据块的单位时间内的读写次数确定与所述容量比对应的数据块;Determining a data block corresponding to the capacity ratio according to the capacity ratio and the number of read and write times per unit time of each acquired data block;
    确认在所述第一存储设备中与所述容量比对应的数据块的数量。A number of data blocks corresponding to the capacity ratio in the first storage device is confirmed.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    获取所述第一存储设备单位时间内的读写次数;Obtaining the number of times of reading and writing of the first storage device per unit time;
    所述第二存储设备的强度比为所述第二存储设备单位时间内的读写次数占第一存储设备单位时间内的读写次数与第二存储设备单位时间内的读写次数之和的比重。The intensity ratio of the second storage device is the sum of the number of reading and writing times per unit time of the second storage device and the number of reading and writing times per unit time of the first storage device and the number of reading and writing times per unit time of the second storage device. proportion.
  6. 根据权利要求5所述的方法,其特征在于,所述第一存储设备单位时间内的读写次数为所述第一存储设备中单盘单位时间内的读写次数与所述第一存储设备中的盘的数量的积再除以第一换算系数,所述第一换算系数与所述第一存储设备的读请求与写请求的比例以及第一存储设备的RAID级别有关;The method according to claim 5, wherein the number of readings and writes in the unit time of the first storage device is the number of readings and writes in a single disk unit time in the first storage device and the first storage device. The product of the number of disks in the second conversion factor is further divided by the ratio of the read request to the write request of the first storage device and the RAID level of the first storage device;
    所述第二存储设备单位时间内的读写次数为所述第二存储设备中单盘单位时间内的读写次数与所述第二存储设备中的盘的数量的积再除以第二换算系数,所述第二换算系数与所述第二存储设备的读请求与写请求的比例以及第二存储设备的RAID级别有关。The number of times of reading and writing of the second storage device per unit time is the product of the number of reading and writing times per unit time in the second storage device and the number of disks in the second storage device divided by the second conversion a coefficient, the second conversion factor being related to a ratio of a read request to a write request of the second storage device and a RAID level of the second storage device.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:所述第一存储设备中单盘单位时间内的读写次数与所述第一存储设备的负载特征以及响应时长相关;The method according to claim 6, wherein the method further comprises: the number of times of reading and writing in a single disk unit time in the first storage device is related to a load characteristic of the first storage device and a response duration;
    所述第二存储设备中单盘单位时间内的读写次数与所述第二存储设备的负载特征以及响应时长相关。The number of read/write times per unit time in the second storage device in the second storage device is related to the load characteristics of the second storage device and the response duration.
  8. 一种实现数据迁移的存储系统,其特征在于,所述存储系统包括第一存储设备、第二存储设备和处理器,所述处理器用于执行权利要求1-7所述的方法。 A storage system for implementing data migration, characterized in that the storage system comprises a first storage device, a second storage device and a processor, the processor for performing the method of claims 1-7.
  9. 一种实现数据迁移的存储系统,其特征在于,所述存储系统包括第一存储设备、第二存储设备和处理器,所述处理器包括数据采集分析模块和数据迁移模块;A storage system for implementing data migration, wherein the storage system includes a first storage device, a second storage device, and a processor, where the processor includes a data collection and analysis module and a data migration module;
    所述数据采集分析模块用于获取第二存储设备单位时间内的读写次数;根据所述第二存储设备单位时间内的读写次数获取所述第二存储设备的强度比;查询强度比与容量比对应表,获得与所述强度比对应的容量比;根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量;将得到的需要迁移的数据块的数量发送给数据迁移模块;The data collection and analysis module is configured to obtain the read/write times of the second storage device in a unit time; and obtain the intensity ratio of the second storage device according to the read/write times of the second storage device per unit time; the query intensity ratio and a capacity ratio correspondence table, obtaining a capacity ratio corresponding to the intensity ratio; obtaining, according to the capacity ratio, a number of data blocks that need to be migrated from the first storage device to the second storage device; The number of data blocks is sent to the data migration module;
    数据迁移模块用于将得到数量的数据块从第一存储设备迁移到第二存储设备。The data migration module is configured to migrate the obtained number of data blocks from the first storage device to the second storage device.
  10. 根据权利要求9所述的存储系统,其特征在于,数据采集分析模块还用于:The storage system according to claim 9, wherein the data collection and analysis module is further configured to:
    预先采集分析应用对存储系统的IO请求,得到强度比与容量比对应表。The IO request of the storage system is analyzed and collected in advance, and a table of strength ratio and capacity ratio is obtained.
  11. 根据权利要求9或10所述的存储系统,其特征在于,数据采集分析模块用于查询强度比与容量比对应表获得与所述强度比对应的容量比具体为:数据采集分析模块用于查询强度比与容量比对应表,通过模糊匹配规则获取与所述强度比对应的容量比。The storage system according to claim 9 or 10, wherein the data collection and analysis module is configured to obtain a capacity ratio corresponding to the intensity ratio by using a query strength ratio and a capacity ratio correspondence table, specifically: the data collection and analysis module is configured to query The intensity ratio to capacity ratio correspondence table obtains a capacity ratio corresponding to the intensity ratio by a fuzzy matching rule.
  12. 根据权利要求9-11任一所述的存储系统,其特征在于,数据采集分析模块还用于获取所述存储系统中的每个数据块单位时间内的读写次数,并将获取到的每个数据块的单位时间内的读写次数从高到低按顺序排列;The storage system according to any one of claims 9-11, wherein the data collection and analysis module is further configured to acquire the number of readings and writes per unit time in each data block in the storage system, and obtain each of the obtained data. The number of readings and writes per unit time of a data block is arranged in order from high to low;
    数据采集分析模块根据所述容量比得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量具体为:数据采集分析模块根据所述容量比按顺序得到需要从所述第一存储设备迁移到所述第二存储设备的数据块的数量。 The data collection and analysis module obtains, according to the capacity ratio, the number of data blocks that need to be migrated from the first storage device to the second storage device, specifically: the data collection and analysis module obtains according to the capacity ratio in order from the The number of data blocks that the first storage device migrates to the second storage device.
PCT/CN2017/096784 2016-12-22 2017-08-10 Data migration method, apparatus, and system WO2018113317A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611199849.1 2016-12-22
CN201611199849.1A CN107122126B (en) 2016-12-22 2016-12-22 Data migration method, device and system

Publications (1)

Publication Number Publication Date
WO2018113317A1 true WO2018113317A1 (en) 2018-06-28

Family

ID=59717905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096784 WO2018113317A1 (en) 2016-12-22 2017-08-10 Data migration method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN107122126B (en)
WO (1) WO2018113317A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825908A (en) * 2019-11-04 2020-02-21 安超云软件有限公司 Object migration method and device, electronic equipment and storage medium
CN111124281A (en) * 2019-11-29 2020-05-08 浪潮(北京)电子信息产业有限公司 Data storage method, device, equipment and storage medium of full flash memory storage system
CN112015347A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Data migration method and device and related equipment
CN113741810A (en) * 2021-07-30 2021-12-03 苏州浪潮智能科技有限公司 Data migration method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894873A (en) * 2017-11-07 2018-04-10 长沙曙通信息科技有限公司 A kind of memory virtualization system data processing implementation method
CN110413209B (en) * 2018-04-28 2023-05-30 伊姆西Ip控股有限责任公司 Method and apparatus for managing storage system
CN110018797B (en) * 2019-04-11 2020-03-06 苏州浪潮智能科技有限公司 Data migration method, device and equipment and readable storage medium
CN111078160B (en) * 2020-03-23 2020-06-23 上海飞旗网络技术股份有限公司 Data migration and storage method and device based on call proportion and response duration
CN114327253A (en) * 2021-10-18 2022-04-12 杭州逗酷软件科技有限公司 Data migration method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572684A (en) * 2013-10-17 2015-04-29 深圳市腾讯计算机系统有限公司 Data storage system and capacity adjusting method and device
CN104598495A (en) * 2013-10-31 2015-05-06 南京中兴新软件有限责任公司 Hierarchical storage method and system based on distributed file system

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101498673B1 (en) * 2007-08-14 2015-03-09 삼성전자주식회사 Solid state drive, data storing method thereof, and computing system including the same
US8700841B2 (en) * 2010-04-19 2014-04-15 International Business Machines Corporation Sub-LUN input/output profiling for SSD devices
CN102033717B (en) * 2010-12-07 2013-05-08 清华大学 Data storage method and system based on RAID (Redundant Array of Inexpensive Disk)
CN102541460B (en) * 2010-12-20 2014-10-08 中国移动通信集团公司 Multiple disc management method and equipment
CN102317901B (en) * 2011-07-25 2013-09-11 华为技术有限公司 Methods for object adjustment and devices for remove control, node and storage system
CN103106152B (en) * 2012-12-13 2015-09-23 深圳先进技术研究院 Based on the data dispatching method of level storage medium
CN103106044B (en) * 2012-12-13 2016-09-07 深圳先进技术研究院 Classification storage power-economizing method
CN103091707B (en) * 2012-12-31 2016-06-22 中国石油集团川庆钻探工程有限公司地球物理勘探公司 Geological data hierachical storing device and method
CN104102454A (en) * 2013-04-07 2014-10-15 杭州信核数据科技有限公司 Method for automatically realizing hierarchical storage and system for managing hierarchical storage
CN103688248B (en) * 2013-06-29 2015-09-30 华为技术有限公司 A kind of management method of storage array, device and controller
CN103616944B (en) * 2013-10-18 2016-05-11 杭州电子科技大学 Consumption-reducing method based on anticipation green data classification policy in cloud storage system
WO2015145532A1 (en) * 2014-03-24 2015-10-01 株式会社日立製作所 Storage system and data processing method
CN104268099B (en) * 2014-08-29 2017-06-13 浪潮(北京)电子信息产业有限公司 A kind of method and device for managing reading and writing data
CN113836084A (en) * 2014-11-10 2021-12-24 创新先进技术有限公司 Data storage method, device and system
CN104536904B (en) * 2014-12-29 2018-01-09 杭州华为数字技术有限公司 A kind of method of data management, equipment and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572684A (en) * 2013-10-17 2015-04-29 深圳市腾讯计算机系统有限公司 Data storage system and capacity adjusting method and device
CN104598495A (en) * 2013-10-31 2015-05-06 南京中兴新软件有限责任公司 Hierarchical storage method and system based on distributed file system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825908A (en) * 2019-11-04 2020-02-21 安超云软件有限公司 Object migration method and device, electronic equipment and storage medium
CN110825908B (en) * 2019-11-04 2023-04-25 安超云软件有限公司 Object migration method and device, electronic equipment and storage medium
CN111124281A (en) * 2019-11-29 2020-05-08 浪潮(北京)电子信息产业有限公司 Data storage method, device, equipment and storage medium of full flash memory storage system
CN111124281B (en) * 2019-11-29 2023-11-03 浪潮(北京)电子信息产业有限公司 Data storage method, device, equipment and storage medium of full flash memory system
CN112015347A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Data migration method and device and related equipment
CN113741810A (en) * 2021-07-30 2021-12-03 苏州浪潮智能科技有限公司 Data migration method and device
CN113741810B (en) * 2021-07-30 2023-08-11 苏州浪潮智能科技有限公司 Data migration method and device

Also Published As

Publication number Publication date
CN107122126B (en) 2020-09-08
CN107122126A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
WO2018113317A1 (en) Data migration method, apparatus, and system
US10168946B2 (en) Extent migration in multi-tier storage systems
US10031671B2 (en) Method, apparatus, and system for calculating identification threshold to distinguish cold data and hot data
CN111064808B (en) Load balancing method and device based on distributed storage system
US20150095381A1 (en) Method and apparatus for managing time series database
US20120158799A1 (en) Automatically matching data sets with storage components
CN106469018B (en) Load monitoring method and device for distributed storage system
CN111367469B (en) Method and system for migrating layered storage data
CN106156283B (en) Heterogeneous Hadoop storage method based on data temperature and node performance
EP2494436A1 (en) Allocating storage memory based on future use estimates
WO2017162086A1 (en) Task scheduling method and device
US20170315924A1 (en) Dynamically Sizing a Hierarchical Tree Based on Activity
WO2013071726A1 (en) Method and device for data pre-heating
CN105630810A (en) Method for uploading mass small files in distributed storage system
JP6823605B2 (en) Data retention framework
US20150212744A1 (en) Method and system of eviction stage population of a flash memory cache of a multilayer cache system
CA2987731A1 (en) Database memory monitoring and defragmentation of database indexes
CN110688360A (en) Distributed file system storage management method, device, equipment and storage medium
Kim et al. Selective I/O bypass and load balancing method for write-through SSD caching in big data analytics
US9778854B2 (en) Computer system and method for controlling hierarchical storage therefor
US11636081B2 (en) Dynamic index management for computing storage resources
US20150149418A1 (en) Estimation of query input/output (i/o) cost in database
US8938479B1 (en) Systems and methods for dynamically selecting a logical location for an index
JP2018018133A (en) Information processing apparatus, stream storage control program, and index data reference method
WO2016029481A1 (en) Method and device for isolating disk regions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17884759

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17884759

Country of ref document: EP

Kind code of ref document: A1