KR101947504B1 - Method for extent allocation of data file - Google Patents

Method for extent allocation of data file Download PDF

Info

Publication number
KR101947504B1
KR101947504B1 KR1020170085863A KR20170085863A KR101947504B1 KR 101947504 B1 KR101947504 B1 KR 101947504B1 KR 1020170085863 A KR1020170085863 A KR 1020170085863A KR 20170085863 A KR20170085863 A KR 20170085863A KR 101947504 B1 KR101947504 B1 KR 101947504B1
Authority
KR
South Korea
Prior art keywords
disk
processor
extent
allocation sequence
disks
Prior art date
Application number
KR1020170085863A
Other languages
Korean (ko)
Other versions
KR20190005349A (en
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 주식회사 티맥스데이터
Priority to KR1020170085863A priority Critical patent/KR101947504B1/en
Publication of KR20190005349A publication Critical patent/KR20190005349A/en
Application granted granted Critical
Publication of KR101947504B1 publication Critical patent/KR101947504B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 개시의 일 실시예에 따른 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법이 개시된다. 상기 방법은 상기 프로세서가 익스텐트(extent)를 디스크(disk)에 할당하기 위한 할당 시퀀스를 생성하는 단계, 상기 프로세서가 데이터스트림을 상기 할당 시퀀스에 해당하는 익스텐트 단위로 분리하는 단계 및 상기 프로세서가 상기 할당 시퀀스에 기초하여 상기 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계를 포함할 수 있다.Disclosed is a method of managing a disk that is performed in a computing device that includes one or more processors in accordance with one embodiment of the present disclosure and a main memory that stores instructions executable by the processor. The method includes the steps of the processor generating an allocation sequence for allocating an extent to a disk, the processor segmenting a data stream into extent units corresponding to the allocation sequence, And allocating the data stream separated by the extent unit to one or more disks included in the disk space for each extent based on the sequence.

Figure R1020170085863
Figure R1020170085863

Description

데이터 파일의 익스텐트 할당 방법{METHOD FOR EXTENT ALLOCATION OF DATA FILE}[0001] METHOD FOR EXTENT ALLOCATION OF DATA FILE [0002]

본 개시는 데이터베이스 관리 방법에 관한 것으로서, 보다 구체적으로, 데이터의 저장 방법에 관한 것이다.This disclosure relates to a database management method, and more particularly, to a method of storing data.

기업의 비즈니스는 폭발적인 데이터의 증가와 다양한 환경 및 플랫폼의 등장으로 빠르게 확장되고 있다. 새로운 비즈니스 환경이 도래함에 따라서, 보다 더 효율적이고 유연한 데이터 서비스와 정보의 처리, 데이터 관리 기능이 필요하게 되었다. 이러한 변화에 맞춰서 기업 비즈니스 구현의 기반이 되는 고성능, 고가용성 및 확장성의 문제를 해결하기 위한 데이터베이스에 대한 연구가 계속되고 있다.Businesses are rapidly expanding with explosive data growth and the emergence of diverse environments and platforms. With the advent of new business environments, more efficient and flexible data services, information processing and data management capabilities are required. In response to these changes, research is continuing on databases to solve the problems of high performance, high availability, and scalability that are the basis of enterprise business implementation.

데이터베이스 관리 시스템(DBMS)은 데이터 파일을 각각의 디스크에 저장할 수 있도록 할 수 있다. 그리고, 데이터베이스 관리 시스템은 이러한 디스크들을 포함하는 디스크스페이스를 관리할 수 있다. 이에 따라, 데이터베이스 관리 시스템은 자료의 통합성을 증진시킬 수 있고, 데이터에 대한 접근성을 개선할 수 있다. 이와 같은 데이터베이스 관리 시스템에는 대표적으로 Tibero, Oracle, IMS 등이 있다.A database management system (DBMS) may be able to store data files on respective disks. And, the database management system can manage the disk space including these disks. Accordingly, a database management system can improve data integration and improve accessibility to data. Typical examples of such database management systems are Tibero, Oracle, and IMS.

대한민국 등록특허 10-0561229에는 복수개의 원본 데이터베이스와 복수개의 복제 데이터베이스들이 이중화 관계를 형성하는 이중화 장치를 개시하고 있다. 하지만, 이러한 발명은 처리 작업이 많아 입출력 속도가 느려지고, 데이터베이스 간의 용량 밸런스가 맞지 않는 문제가 있다.Korean Patent Registration No. 10-0561229 discloses a duplication apparatus in which a plurality of original databases and a plurality of duplicate databases form a redundancy relationship. However, such an invention has a problem in that the input / output speed is slowed due to a lot of processing operations, and the balance of the capacities between the databases is not matched.

이에 따라, 가용성을 높이고, 디스크 간의 밸런싱을 유지하면서 입출력 속도를 높일 수 있도록 하나 이상의 기준 및 기준 간의 우선순위에 기초한 데이터 파일의 익스텐트 할당 방법에 대한 수요가 당업계에 존재할 수 있다.Thus, there may be a need in the art for a method for allocating extents of a data file based on one or more criteria and a priority among the criteria so that the I / O rate can be increased while increasing the availability and balancing between disks.

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 데이터 파일의 익스텐트를 디스크에 할당하는 방법을 제공하기 위함이다.This disclosure is devised in correspondence with the background art described above and is intended to provide a method of allocating an extent of a data file to a disk.

전술한 바와 같은 과제를 실현하기 위한 본 개시의 일 실시예에 따라 하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법이 개시된다. 상기 방법은 상기 프로세서가 익스텐트(extent)를 디스크(disk)에 할당하기 위한 할당 시퀀스를 생성하는 단계, 상기 프로세서가 데이터스트림을 상기 할당 시퀀스에 해당하는 익스텐트 단위로 분리하는 단계 및 상기 프로세서가 상기 할당 시퀀스에 기초하여 상기 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계를 포함할 수 있다.Disclosed is a method for managing a disk that is performed in a computing device that includes one or more processors and a main memory that stores instructions executable by the processor, in accordance with one embodiment of the present disclosure for achieving the above-described task. The method includes the steps of the processor generating an allocation sequence for allocating an extent to a disk, the processor segmenting a data stream into extent units corresponding to the allocation sequence, And allocating the data stream separated by the extent unit to one or more disks included in the disk space for each extent based on the sequence.

대안적으로, 상기 프로세서가 할당 시퀀스를 생성하는 단계는 상기 디스크스페이스에 포함된 디스크의 개수 및 각각의 디스크의 용량에 기초하여 수행될 수 있다.Alternatively, the step of the processor generating the allocation sequence may be performed based on the number of disks included in the disk space and the capacity of each disk.

대안적으로, 상기 할당 시퀀스는 상기 하나 이상의 디스크들의 각각의 용량을 상기 하나 이상의 디스크들의 용량의 최대공약수로 나눈 각각의 디스크에 대한 가중치의 합계에 기초할 수 있다.Alternatively, the allocation sequence may be based on a sum of weights for each disk, the capacity of each of the one or more disks divided by the greatest common divisor of the capacity of the one or more disks.

대안적으로, 상기 할당 시퀀스는 상기 하나 이상의 디스크 중 하나의 디스크에 상기 익스텐트가 연속적으로 할당되지 않도록 구성될 수 있다.Alternatively, the allocation sequence may be configured such that the extents are not continuously allocated to one of the one or more disks.

대안적으로, 상기 프로세서가 상기 데이터스트림을 복제하여 사전 설정된 개수의 복제본을 생성하는 단계를 더 포함하고, 상기 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계는 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본으로부터 각각 분리되어 생성되는 원본 익스텐트 및 복제본 익스텐트 각각을 상기 하나 이상의 디스크에 각각 할당하기 위하여, 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본 각각에 일대일 대응하도록 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 생성하고, 상기 프로세서가 데이터스트림을 상기 할당 시퀀스에 해당하는 익스텐트 단위로 분리하는 단계는 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본을 각각 익스텐트 단위로 분리하여 상기 원본 익스텐트 및 상기 복제본 익스텐트를 생성하고, 그리고 상기 프로세서가 상기 할당 시퀀스에 기초하여 상기 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계는 상기 데이터스트림 할당 시퀀스에 기초하여 상기 데이터스트림에 대해 수행되고, 그리고 상기 복제본 할당 시퀀스에 기초하여 상기 복제본에 대해 수행될 수 있다.Alternatively, the processor may further comprise copying the data stream to produce a predetermined number of copies, wherein the step of generating an allocation sequence for the processor to allocate extents to a disk comprises: A data stream allocation sequence and a replica allocation sequence so as to correspond one-to-one to each of the data stream and the predetermined number of replicas, in order to allocate each of original extents and replica extents separately generated from the set number of replicas to the one or more disks, Separating the data stream and the predetermined number of copies into extents and separating the data stream and the predetermined number of copies in units of extents corresponding to the allocation sequence, Wherein the step of allocating the data stream separated by extent units to one or more disks included in the disk space for each extent based on the allocation sequence based on the data stream allocation sequence Is performed on the data stream, and may be performed on the replica based on the replica allocation sequence.

대안적으로, 상기 디스크스페이스에서 동시에 손상될 수 있는 페일 그룹(fail group)을 설정하는 단계를 더 포함하고, 상기 할당 시퀀스는 상기 데이터스트림으로부터 분리되어 생성된 제 1 원본 익스텐트가 상기 하나 이상의 디스크 중 제 1 페일 그룹에 할당되는 경우, 상기 복제본으로부터 분리되어 생성되고 상기 제 1 원본 익스텐트와 대응되는 제 1 복제본 익스텐트는 상기 하나 이상의 디스크 중 상기 제 1 페일 그룹을 제외한 디스크에 할당되도록 구성될 수 있다.Alternatively, the method may further comprise setting a fail group that may be corrupted in the disk space at the same time, wherein the allocation sequence is configured such that a first original extent, generated separately from the data stream, The first copy extent created separately from the copy and corresponding to the first original extent may be allocated to a disk other than the first fail group among the one or more disks when the first copy extent is allocated to the first fail group.

대안적으로, 상기 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계는 상기 디스크스페이스에 새로운 디스크가 추가되는 경우, 상기 새로운 디스크의 용량과 상기 하나 이상의 디스크들의 잔여 용량 각각을, 상기 새로운 디스크의 용량 및 상기 하나 이상의 디스크들의 잔여 용량의 최대공약수로 나눈 각각의 가중치의 합계에 기초하여 상기 할당 시퀀스를 재생성하거나, 또는 상기 디스크스페이스에 상기 하나 이상의 디스크가 제거되는 경우, 상기 디스크스페이스에 남은 잔여 디스크들의 잔여 용량 각각을, 상기 잔여 디스크들의 잔여 용량의 최대공약수로 나눈 각각의 가중치의 합계에 기초하여 상기 할당 시퀀스를 재생성할 수 있다.Alternatively, the step of the processor creating an allocation sequence for allocating an extent to a disk may further include, when a new disk is added to the disk space, allocating the capacity of the new disk and the remaining capacity of the one or more disks, The allocation sequence is regenerated based on the sum of the respective weights divided by the greatest common divisor of the capacity of the disk and the remaining capacity of the one or more disks or if the one or more disks are removed from the disk space, The allocation sequence can be regenerated on the basis of the sum of the respective weights which divide each of the remaining capacities of the remaining disks by the greatest common divisor of the remaining capacity of the remaining disks.

대안적으로, 상기 할당 시퀀스는 제 1 기준, 제 2 기준 및 제 3 기준 중 적어도 하나에 기초하여 생성되고, 상기 제 1 기준은 가용성을 높이기 위하여 상기 할당 시퀀스가 상기 데이터스트림으로부터 분리되어 생성된 제 1 원본 익스텐트를 제 1 페일 그룹에 할당되도록 하는 경우, 복제본으로부터 분리되어 생성되고 상기 제 1 원본 익스텐트와 대응되는 제 1 복제본 익스텐트는 상기 제 1 페일 그룹과 상이한 페일 그룹에 할당되도록 구성되고, 상기 제 2 기준은 디스크 사이의 밸런싱을 위하여 상기 할당 시퀀스가 상기 하나 이상의 디스크들의 각각의 용량을 상기 하나 이상의 디스크들의 용량의 최대공약수로 나눈 각각의 디스크에 대한 가중치의 합계에 기초하고, 그리고 상기 제 3 기준은 입출력 성능을 위하여 상기 할당 시퀀스가 상기 하나 이상의 디스크 중 하나의 디스크에 상기 익스텐트를 연속적으로 할당되지 않도록 구성될 수 있다.Alternatively, the assignment sequence may be generated based on at least one of a first criterion, a second criterion, and a third criterion, the first criterion being such that the assignment sequence is generated separately from the data stream to increase availability, When a first original extent is allocated to a first fail group, a first replica extent generated separately from a replica and corresponding to the first original extent is allocated to a fail group different from the first fail group, 2 criterion is based on the sum of the weights for each disc for balancing between discs, the allocation sequence dividing the capacity of each of the one or more discs by the greatest common divisor of the capacity of the one or more discs, For the I / O performance, A single disc of the may be configured not to allocate the extent continuously.

대안적으로, 상기 할당 시퀀스는 상기 제 1 기준을 1 순위, 상기 제 2 기준을 2 순위, 그리고 상기 제 3 기준을 3 순위로 하는 우선순위에 기초하여 생성되고, 상기 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계는 상기 제 1 기준, 제 2 기준 및 제 3 기준을 모두 충족하는 상기 할당 시퀀스를 생성하지 못하는 경우, 상기 우선순위에 기초하여 상기 할당 시퀀스를 생성할 수 있다.Alternatively, the allocation sequence may be generated based on a priority order in which the first criterion is a first rank, the second criterion is a second rank, and the third criterion is a third rank, and the processor assigns an extent to a disk Wherein the step of generating an assignment sequence for generating an assignment sequence for generating an assignment sequence based on the priority can generate the assignment sequence based on the priority if it fails to generate the assignment sequence satisfying all of the first criterion,

본 개시는 데이터 파일의 익스텐트를 할당하는 방법을 제공할 수 있다.The present disclosure may provide a method of allocating extents of a data file.

도 1은 본 개시내용의 일 실시예에 따른 데이터베이스 시스템에 대한 개략도를 도시한다.
도 2a 및 도 2b는 본 개시의 일 실시예에 따른 제 1 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.
도 3은 본 개시의 일 실시예에 따른 제 2 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.
도 4는 본 개시의 일 실시예에 따른 제 2 기준 및 제 3 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.
도 5는 본 개시의 일 실시예에 따른 제 1 기준, 제 2 기준 및 제 3 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.
도 6은 본 개시의 일 실시예에 따른 디스크 관리 방법의 순서도(Flow chart)이다.
도 7은 본 개시의 일 실시예에 따른 컴퓨팅 장치의 블록 구성도(Block diagram)이다.
Figure 1 shows a schematic diagram for a database system according to one embodiment of the present disclosure.
Figures 2A and 2B are exemplary diagrams of an allocation sequence based on a first criterion and an extent allocation based on the allocation sequence in accordance with an embodiment of the present disclosure.
3 is an illustration of an allocation sequence based on a second criterion according to one embodiment of the present disclosure and an extent allocation based on the allocation sequence.
4 is an illustration of an allocation sequence based on a second criterion and a third criterion according to one embodiment of the present disclosure and an extent allocation based on the allocation sequence.
5 is an illustration of an allocation sequence based on a first, second, and third criteria and an extent allocation based on the allocation sequence in accordance with an embodiment of the present disclosure;
6 is a flow chart of a disk management method according to an embodiment of the present disclosure.
7 is a block diagram of a computing device according to an embodiment of the present disclosure.

다양한 실시예들이 이제 도면을 참조하여 설명되며, 전체 도면에서 걸쳐 유사한 도면번호는 유사한 구성요소를 나타내기 위해서 사용된다. 본 명세서에서, 다양한 설명들이 본 개시의 이해를 제공하기 위해서 제시된다. 그러나 이러한 실시예들은 이러한 구체적인 설명 없이도 실행될 수 있음이 명백하다. 다른 예들에서, 공지된 구조 및 장치들은 실시예들의 설명을 용이하게 하기 위해서 블록 다이어그램 형태로 제공된다.Various embodiments are now described with reference to the drawings, wherein like reference numerals are used throughout the drawings to refer to like elements. In this specification, various explanations are given in order to provide an understanding of the present disclosure. It will be apparent, however, that such embodiments may be practiced without these specific details. In other instances, well-known structures and devices are provided in block diagram form in order to facilitate describing the embodiments.

본 명세서에서 사용되는 용어 "컴포넌트", "모듈", "시스템" 등은 컴퓨터-관련 엔티티, 하드웨어, 펌웨어, 소프트웨어, 소프트웨어 및 하드웨어의 조합, 또는 소프트웨어의 실행을 지칭한다. 예를 들어, 컴포넌트는 프로세서상에서 실행되는 처리과정, 프로세서, 객체, 실행 스레드, 프로그램, 및/또는 컴퓨터일 수 있지만, 이들로 제한되는 것은 아니다. 예를 들어, 컴퓨팅 장치에서 실행되는 애플리케이션 및 컴퓨팅 장치 모두 컴포넌트일 수 있다. 하나 이상의 컴포넌트는 프로세서 및/또는 실행 스레드 내에 상주할 수 있고, 일 컴포넌트는 하나의 컴퓨터 내에 로컬화될 수 있고, 또는 2개 이상의 컴퓨터들 사이에 분배될 수 있다. 또한, 이러한 컴포넌트들은 그 내부에 저장된 다양한 데이터 구조들을 갖는 다양한 컴퓨터 판독가능한 매체로부터 실행할 수 있다. 컴포넌트들은 예를 들어 하나 이상의 데이터 패킷들을 갖는 신호(예를 들면, 로컬 시스템, 분산 시스템에서 다른 컴포넌트와 상호작용하는 하나의 컴포넌트로부터 데이터 및/또는 신호를 통해 다른 시스템과 인터넷과 같은 네트워크를 통한 데이터)에 따라 로컬 및/또는 원격 처리들을 통해 통신할 수 있다. The terms "component," "module," system, "and the like, as used herein, refer to a computer-related entity, hardware, firmware, software, combination of software and hardware, or execution of software. For example, a component may be, but is not limited to, a process executing on a processor, a processor, an object, an executing thread, a program, and / or a computer. For example, both an application running on a computing device and a computing device may be a component. One or more components may reside within a processor and / or thread of execution, one component may be localized within one computer, or it may be distributed between two or more computers. Further, such components may execute from various computer readable media having various data structures stored therein. The components may be, for example, a signal (e.g., a local system, data from one component interacting with another component in a distributed system, and / or data over a network, such as the Internet, Lt; RTI ID = 0.0 > and / or < / RTI >

제시된 실시예들에 대한 설명은 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다. The description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure should not be construed as limited to the embodiments set forth herein, but is to be accorded the widest scope consistent with the principles and novel features presented herein.

도 1은 본 개시의 일 실시예에 따른 데이터베이스 시스템에 대한 개략도를 도시한다.Figure 1 shows a schematic diagram for a database system according to one embodiment of the present disclosure.

도 1에서 도시되는 바와 같이, 본 개시의 따른 데이터베이스 시스템(100)은 클라이언트(110) 및 데이터베이스 서버(120)를 포함할 수 있다.As shown in FIG. 1, the database system 100 according to the present disclosure may include a client 110 and a database server 120.

도 1 에서 도시되는 바와 같이, 클라이언트(110)는 네트워크를 통하여 통신하기 위한 매커니즘을 갖는 데이터베이스 시스템에서의 노드(들)를 의미할 수 있다. 예를 들어, 클라이언트(110)는 PC, 랩탑 컴퓨터, 워크스테이션, 단말 및/또는 네트워크 접속성을 갖는 임의의 전자 디바이스를 포함할 수 있다. 또한, 클라이언트(110)는 에이전트(Agent), API(Application Programming Interface) 및 플러그-인(Plug-in) 중 적어도 하나에 의해 구현되는 임의의 서버를 포함할 수도 있다. 예를 들어, 도 1에서의 클라이언트(110)는 데이터베이스 서버(120)를 사용하는 사용자(예컨대, DBA(DataBase Administration))와 관련될 수 있다.As shown in FIG. 1, client 110 may refer to node (s) in a database system having a mechanism for communicating over a network. For example, the client 110 may include a PC, a laptop computer, a workstation, a terminal, and / or any electronic device having network connectivity. In addition, the client 110 may include any server implemented by at least one of an agent, an application programming interface (API), and a plug-in. For example, client 110 in FIG. 1 may be associated with a user (e.g., DBA (DataBase Administration)) that uses database server 120.

데이터베이스 서버(120)는, 예를 들어, 마이크로프로세서, 메인프레임 컴퓨터, 디지털 싱글 프로세서, 휴대용 디바이스 및 디바이스 제어기 등과 같은 임의의 타입의 컴퓨터 시스템 또는 컴퓨팅 디바이스를 포함할 수 있다. 이러한 데이터베이스 서버(120)들 각각은 DBMS(Database Management System)(120a) 및 영구 저장 매체(persistent storage)(120b)를 포함할 수 있다. 또한, 데이터베이스 서버(120)는 쿼리를 실행하기 위한 장치와 상호 교환가능하게 사용될 수도 있다.Database server 120 may include any type of computer system or computing device, such as, for example, a microprocessor, mainframe computer, digital single processor, portable device, and device controller. Each of these database servers 120 may include a DBMS (Database Management System) 120a and a persistent storage 120b. In addition, the database server 120 may be used interchangeably with devices for executing queries.

더불어, 도 1에서는 1개의 데이터베이스 서버(120)만을 도시하고 있으나, 이보다 많은 데이터베이스 서버들 또한 본 발명의 범위에 포함될 수 있다는 점 그리고 데이터베이스 서버(120)가 추가적인 컴포넌트들을 포함할 수 있다는 점이 당해 출원분야에 있어서 통상의 지식을 가진 자에게 명백할 것이다. 예를 들어, 도 1에서는 도시되지 않았지만, 데이터베이스 서버(120)는 버퍼 캐시를 포함하는 하나 이상의 메모리를 포함할 수 있다. 또한, 도 1에서는 도시되지 않았지만, 데이터베이스 서버(120)는 하나 이상의 프로세서를 포함할 수 있다. 따라서, DBMS(120a)는 상기 메모리 상에서 상기 프로세서에 의하여 동작될 수 있다.In addition, although FIG. 1 illustrates only one database server 120, more database servers may be included within the scope of the present invention, and that the database server 120 may include additional components, It will be apparent to those of ordinary skill in the art. For example, although not shown in FIG. 1, the database server 120 may include one or more memories containing a buffer cache. Also, although not shown in FIG. 1, the database server 120 may include one or more processors. Thus, the DBMS 120a may be operated by the processor on the memory.

본 명세서에서의 메모리는, 예를 들어, 동적 램(DRAM, dynamic random access memory), 정적 램(SRAM, static random access memory) 등의 랜덤 액세스 메모리(RAM)와 같은, 프로세서가 직접 접근하는 주된 저장 장치로서 전원이 꺼지면 저장된 정보가 순간적으로 지워지는 휘발성(volatile) 저장 장치를 의미할 수 있지만, 이들로 한정되는 것은 아니다. 이러한 메모리는 프로세서에 의하여 동작 될 수 있다. 메모리는 데이터 값을 포함하는 데이터 테이블(data table)을 임시로 저장할 수 있다. 상기 데이터 테이블은 데이터 값을 포함할 수 있으며, 본 발명의 일 실시예에서 상기 데이터 테이블의 데이터 값은 메모리로부터 영구 저장 매체에 기록될 수 있다. 추가적인 양상에서, 메모리는 버퍼 캐시를 포함하며, 상기 버퍼 캐시의 데이터 블록에는 데이터가 저장될 수 있다. 버퍼 캐시에 저장된 데이터는 백그라운드 프로세스에 의하여 영구 저장 매체에 기록될 수 있다.The memory in this specification is intended to encompass a main storage directly accessible by the processor, such as, for example, random access memory (RAM) such as dynamic random access memory (DRAM), static random access memory (SRAM) And may be, but is not limited to, a volatile storage device in which stored information is momentarily erased when the device is powered off. Such memory may be operated by the processor. The memory may temporarily store a data table containing data values. The data table may include a data value, and in an embodiment of the present invention, the data value of the data table may be written to the persistent storage medium from memory. In a further aspect, the memory includes a buffer cache, wherein data may be stored in a data block of the buffer cache. The data stored in the buffer cache may be written to the persistent storage medium by a background process.

영구 저장 매체(120b)는, 예를 들어 자기(magnetic) 디스크, 광학(optical) 디스크 및 광자기(magneto-optical) 저장 디바이스뿐만 아니라 플래시 메모리 및/또는 배터리-백업 메모리에 기초한 저장 디바이스와 같은, 임의의 데이터를 지속적으로 할 수 있는 비-휘발성(non-volatile) 저장 매체를 의미할 수 있다. 이러한 영구 저장 매체(120b)는 다양한 통신 수단을 통하여 데이터베이스 서버(120)의 프로세서 및 메모리와 통신할 수 있다. 추가적인 실시예에서, 이러한 영구 저장 매체(120b)는 데이터베이스 서버(120) 외부에 위치하여 데이터베이스 서버(120)와 통신가능할 수도 있다.The permanent storage medium 120b may be any type of storage medium such as, for example, a magnetic disk, an optical disk and a magneto-optical storage device, as well as a storage device based on flash memory and / Or non-volatile storage medium capable of continuously storing arbitrary data. The persistent storage medium 120b may communicate with the processor and memory of the database server 120 through various communication means. In a further embodiment, such persistent storage medium 120b may be external to the database server 120 and be capable of communicating with the database server 120. [

DBMS(120a)는 데이터베이스 서버(120)에서 쿼리에 대한 파싱, 필요한 데이터를 검색, 삽입, 수정 및/또는 삭제 등과 같은 동작들을 수행하는 것을 허용하기 위한 프로그램으로서, 전술한 바와 같이, 데이터베이스 서버(120)의 메모리에서 프로세서에 의하여 구현될 수 있다. The DBMS 120a is a program for allowing the database server 120 to perform operations such as parsing a query, retrieving, inserting, modifying, and / or deleting necessary data. As described above, the database server 120 ) ≪ / RTI > memory.

클라이언트(110)와 데이터베이스 서버(120) 또는 데이터베이스 서버들은 네트워크(미도시)를 통하여 서로 통신할 수 있다. 본 발명의 일 실시예에 따른 네트워크는 공중전화 교환망(PSTN:Public Switiched Telephone Network), xDSL(x Digital Subscriber Line), RADSL(Rate Adaptive DSL), MDSL(Multi Rate DSL), VDSL(Very High Speed DSL), UADSL(Universal Asymmetric DSL), HDSL(High Bit Rate DSL) 및 근거리 통신망(LAN) 등과 같은 다양한 유선 통신 시스템들을 사용할 수 있다.The client 110 and the database server 120 or database servers can communicate with each other via a network (not shown). The network according to an exemplary embodiment of the present invention may be a Public Switched Telephone Network (PSTN), a Digital Subscriber Line (xDSL), a Rate Adaptive DSL (RADSL), a Multi Rate DSL (MDSL) ), Universal Asymmetric DSL (UADSL), High Bit Rate DSL (HDSL), and Local Area Network (LAN).

또한, 본 명세서에서 제시되는 네트워크는 CDMA(Code Division Multi Access), TDMA(Time Division Multi Access), FDMA(Frequency Division Multi Access), OFDMA(Orthogonal Frequency Division Multi Access), SC-FDMA(Single Carrier-FDMA) 및 다른 시스템들과 같은 다양한 무선 통신 시스템들을 사용할 수 있다. 예를 들어, 네트워크는 데이터베이스 링크(dblink)를 포함할 수도 있으며, 이에 따라 복수의 데이터베이스 서버들은 이러한 데이터베이스 링크를 통해 서로 통신하여 다른 데이터베이스 서버로부터의 데이터를 가져올 수 있다. 본 명세서에서 설명된 기술들은 위에서 언급된 네트워크들뿐만 아니라, 다른 네트워크들에서도 사용될 수 있다.In addition, the network presented in this specification can be applied to various wireless communication systems such as Code Division Multi Access (CDMA), Time Division Multi Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single Carrier- ), And other systems. For example, the network may include a database link (dblink), whereby a plurality of database servers can communicate with each other via such database link to fetch data from another database server. The techniques described herein may be used in other networks as well as in the networks mentioned above.

도 2a 및 도 2b는 본 개시의 일 실시예에 따른 제 1 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다. Figures 2A and 2B are exemplary diagrams of an allocation sequence based on a first criterion and an extent allocation based on the allocation sequence in accordance with an embodiment of the present disclosure.

도 2a에 도시된 바와 같이, 데이터베이스 서버(120)는 데이터스트림을 저장할 수 있는 디스크스페이스 및 프로세서를 포함할 수 있다. 여기서 데이터스트림(Data stream)은 네트워크를 통해 데이터베이스 서버(120)로 전송되는 암호화된 신호, 데이터 베이스 테이블 또는 데이터의 흐름일 수 있다. 그리고, 디스크스페이스(Disk space)는 데이터 파일을 저장할 수 있는 하나 이상의 디스크(210, 220)를 포함할 수 있다. 그리고, 프로세서는 할당 시퀀스(201, 202)에 기초하여 데이터스트림을 하나 이상의 디스크 중 어느 위치에 저장할지를 결정할 수 있다. As shown in FIG. 2A, the database server 120 may include a disk space and a processor capable of storing a data stream. Where the data stream may be a stream of encrypted signals, database tables, or data that is transmitted over the network to the database server 120. And, the disk space may include one or more disks 210, 220 that can store data files. The processor may then determine which of the one or more disks to store the data stream based on the allocation sequence 201,202.

이하의 본문에서, 익스텐트(extent)는 0 bit 이상의 크기를 가진 일련의 데이터 단위로서 데이터 저장을 위한 기본 단위를 의미할 수 있다. 예를 들어, 익스텐트는 64KB 일 수 있으나, 본 개시는 이에 제한되지 않는다. 그리고, 익스텐트는 데이터스트림으로부터 분리되어 생성되는 원본 익스텐트 및 복제본으로부터 분리되어 생성되는 복제본 익스텐트를 포함할 수 있다. 또한, 할당 시퀀스는 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 포함하는 용어로 사용될 수 있다. In the following text, an extent may denote a basic unit for storing data as a series of data units having a size of 0 bits or more. For example, the extent may be 64 KB, but the disclosure is not so limited. An extent may include a copy extents that are generated separately from the original extents and replicas generated separately from the data stream. In addition, the assignment sequence may be used as a term including a data stream assignment sequence and a replica assignment sequence.

프로세서는 익스텐트를 디스크에 할당하기 위한 할당 시퀀스(201, 202)를 생성할 수 있다. 보다 구체적으로, 프로세서는 데이터스트림 및 사전 설정된 개수의 복제본 각각에 일대일 대응하도록 데이터스트림 할당 시퀀스(201) 및 복제본 할당 시퀀스(202)를 생성할 수 있다. 도 2a에 도시된 예시에서는 원본 데이터 스트림 및 제 1 복제본에 대한 할당 시퀸스(201, 202)가 도시되어 있으나, 본 개시는 이에 제한되지 않는다. 이에 따라, 프로세서는 데이터스트림 및 사전 설정된 개수의 복제본으로부터 각각 분리되어 생성되는 원본 익스텐트 및 복제본 익스텐트 각각을 하나 이상의 디스크에 각각 할당할 수 있다.The processor may generate an allocation sequence 201, 202 for allocating the extent to the disk. More specifically, the processor may generate a data stream allocation sequence 201 and a replica allocation sequence 202 to correspond one-to-one to a data stream and a predetermined number of copies, respectively. In the example shown in FIG. 2A, the original data stream and the allocation sequence 201, 202 for the first copy are shown, but the present disclosure is not so limited. Accordingly, the processor can allocate each of the original extents and replica extents separately generated from the data stream and the predetermined number of copies to one or more disks, respectively.

보다 구체적으로, 프로세서는 데이터스트림 할당 시퀀스(201)를 생성할 수 있다. 여기서 데이터스트림 할당 시퀀스(201)는 프로세서에 의해 데이터스트림으로부터 분리되어 생성된 원본 익스텐트를 각 디스크에 할당하기 위한 각각의 익스텐트가 할당될 디스크에 관한 정보(예컨대, 디스크 넘버)를 포함할 수 있다. 또한, 프로세서는 하나 이상의 복제본 할당 시퀀스(202)를 생성할 수 있다. 여기서 복제본 할당 시퀀스(202)는 프로세서에 의해 복제본으로부터 분리되어 생성된 복제본 익스텐트를 각각의 익스텐트가 할당될 디스크에 관한 정보를 포함할 수 있다. 할당 시퀸스는 주기를 가지도록 구성되며, 할당 시퀸스의 각 주기는 각각의 인스텐트가 할당될 디스크에 관한 정보를 포함할 수 있다. 즉, 프로세서는 할당 시퀀스가 포함하는 하나 이상의 연속적인 디스크 넘버에 기초하여 익스텐트를 각 디스크로 할당할 수 있다.More specifically, the processor may generate a data stream allocation sequence 201. Here, the data stream allocation sequence 201 may include information (e.g., a disc number) about a disc to which each extent is to be allocated for allocating original extents generated separately from the data stream by the processor to each disc. In addition, the processor may generate one or more replica allocation sequences 202. Where the replica allocation sequence 202 may include information about a disk to which each extent is to be allocated a replica extent that is created by a processor separate from the replica. The allocation sequence is configured to have a period, and each period of the allocation sequence may include information about the disk to which each instance is to be allocated. That is, the processor may allocate an extent to each disk based on one or more consecutive disk numbers that the allocation sequence includes.

본 개시의 일 실시예에 따른 프로세서는 데이터스트림을 익스텐트 단위로 분리할 수 있다. 예를 들어, 도 2a에 도시된 바와 같이, 각각의 익스텐트가 1MB로 설정되는 경우, 프로세서는 데이터스트림을 익스텐트와 동일한 크기인 1 MB 단위로 분리하여 원본 익스텐트를 생성할 수 있다. 그리고, 프로세서는 각각의 원본 익스텐트를 데이터스트림 할당 시퀀스(201)가 포함하는 디스크 넘버에 각각 대응시킬 수 있다. 전술한 익스텐트 크기는 예시일뿐, 본 개시는 이에 제한되지 않는다.A processor in accordance with one embodiment of the present disclosure may separate a data stream on an extent-by-extent basis. For example, as shown in FIG. 2A, when each extent is set to 1 MB, the processor can generate the original extent by dividing the data stream into units of 1 MB that are the same size as the extent. The processor may then map each original extent to a disk number included in the data stream allocation sequence 201, respectively. The above-described extent size is only an example, and the present disclosure is not limited thereto.

또한, 본 개시의 일 실시예에 따른 프로세서는 데이터스트림을 복제하여 사전 설정된 개수의 복제본을 생성할 수 있다. 보다 구체적으로, 프로세서는 데이터스트림을 복제하여 데이터스트림 복제본을 생성할 수 있다. 여기서 생성되는 데이터 스트림 복제본의 수는 데이터 스트림의 내용, 가용성에 대한 필요성 등에 기초하여 결정될 수 있다. 이에 따라, 프로세서는 데이터스트림과 복제본을 복수개 생성할 수 있다. In addition, a processor in accordance with one embodiment of the present disclosure may replicate a data stream to produce a predetermined number of copies. More specifically, the processor may replicate the data stream to produce a replica of the data stream. The number of data stream replicas created here can be determined based on the content of the data stream, the need for availability, and the like. Accordingly, the processor can generate a plurality of data streams and replicas.

그리고, 프로세서는 생성된 복제본 각각을 각각의 익스텐트 단위로 분리할 수 있다. 보다 구체적으로, 프로세서는 생성된 복제본의 개수에 일대일 대응하는 개수의 복제본 할당 시퀀스(202)를 생성할 수 있다. 그리고, 프로세서는 상기 복제본 할당 시퀀스(202)에 기초하여 상기 복제본을 분리한 복제본 익스텐트를 디스크에 할당 할 수 있다. 예를 들어, 도 2a에 도시된 바와 같이, 각각의 익스텐트가 512 KB로 설정되는 경우, 복제본을 익스텐트와 동일한 크기인 512 KB 단위로 분리하여 복제본 익스텐트를 생성할 수 있다. 그리고 프로세서는 1개의 복제본에 대응하고, 4개의 디스크 넘버를 포함하는 1개의 복제본 할당 시퀀스(202)를 생성할 수 있다. 프로세서는 각각의 복제본 익스텐트를 복제본 할당 시퀀스(202)가 포함하는 디스크 넘버에 각각 대응시킬 수 있다. 전술한 복제본의 개수 및 익스텐트 크기의 자세한 수치는 예시일뿐, 본 개시는 이에 제한되지 않는다.Then, the processor can separate each of the generated replicas into respective extent units. More specifically, the processor may generate a number of replica allocation sequences 202 that correspond one-to-one to the number of replicas generated. The processor may then allocate to the disk a replica extent that has detached the replica based on the replica allocation sequence 202. [ For example, as shown in FIG. 2A, when each extent is set to 512 KB, a replica can be created by dividing the replica into 512 KB units, which is the same size as the extent. And the processor may generate one replica allocation sequence 202 corresponding to one replica and including four disk numbers. The processor may map each replica extent to a disk number that each replica allocation sequence 202 includes. The detailed numbers of the above-described replicas and extent sizes are only examples, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 프로세서는 할당 시퀀스에 기초하여 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당할 수 있다. 보다 구체적으로, 프로세서는 데이터스트림을 익스텐트 단위로 분리하여 원본 익스텐트를 생성할 수 있다. 그리고 상기 프로세서는 각각의 원본 익스텐트를 데이터스트림 할당 시퀀스(201)가 포함하는 디스크 넘버에 대응하는 디스크에 할당할 수 있다. 예를 들어, 도 2a에 도시되는 바와 같이, 데이터스트림 할당 시퀀스(201)는 4개의 익스텐트 단위를 각각 디스크 넘버 0, 1, 0, 0에 차례대로 할당하도록 구성될 수 있다. 이러한 경우, 도 2b에 도시된 바와 같이 프로세서는 원본 익스텐트 'a0', 'b0', 'c0', 'd0' 를 각각 데이터스트림 할당 시퀸스(201)가 포함하는 디스크 넘버 순서에 기초하여 'a0' 익스텐트를 0번 디스크, 'b0' 익스텐트를 1번 디스크, 'c0' 익스텐트를 0번 디스크 및 'd0' 익스텐트를 1번 디스크에 차례대로 할당할 수 있다. 또한, 프로세서는 'd0' 이후의 원본 익스텐트(예컨대, 'e0', 'f0', 'g0', 'h0')는 다시 데이터스트림 할당 시퀀스(201)가 포함하는 0, 1, 0, 0 순서의 디스크 넘버에 기초하여 'e0' 익스텐트를 0번 디스크, 'f0' 익스텐트를 1번 디스크, 'g0' 익스텐트를 0번 디스크 및 'h0' 익스텐트를 0번 디스크에 차례대로 할당할 수 있다. 전술한 프로세서의 원본 익스텐트 할당은 예시일뿐, 본 개시는 이에 제한되지 않는다.A processor in accordance with one embodiment of the present disclosure may allocate a data stream, segmented on an extent basis, to one or more disks included in a disk space for each extent based on the allocation sequence. More specifically, the processor can separate the data stream into extents and create the original extents. And the processor may assign each original extent to a disk corresponding to a disk number that the data stream allocation sequence 201 contains. For example, as shown in FIG. 2A, the data stream allocation sequence 201 may be configured to sequentially allocate four extent units to disk numbers 0, 1, 0, and 0, respectively. In this case, as shown in FIG. 2B, the processor stores 'a0', 'b0', 'c0', and 'd0' as the original extents 'a0' based on the disk number sequence included in the data stream allocation sequence 201, You can allocate extents to disk 0, disk 1 to disk b0, disk 0 to disk 0, and disk 1 to disk 1 in sequence. In addition, the processor may determine that the original extents (e.g., 'e0', 'f0', 'g0', 'h0') after 'd0' are in the sequence of 0, 1, 0, 0 included in the data stream allocation sequence 201 Quot; 0 " extent, the " g0 " extent, and the " h0 " extent to the 0th disk in this order. The original extent allocation of the above-mentioned processor is only an example, and the present disclosure is not limited thereto.

또한, 프로세서는 데이터스트림 할당 시퀀스(201)에 기초하여 데이터스트림이 저장될 디스크를 할당하고, 복제본 할당 시퀀스(202)에 기초하여 복제본이 저장될 디스크를 각각 할당할 수 있다. 보다 구체적으로, 프로세서는 사전 설정된 개수의 복제본을 익스텐트 단위로 분리하여 복제본 익스텐트를 생성할 수 있다. 그리고 상기 프로세서는 각각의 복제본 익스텐트를 복제본 할당 시퀀스(202)가 포함하는 디스크 넘버에 대응하는 디스크에 할당할 수 있다. 예를 들어, 도 2a에 도시되는 바와 같이, 복제본 할당 시퀀스(202)는 4개의 익스텐트 단위를 디스크 넘버 1, 0, 1, 1에 차례대로 할당하도록 구성될 수 있다. 이러한 경우, 도 2b에 도시된 바와 같이 프로세서는 복제본 익스텐트 'a1', 'b1', 'c1', 'd1' 를 각각 복제본 할당 시퀀스(202)가 포함하는 디스크 넘버에 기초하여 'a1' 익스텐트를 1번 디스크, 'b1' 익스텐트를 0번 디스크, 'c1' 익스텐트를 1번 디스크 및 'd1' 익스텐트를 0번 디스크에 할당할 수 있다. 또한, 프로세서는 'd1' 이후의 복제본 익스텐트(예컨대, 'e1', 'f1', 'g1', 'h1')는 다시 복제본 할당 시퀀스(202)가 포함하는 1, 0, 1, 1의 디스크 넘버에 기초하여 'e1' 익스텐트를 1번 디스크, 'f1' 익스텐트를 0번 디스크, 'g1' 익스텐트를 1번 디스크 및 'h1' 익스텐트를 1번 디스크에 차례대로 할당할 수 있다. 전술한 프로세서의 복제본 익스텐트 할당은 예시일뿐, 본 개시는 이에 제한되지 않는다.In addition, the processor may allocate a disk to which a data stream is to be stored based on the data stream allocation sequence 201, and allocate each disk to which a replica is to be stored based on the replica allocation sequence 202, respectively. More specifically, the processor may create a replica extent by dividing a predetermined number of replicas on an extent basis. And the processor may assign each replica extent to a disk corresponding to the disk number that the replica allocation sequence 202 comprises. For example, as shown in FIG. 2A, the replica allocation sequence 202 may be configured to sequentially allocate four extent units to disk numbers 1, 0, 1, and 1. In this case, as shown in FIG. 2B, the processor updates the 'a1' extents 'a1', 'b1', 'c1', and 'd1' based on the disk number included in the replica allocation sequence 202 You can allocate disk 1, disk 'b1' to disk 0, disk 'c1' to disk 1, and disk 'd1' to disk 0. In addition, the processor may determine that the replica extents (e.g., 'e1', 'f1', 'g1', 'h1') after 'd1' Based on the number, you can allocate the 'e1' extent to disk 1, the 'f1' extent to disk 0, the 'g1' extent to disk 1, and the 'h1' extent to disk 1 in sequence. The replica extent allocation of the above-mentioned processor is only an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 프로세서는 디스크스페이스에서 동시에 손상될 수 있는 페일 그룹(fail group)을 설정할 수 있다. 여기서 페일 그룹은 물리적, 또는 전기적으로 인접하여 사고가 발생하면 동시에 손상될 수 있는 저장 단위를 포함할 수 있다. 그리고 페일 그룹은 하나의 디스크를 단위로 구성되거나, 하나 이상의 디스크를 포함하는 서버 단위로 구성될 수 있다. 예를 들어, 제 1 페일 그룹은 하나의 데이터베이스 서버(120)가 포함하는 HDD 및 SSD를 포함할 수 있다. 또한, 제 2 페일 그룹은 클라우드 서버와 연결되는 하나의 디스크를 포함할 수 있다. 전술한 페일 그룹은 예시일뿐, 본 개시는 이에 제한될 수 있다. 페일 그룹에 대한 자세한 실시예는 도 5를 참조하여 후술한다.A processor in accordance with one embodiment of the present disclosure may establish a fail group that can be corrupted simultaneously in disk space. Here, the fail group may include storage units that are physically or electrically adjacent to each other and can be damaged at the same time when an accident occurs. The fail group may consist of one disk unit or a server unit including one or more disks. For example, the first fail group may include an HDD and an SSD included in one database server 120. [ In addition, the second fail group may include one disk connected to the cloud server. The above-described fail group is only an example, and the present disclosure can be limited to this. A detailed embodiment of the fail group will be described below with reference to FIG.

본 개시의 일 실시예에 따른 프로세서는 제 1 원본 익스텐트를 제 1 페일 그룹에 할당되도록 하는 경우, 제 1 복제본 익스텐트는 상기 제 1 페일 그룹를 제외한 다른 페일 그룹에 할당되도록 구성되는 제 1 기준에 기초하여 할당 시퀀스를 생성할 수 있다. 제 1 기준은 가용성을 위하여 원본 데이터 스트림의 익스텐트에 대응되는 복제본의 익스텐트가 동일한 페일 그룹에 할당되지 않도록 하는 기준이다. 여기서 제 1 원본 익스텐트는 프로세서에 의해 익스텐트 단위로 분리된 데이터스트림의 익스텐트를 의미할 수 있다. 그리고, 제 1 복제본 익스텐트는 프로세서에 의해 익스텐트 단위로 분리된 복제본 중 제 1 원본 익스텐트와 대응되는 익스텐트를 의미할 수 있다. 이에 따라서, 프로세서가 데이터스트림 및 복제본을 익스텐트 단위로 분리하여 각각의 디스크에 저장하는 경우, 데이터스트림 상의 동일한 부분을 서로 다른 페일 그룹에 배치할 수 있다. 그 결과 하나의 페일 그룹이 손상으로 인하여 데이터가 유실되는 경우, 동일한 데이터를 다른 페일 그룹에서 찾을 수 있어 가용성을 높일 수 있다. A processor according to an embodiment of the present disclosure may be configured to assign a first original extent to a first fail group based on a first criterion configured such that a first replica extent is allocated to another fail group except for the first fail group An assignment sequence can be generated. The first criterion is that the extents of replicas corresponding to the extents of the original data stream for availability are not allocated to the same fail group. Where the first original extent may refer to an extent of a data stream separated by extents on a processor basis. The first replica extent may mean an extent corresponding to a first original extent of the replicas separated in units of extents by the processor. Accordingly, when a processor separates data streams and replicas on a per-extent basis and stores them on each disk, the same portion of the data stream can be placed in different fail groups. As a result, if data is lost due to corruption of one fail group, the same data can be found in different fail groups, thereby increasing availability.

보다 구체적으로, 프로세서는 데이터스트림 할당 시퀀스(201)의 각 익스텐트가 할당될 디스크 정보가 복제본 할당 시퀀스(202)의 각 익스텐트가 할당될 디스크 정보와 서로 다른 디스크에 해당하는 디스크 넘버를 각각 포함하도록, 상기 데이터스트림 할당 시퀀스(201) 및 복제본 할당 시퀀스(202)를 구성할 수 있다. 예를 들어, 도 2b에 도시된 바와 같이 프로세서는 데이터스트림 할당 시퀀스(201)의 첫번째 익스텐트가 0번 디스크(210)에 할당되는 경우, 복제본 할당 시퀀스(202)의 첫번째 익스텐트가 0번 디스크와 상이한 페일 그룹에 속할 수 있는 1번 디스크(220)에 할당되도록 데이터 스트림 할당 시퀸스와 복제본 할당 시퀸스를 구성할 수 있다. 그리고, 데이터베이스 서버(120)가 수신하는 데이터스트림의 제 1 원본 익스텐트가 'a0'일 수 있다. 이러한 경우, 프로세서는 제 1 원본 익스텐트를 복제한 제 1 복제본 익스텐트 'a1'을 생성할 수 있다. 그리고, 프로세서는 데이터스트림 할당 시퀀스(201)가 포함하는 첫번째 디스크 넘버 '0'에 기초하여 제 1 원본 익스텐트를 0번 디스크(210)에 할당할 수 있다. 또한, 상기 프로세서는 복제본 할당 시퀀스(202)가 포함하는 첫번째 디스크 넘버 '1'에 기초하여 제 1 복제본 익스텐트를 1번 디스크(220)에 할당할 수 있다. 전술한 방식으로 프로세서는 데이터스트림 할당 시퀀스(201)가 포함하는 디스크 넘버에 기초하여, 이후에 데이터스트림으로부터 생성된 원본 익스텐트 'b0'를 1번 디스크(220)에, 'c0'를 0번 디스크(210)에, 그리고'd0'를 0번 디스크(210)에 차례대로 할당할 수 있다. 그리고, 프로세서는 복제본 할당 시퀀스(202)가 포함하는 디스크 넘버에 기초하여, 복제본으로부터 생성된 복제본 익스텐트 'b1'를 0번 디스크(210)에, 'c1'를 1번 디스크(220)에, 그리고'd1'을 1번 디스크(220)에 차례대로 할당할 수 있다. 이에 따라, 0번 디스크(210)와 1번 디스크(220) 중 하나에 손상이 발생하는 경우에도 다른 하나의 디스크에 'a', 'b', 'c', 'd'의 데이터를 모두 유지할 수 있어 가용성이 높아질 수 있다. 전술한 프로세서의 할당에 대한 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.More specifically, the processor may be configured such that the disk information to which each extent of the data stream allocation sequence 201 is to be allocated includes a disk number corresponding to a disk different from the disk information to which each extent of the replica allocation sequence 202 is to be allocated, The data stream allocation sequence 201 and the replica allocation sequence 202 may be configured. For example, as shown in FIG. 2B, when the first extent of the data stream allocation sequence 201 is assigned to the 0th disk 210, the processor determines that the first extent of the replica allocation sequence 202 is different from the 0th disk A data stream allocation sequence and a replica allocation sequence may be configured to be allocated to the first disk 220 that can belong to the fail group. The first original extent of the data stream received by the database server 120 may be 'a0'. In this case, the processor may create a first replica extent 'a1' that replicates the first original extent. The processor may then allocate the first original extent to disk 0 on the basis of the first disk number '0' included in the data stream allocation sequence 201. The processor may also allocate a first copy extent to disk # 1 based on the first disk number '1' that the replica allocation sequence 202 includes. In the above-described manner, based on the disk number included in the data stream allocation sequence 201, the processor writes the original extent 'b0' generated from the data stream thereafter to the disk # 1, 'c0' Quot ;, and " d0 " to the 0 < th > The processor then copies replica extent 'b1' generated from the replica to disk 0, disk 'c1' to disk 1, disk 220, and so on, based on the disk number included in replica allocation sequence 202 quot; d1 " may be sequentially assigned to the disk # 1. Accordingly, even if one of the 0-th disk 210 and the 1-th disk 220 is damaged, data of 'a', 'b', 'c', and 'd' And the availability can be increased. The detailed description of the above-mentioned assignment of the processor is merely an example, and the present disclosure is not limited thereto.

이에 따라, 본 개시의 실시예에 따른 디스크 관리 방법은 데이터스트림과 복제본을 서로 다른 페일 그룹에 할당함으로써, 동시에 손상될 수 있는 데이터에 대한 가용성을 향상시킬 수 있다.Accordingly, the disk management method according to the embodiment of the present disclosure can improve the availability of data that can be damaged at the same time by assigning the data stream and the replica to different fail groups.

도 3은 본 개시의 일 실시예에 따른 제 2 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.3 is an illustration of an allocation sequence based on a second criterion according to one embodiment of the present disclosure and an extent allocation based on the allocation sequence.

본 개시의 일 실시예에 따른 프로세서는 디스크스페이스에 포함된 디스크의 개수 및 각각의 디스크의 용량에 기초하여 할당 시퀀스(301)를 생성하는 제 2 기준에 기초하여 할당 시퀀스(301)를 생성할 수 있다. 보다 구체적으로, 프로세서는 디스크스페이스가 포함하는 디스크의 개수 및 각각의 디스크 용량에 대한 디스크 리스트를 생성할 수 있다. 그리고, 프로세서는 상기 디스크 리스트에 포함된 디스크들 각각의 용량들의 최대공약수를 산출하고, 디스크들 각각의 용량을 최대공약수로 나눠 가중치를 산출할 수 있다. 그리고, 프로세서는 각각의 디스크 마다 산출된 하나 이상의 가중치의 합산 값에 기초하여 할당 시퀀스가 포함하는 디스크 넘버의 개수를 설정할 수 있다. 또한, 프로세서는 각각의 디스크에 대한 가중치에 기초하여, 가중치에 대응하는 횟수의 디스크 넘버가 포함되도록 할당 시퀀스(301)를 생성할 수 있다.A processor in accordance with one embodiment of the present disclosure may generate an allocation sequence 301 based on a second criterion that generates an allocation sequence 301 based on the number of disks included in the disk space and the capacity of each disk have. More specifically, the processor may generate a list of disks for each disk capacity and the number of disks that disk space contains. The processor calculates the greatest common divisor of the capacities of the disks included in the disk list, and calculates the weight by dividing the capacity of each of the disks by the greatest common divisor. The processor may set the number of disk numbers included in the allocation sequence based on the sum of one or more weights calculated for each disk. In addition, the processor may generate an allocation sequence 301 such that the number of disk numbers corresponding to the weight is included, based on the weight for each disk.

예를 들어, 도 3에 도시된 바와 같이 디스크스페이스는 30GB의 0번 디스크(310)와 10GB의 1번 디스크(320)를 포함할 수 있다. 이러한 경우, 프로세서는 30과 10의 최대공약수 10을 산출하고, 각각의 디스크 용량 30 및 10을 최대공약수 10으로 나눌 수 있다. 그에 따라, 프로세서는 0번 디스크(310)의 가중치에 해당하는 3과 1번 디스크(320)의 가중치에 해당하는 1을 각각 산출하고, 합산하여 4의 가중치 합산값을 도출할 수 있다. 또한, 프로세서는 4의 가중치 합산값에 기초하여 4개의 디스크 넘버를 포함하는 할당 시퀀스(301)를 생성할 수 있다. 또한, 프로세서는 0번 디스크(310)에 해당하는 가중치 3에 기초하여 0번 디스크 넘버가 3개 포함되도록 할당 시퀀스(301)를 구성할 수 있다. 그리고, 상기 할당 시퀀스(301)는 1번 디스크(320)에 해당하는 가중치 1에 기초한 1개의 1번 디스크 넘버를 포함할 수 있다. 따라서, 하나의 할당 시퀸스에서 0번 디스크(310)에는 3개의 익스텐트가 할당되고, 1 번 디스크(320)에는 1개의 익스텐트가 할당되어, 디스크 사이의 용량 차이에도 불구하고 균형있게 익스텐트가 할당될 수 있다. 전술한 디스크의 용량 및 개수의 수치 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다. For example, as shown in FIG. 3, the disk space may include a 0-th disk 310 of 30 GB and a # 1 disk 320 of 10 GB. In this case, the processor can calculate the greatest common divisor 10 of 30 and 10, and divide each of the disk capacities 30 and 10 by the greatest common divisor of ten. Accordingly, the processor can calculate and sum up the weights of 3 and 1, corresponding to the weights of the 0th disc 310, and derive the weighted sum of 4, respectively. In addition, the processor may generate an allocation sequence 301 that includes four disk numbers based on the weighted sum of four values. In addition, the processor may configure the allocation sequence 301 such that three disk numbers 0 are included on the basis of the weight 3 corresponding to the disk # 0. The allocation sequence 301 may include one disc # 1 based on the weight 1 corresponding to the disc # 1. Accordingly, in one allocation sequence, three extents are allocated to the 0th disk 310, one extent is allocated to the first disk 320, and the extents are allocated in a balanced manner despite the difference in capacity between disks have. The description of the numerical values of the capacity and the number of the above-mentioned discs is only an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 프로세서는 디스크스페이스에 새로운 디스크가 추가되거나, 하나 이상의 디스크가 제거되는 경우, 할당 시퀀스(301)를 재생성 할 수 있다. A processor in accordance with one embodiment of the present disclosure may recreate the allocation sequence 301 if a new disk is added to the disk space or one or more disks are removed.

보다 구체적으로, 프로세서는 디스크스페이스에 새로운 디스크가 추가되는 경우, 새로운 디스크의 용량과 하나 이상의 디스크들의 잔여 용량 각각에 대한 디스크 리스트를 갱신, 또는 재생성 할 수 있다. 그리고, 프로세서는 새로운 디스크의 용량 및 하나 이상의 디스크들의 잔여 용량의 최대공약수를 산출하고, 산출된 최대공약수로 각각의 디스크들의 용량을 나눠 각 디스크에 해당하는 가중치를 산출할 수 있다. 여기서 하나 이상의 디스크들의 용량은 새로운 디스크가 추가되는 시점에서의 각 디스크의 가용 용량일 수 있다. 그리고, 프로세서는 각각의 디스크 마다 산출된 하나 이상의 가중치를 합산값에 기초하여 할당 시퀀스가 포함하는 디스크 넘버의 개수를 재설정할 수 있다. 또한, 프로세서는 각각의 디스크에 대한 가중치에 기초하여, 가중치에 대응하는 횟수의 디스크 넘버가 포함되도록 할당 시퀀스(301)를 재생성 할 수 있다.More specifically, when a new disk is added to the disk space, the processor can update or regenerate the disk list for each of the capacity of the new disk and the remaining capacity of one or more disks. The processor may calculate a new common capacity and a greatest common factor of the remaining capacity of one or more disks, and calculate a weight corresponding to each disk by dividing the capacity of each of the disks by the calculated greatest common factor. Where the capacity of one or more disks may be the available capacity of each disk at the time a new disk is added. Then, the processor can reset the number of disk numbers included in the allocation sequence based on the sum value of one or more weights calculated for each disk. In addition, the processor can regenerate the allocation sequence 301 so that the number of disk numbers corresponding to the weight is included, based on the weight for each disk.

예를 들어, 디스크스페이스는 30GB의 잔여 용량을 가진 0번 디스크, 10GB의 잔여 용량을 가진 1번 디스크를 포함할 수 있다. 그리고, 디스크스페이스 상에 10GB의 용량을 가진 2번 디스크가 추가될 수 있다. 이러한 경우, 프로세서는 30, 10, 그리고 10의 최대공약수 10을 산출하고, 각각의 디스크 용량 30, 10, 10을 최대공약수 10으로 나눌 수 있다. 그에 따라, 프로세서는 0번 디스크의 가중치에 해당하는 3, 1번 디스크의 가중치에 해당하는 1과 2번 디스크의 가중치에 해당하는 1을 각각 산출하고, 합산하여 5의 가중치 합산값을 도출할 수 있다. 이에 따라, 프로세서는 5의 가중치 합산값에 기초하여 5개의 디스크 넘버를 포함하는 할당 시퀀스를 생성할 수 있다. 또한, 프로세서는 각각의 0번 디스크에 해당하는 가중치 3, 1, 1에 기초하여 3개의 0번 디스크 넘버, 1개의 1번 디스크 넘버 및 1개의 2번 디스크 넘버를 포함하는 할당 시퀀스를 새로 생성할 수 있다. 전술한 디스크의 용량 및 개수의 수치 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.For example, the disk space may include disk 0 having a remaining capacity of 30 GB and disk 1 having a remaining capacity of 10 GB. Then, a second disk having a capacity of 10 GB may be added on the disk space. In this case, the processor can calculate the greatest common divisor of 10, 30, 10, and 10, and divide each of the disk capacities 30, 10, and 10 by the greatest common divisor of 10. Accordingly, the processor can calculate the weighted summation value of 5 by calculating and summing the weights of the discs 1 and 2 corresponding to the weights of the discs # 3 and # 1 corresponding to the weights of the disc # 0, have. Thus, the processor can generate an allocation sequence that includes five disk numbers based on a weighted sum value of five. In addition, the processor newly generates an allocation sequence including three 0-th disk number, 1-th disk number and 1-th disk number based on the weights 3, 1, and 1 corresponding to each 0-th disk . The description of the numerical values of the capacity and the number of the above-mentioned discs is only an example, and the present disclosure is not limited thereto.

또한, 프로세서는 디스크스페이스에서 하나 이상의 디스크가 제거되는 경우, 디스크스페이스에 남은 잔여 디스크들의 잔여 용량에 대한 디스크 리스트를 갱신, 또는 재생성 할 수 있다. 그리고, 프로세서는 잔여 디스크들의 용량의 최대공약수를 산출하고, 산출된 최대공약수로 각각의 잔여 디스크들의 잔여 용량을 나눠 각 디스크에 해당하는 가중치를 산출할 수 있다. 그리고, 프로세서는 각각의 디스크 마다 산출된 하나 이상의 가중치를 합산값에 기초하여 할당 시퀀스가 포함하는 디스크 넘버의 개수를 재설정할 수 있다. 또한, 프로세서는 각각의 잔여 디스크에 대한 가중치에 기초하여, 가중치에 대응하는 횟수의 디스크 넘버가 포함되도록 할당 시퀀스(301)를 재생성 할 수 있다.The processor may also update or regenerate the disk list for the remaining capacity of the remaining disks remaining in the disk space if one or more disks are removed from the disk space. The processor calculates the greatest common divisor of the remaining disks and calculates the weight corresponding to each disk by dividing the remaining capacity of each of the remaining disks by the calculated greatest common divisor. Then, the processor can reset the number of disk numbers included in the allocation sequence based on the sum value of one or more weights calculated for each disk. In addition, the processor can regenerate the allocation sequence 301 so that the number of disk numbers corresponding to the weights is included, based on the weights for each remaining disc.

이에 따라, 본 개시의 실시예에 따른 디스크 관리 방법은 각 디스크의 개수 및 크기에 기초한 할당 시퀀스의 구성을 통해 디스크 공간을 적절히 나눠 사용할 수 있다. 또한, 디스크스페이스가 포함하는 디스크들의 변동이 생기는 경우에도, 프로세서가 최선의 할당 시퀀스를 재생성하여 변동된 디스크 용량들에 대한 효율성을 향상시킬 수 있다.Accordingly, the disk management method according to the embodiment of the present disclosure can appropriately use the disk space by allocating the allocation sequence based on the number and size of each disk. In addition, even when the disks included in the disk space are changed, the processor can regenerate the best allocation sequence to improve the efficiency with respect to the changed disk capacities.

도 4는 본 개시의 일 실시예에 따른 제 2 기준 및 제 3 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.4 is an illustration of an allocation sequence based on a second criterion and a third criterion according to one embodiment of the present disclosure and an extent allocation based on the allocation sequence.

본 개시의 일 실시예에 따른 프로세서는 디스크스페이스가 포함하는 하나의 디스크에 익스텐트가 연속적으로 할당되지 않도록 하는 제 3 기준에 기초하여 할당 시퀀스(401)를 생성할 수 있다. 보다 구체적으로, 프로세서는 디스크스페이스가 두 개 이상의 디스크를 포함하는 경우, 연속되는 원본 익스텐트, 또는 연속되는 복제본 익스텐트가 서로 다른 디스크에 할당되도록 구성된 할당 시퀀스(401)를 생성할 수 있다. 예를 들어, 도 4에 도시되는 바와 같이, 디스크스페이스는 0번 디스크(410), 1번 디스크(420) 및 2번 디스크(430)를 포함할 수 있다. 이러한 경우, 프로세서는 연속되는 익스텐트가 동일한 디스크에 연속적으로 할당되지 않도록, 각각의 익스텐트를 0번 디스크, 1번 디스크, 0번 디스크, 2번 디스크에 할당되도록 하는 4개의 익스텐트 주기를 갖는 할당 시퀸스(401)를 생성할 수 있다. 그리고, 프로세서는 데이터스트림을 익스텐트 단위로 분리하여 원본 익스텐트 '0', '1', '2', '3'을 생성할 수 있다. 또한, 프로세서는 상기 원본 익스텐트 '0'을 0번 디스크(410), '1'을 1번 디스크(420), '2'를 0번 디스크(410), 그리고 '3'을 2번 디스크(430)로 각각 할당할 수 있다. 또한, 프로세서는 연속되는 원본 익스텐트 '4', '5', '6', '7'도 동일한 방식으로, '4'을 0번 디스크(410), '5'을 1번 디스크(420), '6'를 0번 디스크(410), 그리고 '7'을 2번 디스크(430)로 각각 할당할 수 있다. 이에 따라, 프로세서는 연속되는 데이터스트림의 익스텐트를 각각의 디스크가 불연속적으로 저장할 수 있도록 할당할 수 있다. 그리고 이에 따라, 프로세서는 하나의 디스크 상에서 익스텐트를 입출력 할 때 발생할 수 있는 지연시간을 획기적으로 줄임으로써, 데이터스트림 및 복제본에 대한 전체적인 입출력 속도를 향상시킬 수 있다.A processor in accordance with one embodiment of the present disclosure may generate an allocation sequence 401 based on a third criterion that ensures that extents are not consecutively allocated to one disk that disk space contains. More specifically, the processor may generate an allocation sequence 401 configured to allocate contiguous original extents, or contiguous replica extents, to different disks if the disk space contains more than one disk. For example, as shown in FIG. 4, the disk space may include zero disk 410, first disk 420, and second disk 430. In such a case, the processor may allocate an allocation sequence having four extents periods to allow each extent to be allocated to disk 0, disk 1, disk 0, disk 2 so that consecutive extents are not allocated consecutively to the same disk 401). Then, the processor can generate the original extents '0', '1', '2', and '3' by separating the data stream into extents. In addition, the processor stores the original extent '0' as the 0th disk 410, '1' as the first disk 420, '2' as the 0th disk 410 and '3' ), Respectively. In addition, the processor may be configured to perform the same operations on the contiguous original extents '4', '5', '6', and '7' in the same manner, '4' '6' may be assigned to 0 disk 410 and '7' to 2 disk 430, respectively. Thus, the processor can allocate extents of the contiguous data stream so that each disk can store discontinuously. Accordingly, the processor can drastically reduce the delay time that occurs when inputting and outputting extents on one disk, thereby improving the overall input / output speed of the data stream and the replica.

또한, 본 개시의 일 실시예에 따른 프로세서는 제 2 기준 및 제 3 기준에 동시에 기초하여, 할당 시퀀스(401)를 생성할 수 있다. 보다 구체적으로, 프로세서는 디스크스페이스에 포함된 디스크의 개수 및 각각의 디스크의 용량에 기초하여 할당 시퀀스(401)를 생성하는 제 2 기준에 기초하여 할당 시퀀스(401)를 생성할 수 있다. 또한, 동시에 프로세서는 디스크스페이스가 포함하는 하나의 디스크에 익스텐트가 연속적으로 할당되지 않도록 하는 제 3 기준에 기초하여 할당 시퀀스(401)를 생성할 수 있다. In addition, a processor according to one embodiment of the present disclosure may generate an assignment sequence 401 based on a second criterion and a third criterion simultaneously. More specifically, the processor may generate an allocation sequence 401 based on a second criterion for generating an allocation sequence 401 based on the number of disks contained in the disk space and the capacity of each disk. Also, at the same time, the processor may generate an allocation sequence 401 based on a third criterion that ensures that extents are not continuously allocated to a single disk that the disk space contains.

예를 들어, 도 4에 도시된 바와 같이, 디스크스페이스는 20GB의 0번 디스크(410), 10GB의 1번 디스크(420)와 10GB의 2번 디스크(430)를 포함할 수 있다. 이러한 경우, 프로세서는 20과 10의 최대공약수 10을 산출하고, 각각의 디스크 용량 20 및 10을 최대공약수 10으로 나눌 수 있다. 그에 따라, 프로세서는 0번 디스크(410)의 가중치에 해당하는 2, 1번 디스크(420)의 가중치에 해당하는 1과 2번 디스크(430)의 가중치에 해당하는 1을 각각 산출하고, 합산하여 4의 가중치 합산값을 도출할 수 있다. 그리고, 프로세서는 4의 가중치 합산값에 기초하여 4개의 디스크 넘버를 포함하는 할당 시퀀스(401)를 생성할 수 있다. 그리고, 프로세서는 각각의 디스크에 해당하는 가중치에 기초하여 2개의 0번 디스크 넘버, 1개의 1번 디스크 넘버, 그리고 1개의 2번 디스크 넘버를 포함하도록 할당 시퀀스(401)를 구성할 수 있다. 또한, 프로세서는 디스크스페이스가 2개 이상의 디스크를 포함하는 것에 기초하여, 연속되는 익스텐트를 서로 다른 디스크에 할당하도록 0, 1, 0, 2의 순서로 할당 시퀀스(401)를 구성할 수 있다. 이에 따라, 프로세서는 제 2 기준과 제 3 기준을 동시에 만족하는 할당 시퀀스(401)를 생성할 수 있다. 전술한 디스크의 용량 및 개수의 수치 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다. For example, as shown in FIG. 4, the disk space may include 0 disk 0 of 20 GB, disk 1 of 1 GB 420, and disk 2 of 10 GB. In this case, the processor can calculate the greatest common divisor of 10 and 20, and divide each of the disk capacities 20 and 10 by the greatest common divisor of 10. Accordingly, the processor calculates 1, which is a weight of the disk 430 corresponding to the weight of the disk 420 corresponding to the weight of the disk 420, corresponding to the weight of the disk 420 of 0, 4 can be derived. The processor may then generate an allocation sequence 401 that includes four disk numbers based on the weighted sum of four values. Then, the processor may configure the allocation sequence 401 to include two zero disk numbers, one first disk number, and one second disk number based on the weight corresponding to each disk. In addition, the processor may configure the allocation sequence 401 in the order of 0, 1, 0, 2 so that consecutive extents are allocated to different disks, based on the disk space containing two or more disks. Accordingly, the processor can generate an allocation sequence 401 that simultaneously satisfies the second criterion and the third criterion. The description of the numerical values of the capacity and the number of the above-mentioned discs is only an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 프로세서는 제 2 기준을 제 3 기준보다 우선적으로 적용하여 할당 시퀀스를 생성할 수 있다. 보다 구체적으로, 프로세서는 디스크스페이스가 2개 이상의 디스크를 포함하고, 각각의 디스크 용량에 기초하여 생성된 가중치의 값을 산출할 수 있다. 하지만, 각각의 가중치에 대응하는 디스크 넘버를 포함하도록 구성되는 할당 시퀀스가 연속되는 익스텐트를 서로 다른 디스크에 할당하지 못할 수 있다. 이러한 경우, 프로세서는 연속되는 익스텐트를 서로 다른 디스크에 할당하지 못함에도, 각각의 가중치에 대응하는 디스크 넘버를 포함하도록 구성되는 할당 시퀀스를 생성할 수 있다.A processor in accordance with one embodiment of the present disclosure may apply a second criterion prior to a third criterion to generate an assignment sequence. More specifically, the processor can calculate the value of the weight generated based on each disk capacity, and the disk space includes two or more disks. However, an allocation sequence configured to include a disk number corresponding to each weight may not allocate contiguous extents to different disks. In such a case, the processor may generate an allocation sequence that is configured to include a disk number corresponding to each weight, although the processor can not allocate a contiguous extent to a different disk.

예를 들어, 도 3에 도시된 바와 같이, 디스크스페이스가 30GB의 0번 디스크(310)와 10GB의 1번 디스크(320)를 포함할 수 있다. 이러한 경우, 프로세서는 제 2 기준에 기초하여 3개의 0번 디스크 넘버와 1개의 1번 디스크 넘버를 포함하는 할당 시퀀스(301)를 생성할 수 있다. 하지만, 3개의 0번 디스크 넘버와 1개의 1번 디스크 넘버를 포함하는 할당 시퀀스는 연속되는 익스텐트를 서로 다른 디스크에 할당하지 못할 수 있다. 하지만, 프로세서는 제 3 기준을 적용하지 않고, 제 2 기준에 기초하여 3개의 0번 디스크 넘버와 1개의 1번 디스크 넘버를 포함하는 할당 시퀀스(301)를 생성할 수 있다. 전술한 디스크의 용량 및 할당 시퀀스의 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.For example, as shown in FIG. 3, a disk space may include a 0-th disk 310 of 30 GB and a 1-disk 320 of 10 GB. In this case, the processor may generate an allocation sequence 301 that includes three zero disk numbers and one first disk number based on the second criterion. However, an allocation sequence including three zero disk numbers and one first disk number may not allocate contiguous extents to different disks. However, the processor may generate an allocation sequence 301 that includes three zero disk numbers and one first disk number based on the second criterion, without applying the third criterion. The description of the capacity and allocation sequence of the above-mentioned disk is only an example, and the present disclosure is not limited thereto.

이에 따라, 본 개시의 실시예에 따른 디스크 관리 방법은 각 디스크의 개수 및 크기에 기초한 할당 시퀀스의 구성을 통해 디스크 공간을 적절히 나눠 사용할 수 있다. 그리고, 하나의 디스크에 대한 입출력이 지연되는 경우에도 전체적인 입출력 속도 저하를 억제할 수 있다.Accordingly, the disk management method according to the embodiment of the present disclosure can appropriately use the disk space by allocating the allocation sequence based on the number and size of each disk. Also, even when the input / output to one disk is delayed, the overall input / output speed reduction can be suppressed.

또한, 할당 시퀀스에 대한 각 기준들 간의 우선순위를 명확히함으로써, 각 기준들 간의 충돌이 일어나는 경우에도 프로세서가 가용성 향상을 최우선적으로 보장하고, 상황에 따라 디스크 공간의 효율적 사용 및 입출력 속도 저하 방지 효과를 제공할 수 있도록 할당 시퀀스를 생성할 수 있다.In addition, by clarifying the priority among the respective criteria for the allocation sequence, the processor can guarantee the availability in the highest priority even when a collision occurs between the respective references, and can efficiently use the disk space and prevent the input / Lt; RTI ID = 0.0 > a < / RTI >

도 5는 본 개시의 일 실시예에 따른 제 1 기준, 제 2 기준 및 제 3 기준에 기초한 할당 시퀀스와, 상기 할당 시퀀스에 기초한 익스텐트 할당의 예시도이다.5 is an illustration of an allocation sequence based on a first, second, and third criteria and an extent allocation based on the allocation sequence in accordance with an embodiment of the present disclosure;

본 개시의 일 실시예에 따른 프로세서는 제 1 기준, 제 2 기준 및 제 3 기준 중 적어도 하나에 기초하여 할당 시퀀스를 생성할 수 있다. 여기서 제 1 기준, 제 2 기준 및 제 3 기준에 대한 자세한 설명은 도 2a, 도 2b, 도 3 및 도 4를 참조하여 전술하였다. A processor in accordance with one embodiment of the present disclosure may generate an assignment sequence based on at least one of a first reference, a second reference, and a third reference. A detailed description of the first reference, the second reference, and the third reference has been given above with reference to FIGS. 2A, 2B, 3, and 4. FIG.

예를 들어, 도 5에 도시된 바와 같이, 디스크스페이스는 각각 10GB의 용량으로 구성된 0번 디스크(511), 1번 디스크(512), 2번 디스크(521), 3번 디스크(522), 4번 디스크(531) 및 5번 디스크(532)를 포함할 수 있다. 그리고, 0번 디스크(511)와 1번 디스크(512), 2번 디스크(521)와 3번 디스크(522), 그리고 4번 디스크(531)와 5번 디스크(532)는 동시에 손상될 가능성을 포함할 수 있다. 이러한 경우, 프로세서는 0번 디스크(511)와 1번 디스크(512)를 페일 그룹 A(510), 2번 디스크(521)와 3번 디스크(522)를 페일 그룹 B(520), 그리고 4번 디스크(531)와 5번 디스크(532)를 페일 그룹 C(530)로 설정할 수 있다. 그리고, 프로세서는 제 1 기준에 따라 데이터스트림으로부터 생성되는 제 1 원본 익스텐트 'a0'를 페일 그룹 A(510)에 할당되도록 하는 경우, 1번 복제본으로부터 생성되고 상기 제 1 원본 익스텐트 'a0'와 대응되는 제 1 복제본 익스텐트 'a1'는 페일 그룹 A(510)를 제외한 다른 페일 그룹 B(520), 또는 페일 그룹 C(530)에 할당되도록 데이터스트림 할당 시퀀스(501) 및 제 1 복제본 할당 시퀀스(502)를 생성할 수 있다. 또한, 2번 복제본으로부터 생성되고 상기 제 1 원본 익스텐트 'a0'와 대응되는 제 1 복제본 익스텐트 'a2'는 상기 'a0'이 할당된 페일 그룹 A(510) 및 'a1'이 할당된 페일 그룹 B(520)을 제외한 페일 그룹 C(530)에 할당되도록 하는 제 2 복제본 할당 시퀀스(503)를 생성할 수 있다. For example, as shown in FIG. 5, the disk space is divided into 0 disk 511, 1 disk 512, 2 disk 521, 3 disk 522, 4 And the fifth disk 531 and the fifth disk 532, respectively. The possibility that the 0th disk 511 and the 1st disk 512, the 2nd disk 521 and the 3rd disk 522 and the 4th disk 531 and the 5th disk 532 are damaged simultaneously . In this case, the processor stores the 0th disk 511 and the 1st disk 512 as the fail group A 510, the 2nd disk 521 and the 3rd disk 522 as the fail group B 520, The disk 531 and the fifth disk 532 can be set as the fail group C 530. [ When a first original extent 'a0' generated from a data stream is allocated to the fail group A 510 according to a first criterion, the processor generates a first original extent 'a0' corresponding to the first original extent 'a0' A first replica extent 'a1' is allocated to the fail group B 520 or the fail group C 530 except the fail group A 510. The first replica extent 'a1' Can be generated. In addition, the first replica extent 'a2' generated from the duplicate and corresponding to the first original extent 'a0' corresponds to the fail group A 510 to which 'a0' is allocated and the fail group B To a fail group C (530) other than the first failover group (520).

또한, 프로세서는 각 디스크 용량들의 최대공약수 10을 산출하고, 각각의 디스크 용량을 최대공약수 10으로 나눌 수 있다. 그에 따라, 프로세서는 각각의 디스크에 대한 가중치 1을 각각 산출하고, 합산하여 6의 가중치 합산값을 도출할 수 있다. 그리고, 프로세서는 6의 가중치 합산값에 기초하여 한 주기에 6개의 디스크 넘버를 포함하는 할당 시퀀스(501, 502, 503)를 생성할 수 있다. 프로세서는 제 2 기준에 따라 각 디스크에 해당하는 디스크 넘버가 각 주기에 1회씩만 포함되도록 구성된 데이터스트림 할당 시퀀스(501), 제 1 복제본 할당 시퀀스(502) 및 제 2 복제본 할당 시퀀스(503)를 생성할 수 있다. The processor may also calculate the greatest common divisor of each disk capacity, and divide each disk capacity by the greatest common divisor of ten. Accordingly, the processor can calculate and add up a weighted value 1 for each disk, respectively, and derive a weighted sum value of six. Then, the processor may generate an allocation sequence (501, 502, 503) that includes six disk numbers in one cycle based on the weighted sum value of six. The processor is configured to allocate a data stream allocation sequence 501, a first replica allocation sequence 502, and a second replica allocation sequence 503, each of which is configured to include a disk number corresponding to each disk only once in each cycle according to a second criterion Can be generated.

또한, 프로세서는 제 3 기준에 따라 디스크스페이스가 2개 이상의 디스크를 포함하는 것에 기초하여, 연속되는 익스텐트를 서로 다른 디스크에 할당하도록 데이터스트림 할당 시퀀스(501), 제 1 복제본 할당 시퀀스(502) 및 제 2 복제본 할당 시퀀스(503)를 생성할 수 있다. 이에 따라, 프로세서는 제 1 기준, 제 2 기준과 제 3 기준을 동시에 만족하는 데이터스트림 할당 시퀀스(501), 제 1 복제본 할당 시퀀스(502) 및 제 2 복제본 할당 시퀀스(503)를 생성할 수 있다. 전술한 디스크의 용량, 개수 및 할당 시퀀스에 대한 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.In addition, the processor may further include a data stream allocation sequence 501, a first replica allocation sequence 502, and a second replica allocation sequence 502 to allocate contiguous extents to different disks based on the disk space containing two or more disks, A second replica allocation sequence 503 may be generated. Accordingly, the processor may generate a data stream allocation sequence 501, a first replica allocation sequence 502 and a second replica allocation sequence 503 that simultaneously satisfy a first criterion, a second criterion and a third criterion . The detailed description of the capacity, number, and allocation sequence of the above-mentioned disk is only an example, and the present disclosure is not limited thereto.

또한, 본 개시의 일 실시예에 따른 프로세서는 제 1 기준을 1 순위, 제 2 기준을 2 순위, 그리고 제 3 기준을 3 순위로 하는 우선순위에 기초하여 할당 시퀀스를 생성할 수 있다. 그리고, 프로세서는 제 1 기준, 제 2 기준 및 제 3 기준을 모두 충족하는 할당 시퀀스를 생성하지 못하는 경우, 우선순위에 기초하여 할당 시퀀스를 생성할 수 있다. 보다 구체적으로, 모든 경우에서 프로세서는 제 1 기준을 적용하여 제 1 기준을 만족하도록 제 2, 및 제 3 기준을 적용하지 않을 수 있다. 또한 프로세서는 제 2 기준을 제 3 기준보다 우선 적용하여, 제 2 기준을 만족하도록 제 3 기준을 적용하지 않을 수 있다. 보다 구체적으로, 프로세서는 디스크스페이스가 2개 이상의 디스크를 포함하고, 각각의 디스크 용량에 기초하여 생성된 가중치의 값을 산출할 수 있다. 하지만, 제 1 원본 익스텐트를 제 1 페일 그룹에 할당되도록 하는 경우, 제 1 복제본 익스텐트는 상기 제 1 페일 그룹를 제외한 다른 페일 그룹에 할당하도록 구성된 할당 시퀀스가 각각의 가중치에 대응하는 디스크 넘버의 수를 포함하도록 구성되지 못하거나, 연속되는 익스텐트를 서로 다른 디스크에 할당하지 못할 수 있다. 이러한 경우, 프로세서는 각각의 가중치에 대응하는 디스크 넘버의 수를 포함하지 않고, 연속되는 익스텐트를 서로 다른 디스크에 할당하지 못함에도, 제 1 원본 익스텐트를 제 1 페일 그룹에 할당되도록 하는 경우, 제 1 복제본 익스텐트는 상기 제 1 페일 그룹를 제외한 다른 페일 그룹에 할당하도록 구성된 할당 시퀀스를 생성할 수 있다. In addition, the processor according to an embodiment of the present disclosure may generate an assignment sequence based on a priority order in which a first criterion is a first rank, a second criterion is a second rank, and a third criterion is a third rank. And, if the processor fails to generate an assignment sequence that satisfies both the first, second, and third criteria, it may generate an assignment sequence based on the priority. More specifically, in all cases, the processor may not apply the second and third criteria to satisfy the first criterion by applying the first criterion. The processor may also prefer to apply the second criterion over the third criterion and not apply the third criterion to satisfy the second criterion. More specifically, the processor can calculate the value of the weight generated based on each disk capacity, and the disk space includes two or more disks. However, when the first original extent is to be allocated to the first fail group, the first replica extent includes the number of disk numbers corresponding to each weight, the allocation sequence configured to allocate to the other fail group except for the first fail group Or it may not be possible to allocate contiguous extents to different disks. In this case, when the processor does not include the number of disk numbers corresponding to the respective weights, and the first original extents are allocated to the first fail group, even though the sequential extents can not be allocated to different disks, The replica extents may generate an allocation sequence configured to allocate to a fail group other than the first fail group.

예를 들어, 디스크스페이스는 30GB의 0번 디스크 및 10GB의 1번 디스크를 포함할 수 있다. 그리고 프로세서는 데이터스트림에 대한 1개의 복제본을 생성하도록 설정되어 있을 수 있다. 이러한 경우, 프로세서는 제 1 원본 익스텐트 'a0'를 0번 디스크에 할당되도록 하는 경우, 복제본으로부터 생성되고 상기 제 1 원본 익스텐트 'a0'와 대응되는 제 1 복제본 익스텐트 'a1'는 1번 디스크에 할당되도록 하는, 제 1 기준을 만족하는 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 생성할 수 있다. 하지만, 프로세서가 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 제 2 기준에 기초하여 3개의 0번 디스크 넘버와 1개의 1번 디스크 넘버를 포함하도록 구성하는 경우, 상기 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스는 제 1 기준을 만족할 수 없다. 하지만, 프로세서는 제 1 기준이 제 2 기준보다 우선하는 우선순위에 기초하여 제 2 기준을 적용하지 않고, 제 1 기준에 기초하여 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 생성할 수 있다. 또한, 프로세서는 제 3 기준을 더 만족시키기 위해 연속되는 원본 익스텐트 및 복제본 익스텐트를 서로 다른 디스크에 할당하도록 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 구성할 수 있다. 즉, 프로세서는 제 1 기준 및 제 3 기준을 만족하도록, 0, 1, 0, 1의 순서로 배치되고 4개의 익스텐트로 구성된 데이터스트림 할당 시퀀스를 생성할 수 있다. 즉 제 1 기준을 최우선으로 적용하되 2기준을 만족시킬 수 없는 경우에도 제 3 기준이 적용 가능한 경우, 프로세서는 제 1 기준 및 제 3 기준을 적용하여 할당 시퀸스를 생성할 수 있다. 또한, 프로세서는 1, 0, 1, 0의 순서로 배치되고 4개의 익스텐트로 구성된 복제본 할당 시퀀스를 생성할 수 있다. 전술한 디스크의 용량 및 할당 시퀀스의 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.For example, the disk space may include a 0-disk of 30 GB and a 1-disk of 10 GB. And the processor may be configured to generate one copy of the data stream. In this case, when the processor allocates the first original extent 'a0' to the 0th disk, the first replica extent 'a1' generated from the replica and corresponding to the first original extent 'a0' is assigned to the first disk , A data stream allocation sequence and a replica allocation sequence that satisfy the first criterion. However, if the processor is configured to include a data stream allocation sequence and a replica allocation sequence on the basis of a second criterion to include three zero disk numbers and one one disk number, the data stream allocation sequence and replica allocation sequence are 1 criterion can not be satisfied. However, the processor may generate a data stream allocation sequence and a replica allocation sequence based on the first criterion, without applying a second criterion based on a priority over which the first criterion precedes the second criterion. In addition, the processor may configure a data stream allocation sequence and a replica allocation sequence to allocate contiguous original extents and replica extents to different disks to further satisfy a third criterion. That is, the processor can generate a data stream allocation sequence composed of four extents arranged in the order of 0, 1, 0, 1 so as to satisfy the first criterion and the third criterion. That is, if the first criterion is applied first and the second criterion can not be satisfied but the third criterion is applicable, the processor can generate the allocation sequence by applying the first criterion and the third criterion. In addition, the processors can be arranged in order of 1, 0, 1, 0 and can generate a replica allocation sequence consisting of four extents. The description of the capacity and allocation sequence of the above-mentioned disk is only an example, and the present disclosure is not limited thereto.

이에 따라, 본 개시의 실시예에 따른 디스크 관리 방법은 데이터스트림과 복제본을 서로 다른 페일 그룹에 할당함으로써, 동시에 손상될 수 있는 데이터에 대한 가용성을 향상시킬 수 있다. 또한, 각 디스크의 개수 및 크기에 기초한 할당 시퀀스의 구성을 통해 디스크 공간을 적절히 나눠 사용할 수 있다. 그리고, 하나의 디스크에 대한 입출력이 지연되는 경우에도 전체적인 입출력 속도 저하를 억제할 수 있다.Accordingly, the disk management method according to the embodiment of the present disclosure can improve the availability of data that can be damaged at the same time by assigning the data stream and the replica to different fail groups. In addition, the disk space can be divided and used appropriately through the configuration of the allocation sequence based on the number and size of each disk. Also, even when the input / output to one disk is delayed, the overall input / output speed reduction can be suppressed.

또한, 할당 시퀀스에 대한 각 기준들 간의 우선순위를 명확히함으로써, 각 기준들 간의 충돌이 일어나는 경우에도 프로세서가 가용성 향상을 최우선적으로 보장하고, 상황에 따라 디스크 공간의 효율적 사용 및 입출력 속도 저하 방지 효과를 제공할 수 있도록 할당 시퀀스를 생성할 수 있다. In addition, by clarifying the priority among the respective criteria for the allocation sequence, the processor can guarantee the availability in the highest priority even when a collision occurs between the respective references, and can efficiently use the disk space and prevent the input / Lt; RTI ID = 0.0 > a < / RTI >

도 6은 본 개시의 일 실시예에 따른 디스크 관리 방법의 순서도(Flow chart)이다.6 is a flow chart of a disk management method according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따른 디스크 관리 방법은 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계(601)를 포함할 수 있다.A method of managing a disk according to an embodiment of the present disclosure may include the step of generating (601) an allocation sequence for a processor to allocate extents to a disk.

보다 구체적으로, 프로세서는 익스텐트를 디스크에 할당하기 위한 데이터스트림 및 복제본 할당 시퀀스를 생성할 수 있다. 여기서 데이터스트림 할당 시퀀스는 데이터스트림과 일대일 대응하고, 복제본 할당 시퀀스는 사전 설정된 개수의 복제본과 각각 일대일 대응하도록 구성될 수 있다. 그리고, 데이터스트림 할당 시퀀스는 프로세서에 의해 데이터스트림으로부터 분리되어 생성된 원본 익스텐트를 각 디스크에 할당하기 위한 각각의 원본 익스텐트가 할당될 디스크에 관한 정보(예컨대, 디스크 넘버)를 포함할 수 있다. 또한, 복제본 할당 시퀀스는 프로세서에 의해 복제본으로부터 분리되어 생성된 복제본 익스텐트를 각 디스크에 할당하기 위한 각각의 복제본 익스텐트가 할당될 디스크에 관한 정보를 포함할 수 있다. More specifically, the processor may generate a data stream and a replica allocation sequence for allocating extents to a disk. Where the data stream allocation sequence corresponds one-to-one with the data stream, and the replica allocation sequence can be configured to correspond one-to-one with a predetermined number of copies. And, the data stream allocation sequence may include information (e.g., a disc number) about a disc to which each original extent is to be allocated for allocating original extents generated by the processor to the original discs generated from the data stream. The replica allocation sequence may also include information about the disk to which each replica extent is to be allocated for allocating a replica extent generated by the processor to the replicas generated on each disk.

그리고, 본 개시의 일 실시예에 따른 디스크 관리 방법은 프로세서가 데이터스트림을 할당 시퀀스에 해당하는 익스텐트 단위로 분리하는 단계(602)를 포함할 수 있다. And, a method of managing a disk according to an embodiment of the present disclosure may include a step (602) in which a processor divides a data stream into units of extents corresponding to an allocation sequence.

보다 구체적으로, 프로세서는 데이터스트림을 데이터스트림 할당 시퀀스가 포함하는 익스텐트의 크기에 기초하여 데이터스트림을 분리해서 하나 이상의 원본 익스텐트를 생성할 수 있다. 그리고, 프로세서는 각각의 원본 익스텐트를 데이터스트림 할당 시퀀스의 익스텐트에 대응하도록 연결할 수 있다. More specifically, the processor can generate a data stream by separating the data stream based on the extent of the extent that the data stream allocation sequence includes, thereby generating one or more original extents. The processor may then concatenate each original extent to correspond to the extent of the data stream allocation sequence.

또한, 본 개시의 일 실시예에 따른 디스크 관리 방법은 프로세서가 데이터스트림을 복제하여 사전 설정된 개수의 복제본을 생성하는 단계를 더 포함할 수 있다. Further, a method for managing a disk according to an embodiment of the present disclosure may further include a step of the processor replicating the data stream to generate a predetermined number of replicas.

보다 구체적으로, 프로세서는 데이터스트림을 복제하여 데이터스트림 복제본을 생성할 수 있다. 여기서 생성되는 데이터 스트림 복제본의 수는 데이터 스트림의 내용, 가용성에 대한 필요성 등에 기초하여 결정될 수 있다. 이에 따라, 프로세서는 데이터스트림과 복제본을 복수개 생성할 수 있다. More specifically, the processor may replicate the data stream to produce a replica of the data stream. The number of data stream replicas created here can be determined based on the content of the data stream, the need for availability, and the like. Accordingly, the processor can generate a plurality of data streams and replicas.

그리고, 프로세서는 생성된 복제본 각각을 각각의 익스텐트 단위로 분리할 수 있다. 보다 구체적으로, 프로세서는 생성된 복제본의 개수에 일대일 대응하는 개수의 복제본 할당 시퀀스(202)를 생성할 수 있다. 그리고, 프로세서는 상기 복제본 할당 시퀀스(202)에 기초하여 상기 복제본을 분리한 복제본 익스텐트를 할당 할 수 있다.Then, the processor can separate each of the generated replicas into respective extent units. More specifically, the processor may generate a number of replica allocation sequences 202 that correspond one-to-one to the number of replicas generated. The processor may then allocate the replica extents that detached the replica based on the replica allocation sequence 202. [

그리고, 본 개시의 일 실시예에 따른 디스크 관리 방법은 프로세서가 할당 시퀀스에 기초하여 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계(603)를 포함할 수 있다.And, the disk management method according to an embodiment of the present disclosure includes a step (603) in which a processor allocates a data stream divided on an extent basis on an allocation sequence to one or more disks included in a disk space for each extent can do.

보다 구체적으로, 프로세서는 데이터스트림을 익스텐트 단위로 분리하여 하나 이상의 원본 익스텐트를 생성할 수 있다. 그리고 프로세서는 각각의 원본 익스텐트를 데이터스트림 할당 시퀀스가 포함하는 디스크 넘버에 대응하는 디스크에 할당할 수 있다. 예를 들어, 도 2a에 도시되는 바와 같이, 데이터스트림 할당 시퀀스(201)는 4개의 익스텐트 단위를 각각 디스크 넘버 0, 1, 0, 0에 차례대로 할당하도록 구성될 수 있다. 이러한 경우, 도 2b에 도시된 바와 같이 프로세서는 원본 익스텐트 'a0', 'b0', 'c0', 'd0' 를 각각 데이터스트림 할당 시퀸스(201)가 포함하는 디스크 넘버 순서에 기초하여 'a0' 익스텐트를 0번 디스크, 'b0' 익스텐트를 1번 디스크, 'c0' 익스텐트를 0번 디스크 및 'd0' 익스텐트를 1번 디스크에 차례대로 할당할 수 있다. 또한, 프로세서는 'd0' 이후의 원본 익스텐트(예컨대, 'e0', 'f0', 'g0', 'h0')는 다시 데이터스트림 할당 시퀀스(201)가 포함하는 0, 1, 0, 0 순서의 디스크 넘버에 기초하여 'e0' 익스텐트를 0번 디스크, 'f0' 익스텐트를 1번 디스크, 'g0' 익스텐트를 0번 디스크 및 'h0' 익스텐트를 0번 디스크에 차례대로 할당할 수 있다. 전술한 프로세서의 원본 익스텐트 할당은 예시일뿐, 본 개시는 이에 제한되지 않는다.More specifically, the processor may create one or more original extents by separating the data stream on an extent-by-extent basis. The processor may then assign each original extent to a disk corresponding to a disk number that the data stream allocation sequence contains. For example, as shown in FIG. 2A, the data stream allocation sequence 201 may be configured to sequentially allocate four extent units to disk numbers 0, 1, 0, and 0, respectively. In this case, as shown in FIG. 2B, the processor stores 'a0', 'b0', 'c0', and 'd0' as the original extents 'a0' based on the disk number sequence included in the data stream allocation sequence 201, You can allocate extents to disk 0, disk 1 to disk b0, disk 0 to disk 0, and disk 1 to disk 1 in sequence. In addition, the processor may determine that the original extents (e.g., 'e0', 'f0', 'g0', 'h0') after 'd0' are in the sequence of 0, 1, 0, 0 included in the data stream allocation sequence 201 Quot; 0 " extent, the " g0 " extent, and the " h0 " extent to the 0th disk in this order. The original extent allocation of the above-mentioned processor is only an example, and the present disclosure is not limited thereto.

또한, 프로세서가 할당 시퀀스에 기초하여 익스텐트 단위로 분리된 데이터스트림을 각각의 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계는 데이터스트림 할당 시퀀스에 기초하여 데이터스트림에 대해 수행되고, 그리고 복제본 할당 시퀀스에 기초하여 복제본에 대해 수행될 수 있다.In addition, the step of the processor allocating the data stream separated on an extent-by-extent basis to the one or more disks included in the disk space for each extent based on the allocation sequence is performed on the data stream based on the data stream allocation sequence, May be performed on the replica based on the allocation sequence.

보다 구체적으로, 프로세서는 사전 설정된 개수의 복제본을 익스텐트 단위로 분리하여 복제본 익스텐트를 생성할 수 있다. 그리고 상기 프로세서는 각각의 복제본 익스텐트를 복제본 할당 시퀀스가 포함하는 디스크 넘버에 대응하는 디스크에 할당할 수 있다. 예를 들어, 도 2a에 도시되는 바와 같이, 복제본 할당 시퀀스(202)는 4개의 익스텐트 단위를 디스크 넘버 1, 0, 1, 1에 차례대로 할당하도록 구성될 수 있다. 이러한 경우, 도 2b에 도시된 바와 같이 프로세서는 복제본 익스텐트 'a1', 'b1', 'c1', 'd1' 를 각각 복제본 할당 시퀀스(202)가 포함하는 디스크 넘버에 기초하여 'a1' 익스텐트를 1번 디스크, 'b1' 익스텐트를 0번 디스크, 'c1' 익스텐트를 1번 디스크 및 'd1' 익스텐트를 0번 디스크에 할당할 수 있다. 또한, 프로세서는 'd1' 이후의 복제본 익스텐트(예컨대, 'e1', 'f1', 'g1', 'h1')는 다시 복제본 할당 시퀀스(202)가 포함하는 1, 0, 1, 1의 디스크 넘버에 기초하여 'e1' 익스텐트를 1번 디스크, 'f1' 익스텐트를 0번 디스크, 'g1' 익스텐트를 1번 디스크 및 'h1' 익스텐트를 1번 디스크에 차례대로 할당할 수 있다. More specifically, the processor may create a replica extent by dividing a predetermined number of replicas on an extent basis. And the processor may assign each replica extent to a disk corresponding to a disk number included in the replica allocation sequence. For example, as shown in FIG. 2A, the replica allocation sequence 202 may be configured to sequentially allocate four extent units to disk numbers 1, 0, 1, and 1. In this case, as shown in FIG. 2B, the processor updates the 'a1' extents 'a1', 'b1', 'c1', and 'd1' based on the disk number included in the replica allocation sequence 202 You can allocate disk 1, disk 'b1' to disk 0, disk 'c1' to disk 1, and disk 'd1' to disk 0. In addition, the processor may determine that the replica extents (e.g., 'e1', 'f1', 'g1', 'h1') after 'd1' Based on the number, you can allocate the 'e1' extent to disk 1, the 'f1' extent to disk 0, the 'g1' extent to disk 1, and the 'h1' extent to disk 1 in sequence.

추가적으로, 본 개시의 일 실시예에 따른 디스크 관리 방법은 프로세서가 디스크스페이스에서 동시에 손상될 수 있는 페일 그룹(fail group)을 설정하는 단계를 더 포함할 수 있다. 여기서 페일 그룹은 물리적, 또는 전기적으로 인접하여 사고가 발생하면 동시에 손상될 수 있는 저장 단위를 포함할 수 있다. 그리고 페일 그룹은 하나의 디스크를 단위로 구성되거나, 하나 이상의 디스크를 포함하는 서버 단위로 구성될 수 있다. 예를 들어, 제 1 페일 그룹은 하나의 클라이언트(110)가 포함하는 HDD 및 SSD를 포함할 수 있다. 또한, 제 2 페일 그룹은 클라우드 서버와 연결되는 하나의 디스크를 포함할 수 있다. 전술한 페일 그룹은 예시일뿐, 본 개시는 이에 제한될 수 있다. Additionally, a method of managing a disk according to an embodiment of the present disclosure may further comprise setting a fail group in which a processor may be corrupted simultaneously in disk space. Here, the fail group may include storage units that are physically or electrically adjacent to each other and can be damaged at the same time when an accident occurs. The fail group may consist of one disk unit or a server unit including one or more disks. For example, the first fail group may include an HDD and an SSD that one client 110 includes. In addition, the second fail group may include one disk connected to the cloud server. The above-described fail group is only an example, and the present disclosure can be limited to this.

이에 따라, 본 개시의 실시예에 따른 디스크 관리 방법은 데이터스트림과 복제본을 서로 다른 페일 그룹에 할당함으로써, 동시에 손상될 수 있는 데이터에 대한 가용성을 향상시킬 수 있다. 또한, 각 디스크의 개수 및 크기에 기초한 할당 시퀀스의 구성을 통해 디스크 공간을 적절히 나눠 사용할 수 있다. 그리고, 하나의 디스크에 대한 입출력이 지연되는 경우에도 전체적인 입출력 속도 저하를 억제할 수 있다.Accordingly, the disk management method according to the embodiment of the present disclosure can improve the availability of data that can be damaged at the same time by assigning the data stream and the replica to different fail groups. In addition, the disk space can be divided and used appropriately through the configuration of the allocation sequence based on the number and size of each disk. Also, even when the input / output to one disk is delayed, the overall input / output speed reduction can be suppressed.

또한, 할당 시퀀스에 대한 각 기준들 간의 우선순위를 명확히함으로써, 각 기준들 간의 충돌이 일어나는 경우에도 프로세서가 가용성 향상을 최우선적으로 보장하고, 상황에 따라 디스크 공간의 효율적 사용 및 입출력 속도 저하 방지 효과를 제공할 수 있도록 할당 시퀀스를 생성할 수 있다.In addition, by clarifying the priority among the respective criteria for the allocation sequence, the processor can guarantee the availability in the highest priority even when a collision occurs between the respective references, and can efficiently use the disk space and prevent the input / Lt; RTI ID = 0.0 > a < / RTI >

도 7은 본 개시의 일 실시예에 따른 컴퓨팅 장치의 블록 구성도이다.7 is a block diagram of a computing device according to an embodiment of the present disclosure;

도 7은 본 개시의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.Figure 7 illustrates a simplified, general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.

본 개시가 일반적으로 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어와 관련하여 전술되었지만, 당업자라면 본 개시가 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로서 구현될 수 있다는 것을 잘 알 것이다.Although the present disclosure has been described above generally in terms of computer-executable instructions that may be executed on one or more computers, those skilled in the art will appreciate that the disclosure may be combined with other program modules and / will be.

일반적으로, 프로그램 모듈은 특정의 태스크를 수행하거나 특정의 추상 데이터 유형을 구현하는 루틴, 프로그램, 컴포넌트, 데이터 구조, 기타 등등을 포함한다. 또한, 당업자라면 본 개시의 방법이 단일-프로세서 또는 멀티프로세서 컴퓨터 시스템, 미니컴퓨터, 메인프레임 컴퓨터는 물론 퍼스널 컴퓨터, 핸드헬드 컴퓨팅 장치, 마이크로프로세서-기반 또는 프로그램가능 가전 제품, 기타 등등(이들 각각은 하나 이상의 연관된 장치와 연결되어 동작할 수 있음)을 비롯한 다른 컴퓨터 시스템 구성으로 실시될 수 있다는 것을 잘 알 것이다.Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Those skilled in the art will also appreciate that the methods of the present disclosure may be practiced with other computer systems, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, And may operate in conjunction with one or more associated devices).

본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘다에 위치할 수 있다.The described embodiments of the present disclosure may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있고, 이러한 컴퓨터 판독가능 매체는 휘발성 및 비휘발성 매체, 일시적(transitory) 및 비일시적(non-transitory) 매체, 이동식 및 비-이동식 매체를 포함한다. 제한이 아닌 예로서, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비휘발성 매체, 일시적 및 비-일시적 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computers typically include a variety of computer readable media. Any medium accessible by a computer may be a computer-readable medium, which may include volatile and non-volatile media, transitory and non-transitory media, removable and non-removable media, Removable media. By way of example, and not limitation, computer readable media can comprise computer readable storage media and computer readable transmission media. Computer-readable storage media includes both volatile and non-volatile media, both temporary and non-volatile media, both removable and non-removable, implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data Media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, Or any other medium which can be accessed by a computer and used to store the desired information.

컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터등을 구현하고 모든 정보 전달 매체를 포함한다. 피변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer readable transmission media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, It includes all information delivery media. The term modulated data signal refers to a signal that has one or more of its characteristics set or changed to encode information in the signal. By way of example, and not limitation, computer readable transmission media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, or other wireless media. Combinations of any of the above described media are also intended to be included within the scope of computer readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.There is shown an exemplary environment 1100 that implements various aspects of the present disclosure including a computer 1102 and a computer 1102 that includes a processing unit 1104, a system memory 1106, and a system bus 1108 do. The system bus 1108 couples system components, including but not limited to, system memory 1106 to the processing unit 1104. The processing unit 1104 may be any of a variety of commercially available processors. Dual processors and other multiprocessor architectures may also be used as the processing unit 1104.

시스템 버스(1108)는 메모리 버스, 주변장치 버스, 및 다양한 상용 버스 아키텍처 중 임의의 것을 사용하는 로컬 버스에 추가적으로 상호 연결될 수 있는 몇가지 유형의 버스 구조 중 임의의 것일 수 있다. 시스템 메모리(1106)는 판독 전용 메모리(ROM)(1110) 및 랜덤 액세스 메모리(RAM)(1112)를 포함한다. 기본 입/출력 시스템(BIOS)은 ROM, EPROM, EEPROM 등의 비휘발성 메모리(1110)에 저장되며, 이 BIOS는 시동 중과 같은 때에 컴퓨터(1102) 내의 구성요소들 간에 정보를 전송하는 일을 돕는 기본적인 루틴을 포함한다. RAM(1112)은 또한 데이터를 캐싱하기 위한 정적 RAM 등의 고속 RAM을 포함할 수 있다.The system bus 1108 may be any of several types of bus structures that may additionally be interconnected to a local bus using any of the memory bus, peripheral bus, and various commercial bus architectures. The system memory 1106 includes read only memory (ROM) 1110 and random access memory (RAM) The basic input / output system (BIOS) is stored in a non-volatile memory 1110, such as a ROM, EPROM, EEPROM or the like, which is a basic (non-volatile) memory device that aids in transferring information between components within the computer 1102 Routine. The RAM 1112 may also include a high speed RAM such as static RAM for caching data.

컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)-이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음-, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘다를 포함한다.The computer 1102 may also be an internal hard disk drive (HDD) 1114 (e.g., EIDE, SATA) - this internal hard disk drive 1114 may also be configured for external use within a suitable chassis , A magnetic floppy disk drive (FDD) 1116 (e.g., for reading from or writing to a removable diskette 1118), and an optical disk drive 1120 (e.g., a CD-ROM For reading disc 1122 or reading from or writing to other high capacity optical media such as DVD). The hard disk drive 1114, magnetic disk drive 1116 and optical disk drive 1120 are connected to the system bus 1108 by a hard disk drive interface 1124, a magnetic disk drive interface 1126 and an optical drive interface 1128, respectively. . The interface 1124 for external drive implementation includes at least one or both of USB (Universal Serial Bus) and IEEE 1394 interface technologies.

이들 드라이브 및 그와 연관된 컴퓨터 판독가능 매체는 데이터, 데이터 구조, 컴퓨터 실행가능 명령어, 기타 등등의 비휘발성 저장을 제공한다. 컴퓨터(1102)의 경우, 드라이브 및 매체는 임의의 데이터를 적당한 디지털 형식으로 저장하는 것에 대응한다. 상기에서의 컴퓨터 판독가능 매체에 대한 설명이 HDD, 이동식 자기 디스크, 및 CD 또는 DVD 등의 이동식 광 매체를 언급하고 있지만, 당업자라면 집 드라이브(zip drive), 자기 카세트, 플래쉬 메모리 카드, 카트리지, 기타 등등의 컴퓨터에 의해 판독가능한 다른 유형의 매체도 역시 예시적인 운영 환경에서 사용될 수 있으며 또 임의의 이러한 매체가 본 개시의 방법들을 수행하기 위한 컴퓨터 실행가능 명령어를 포함할 수 있다는 것을 잘 알 것이다.These drives and their associated computer-readable media provide non-volatile storage of data, data structures, computer-executable instructions, and the like. In the case of computer 1102, the drives and media correspond to storing any data in a suitable digital format. While the above description of computer readable media refers to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will appreciate that other types of storage devices, such as zip drives, magnetic cassettes, flash memory cards, Or the like may also be used in the exemplary operating environment and any such medium may include computer-executable instructions for carrying out the methods of the present disclosure.

운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.A number of program modules may be stored in the drive and RAM 1112, including an operating system 1130, one or more application programs 1132, other program modules 1134, and program data 1136. All or a portion of the operating system, applications, modules, and / or data may also be cached in the RAM 1112. It will be appreciated that the disclosure may be implemented in a variety of commercially available operating systems or combinations of operating systems.

사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.A user may enter commands and information into the computer 1102 via one or more wired / wireless input devices, such as a keyboard 1138 and a pointing device such as a mouse 1140. [ Other input devices (not shown) may include a microphone, IR remote control, joystick, game pad, stylus pen, touch screen, and so on. These and other input devices are often connected to the processing unit 1104 via an input device interface 1142 that is coupled to the system bus 1108, but may be a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, ≪ / RTI > and so forth.

모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.A monitor 1144 or other type of display device is also connected to the system bus 1108 via an interface, such as a video adapter 1146, In addition to the monitor 1144, the computer typically includes other peripheral output devices (not shown) such as speakers, printers,

컴퓨터(1102)는 유선 및/또는 무선 통신을 통한 원격 컴퓨터(들)(1148) 등의 하나 이상의 원격 컴퓨터로의 논리적 연결을 사용하여 네트워크화된 환경에서 동작할 수 있다. 원격 컴퓨터(들)(1148)는 워크스테이션, 컴퓨팅 디바이스 컴퓨터, 라우터, 퍼스널 컴퓨터, 휴대용 컴퓨터, 마이크로프로세서-기반 오락 기기, 피어 장치 또는 기타 통상의 네트워크 노드일 수 있으며, 일반적으로 컴퓨터(1102)에 대해 기술된 구성요소들 중 다수 또는 그 전부를 포함하지만, 간략함을 위해, 메모리 저장 장치(1150)만이 도시되어 있다. 도시되어 있는 논리적 연결은 근거리 통신망(LAN)(1152) 및/또는 더 큰 네트워크, 예를 들어, 원거리 통신망(WAN)(1154)에의 유선/무선 연결을 포함한다. 이러한 LAN 및 WAN 네트워킹 환경은 사무실 및 회사에서 일반적인 것이며, 인트라넷 등의 전사적 컴퓨터 네트워크(enterprise-wide computer network)를 용이하게 해주며, 이들 모두는 전세계 컴퓨터 네트워크, 예를 들어, 인터넷에 연결될 수 있다.Computer 1102 may operate in a networked environment using logical connections to one or more remote computers, such as remote computer (s) 1148, via wired and / or wireless communication. The remote computer (s) 1148 may be a workstation, a computing device computer, a router, a personal computer, a portable computer, a microprocessor-based entertainment device, a peer device or other conventional network node, But for the sake of simplicity, only memory storage device 1150 is shown. The logical connections depicted include a wired / wireless connection to a local area network (LAN) 1152 and / or a larger network, e.g., a wide area network (WAN) These LAN and WAN networking environments are commonplace in offices and corporations and facilitate enterprise-wide computer networks such as intranets, all of which can be connected to computer networks worldwide, for example the Internet.

LAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 유선 및/또는 무선 통신 네트워크 인터페이스 또는 어댑터(1156)를 통해 로컬 네트워크(1152)에 연결된다. 어댑터(1156)는 LAN(1152)에의 유선 또는 무선 통신을 용이하게 해줄 수 있으며, 이 LAN(1152)은 또한 무선 어댑터(1156)와 통신하기 위해 그에 설치되어 있는 무선 액세스 포인트를 포함하고 있다. WAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 모뎀(1158)을 포함할 수 있거나, WAN(1154) 상의 통신 컴퓨팅 디바이스에 연결되거나, 또는 인터넷을 통하는 등, WAN(1154)을 통해 통신을 설정하는 기타 수단을 갖는다. 내장형 또는 외장형 및 유선 또는 무선 장치일 수 있는 모뎀(1158)은 직렬 포트 인터페이스(1142)를 통해 시스템 버스(1108)에 연결된다. 네트워크화된 환경에서, 컴퓨터(1102)에 대해 설명된 프로그램 모듈들 또는 그의 일부분이 원격 메모리/저장 장치(1150)에 저장될 수 있다. 도시된 네트워크 연결이 예시적인 것이며 컴퓨터들 사이에 통신 링크를 설정하는 기타 수단이 사용될 수 있다는 것을 잘 알 것이다.When used in a LAN networking environment, the computer 1102 is connected to the local network 1152 via a wired and / or wireless communication network interface or adapter 1156. [ The adapter 1156 may facilitate wired or wireless communication to the LAN 1152 and the LAN 1152 also includes a wireless access point installed therein to communicate with the wireless adapter 1156. [ When used in a WAN networking environment, the computer 1102 may include a modem 1158, or may be connected to a communications computing device on the WAN 1154, or to establish communications over the WAN 1154 And other means. A modem 1158, which may be an internal or external and a wired or wireless device, is coupled to the system bus 1108 via a serial port interface 1142. In a networked environment, program modules described for the computer 1102, or portions thereof, may be stored in the remote memory / storage device 1150. It will be appreciated that the network connections shown are exemplary and other means of establishing a communication link between the computers may be used.

컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.The computer 1102 may be any wireless device or entity that is deployed and operable in wireless communication, such as a printer, a scanner, a desktop and / or portable computer, a portable data assistant (PDA) Any equipment or place, and communication with the telephone. This includes at least Wi-Fi and Bluetooth wireless technology. Thus, the communication may be a predefined structure, such as in a conventional network, or simply an ad hoc communication between at least two devices.

Wi-Fi(Wireless Fidelity)는 유선 없이도 인터넷 등으로의 연결을 가능하게 해준다. Wi-Fi는 이러한 장치, 예를 들어, 컴퓨터가 실내에서 및 실외에서, 즉 기지국의 통화권 내의 아무 곳에서나 데이터를 전송 및 수신할 수 있게 해주는 셀 전화와 같은 무선 기술이다. Wi-Fi 네트워크는 안전하고 신뢰성있으며 고속인 무선 연결을 제공하기 위해 IEEE 802.11(a,b,g, 기타)이라고 하는 무선 기술을 사용한다. 컴퓨터를 서로에, 인터넷에 및 유선 네트워크(IEEE 802.3 또는 이더넷을 사용함)에 연결시키기 위해 Wi-Fi가 사용될 수 있다. Wi-Fi 네트워크는 비인가 2.4 및 5 GHz 무선 대역에서, 예를 들어, 11Mbps(802.11a) 또는 54 Mbps(802.11b) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wi-Fi (Wireless Fidelity) allows you to connect to the Internet without wires. Wi-Fi is a wireless technology such as a cell phone that allows such devices, e.g., computers, to transmit and receive data indoors and outdoors, i. E. Anywhere within the coverage area of a base station. Wi-Fi networks use a wireless technology called IEEE 802.11 (a, b, g, etc.) to provide a secure, reliable, and high-speed wireless connection. Wi-Fi can be used to connect computers to each other, the Internet, and a wired network (using IEEE 802.3 or Ethernet). The Wi-Fi network may operate in unlicensed 2.4 and 5 GHz wireless bands, for example, at 11 Mbps (802.11a) or 54 Mbps (802.11b) data rates, or in products containing both bands have.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 정보 및 신호들이 임의의 다양한 상이한 기술들 및 기법들을 이용하여 표현될 수 있다는 것을 이해할 것이다. 예를 들어, 위의 설명에서 참조될 수 있는 데이터, 지시들, 명령들, 정보, 신호들, 비트들, 심볼들 및 칩들은 전압들, 전류들, 전자기파들, 자기장들 또는 입자들, 광학장들 또는 입자들, 또는 이들의 임의의 결합에 의해 표현될 수 있다.Those of ordinary skill in the art will understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced in the above description may include voltages, currents, electromagnetic waves, magnetic fields or particles, Particles or particles, or any combination thereof.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 "소프트웨어"로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.Those skilled in the art will appreciate that the various illustrative logical blocks, modules, processors, means, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented or performed with a specific purpose, (Which may be referred to herein as "software") or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the design constraints imposed on the particular application and the overall system. Those skilled in the art may implement the described functions in various ways for each particular application, but such implementation decisions should not be interpreted as being outside the scope of the present disclosure.

여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 "제조 물품"은 임의의 컴퓨터-판독가능 장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 여기서 매체는 저장 매체를 포함할 수 있다. 예를 들어, 컴퓨터-판독가능 저장 매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 또한, 여기서 제시되는 다양한 저장 매체는 정보를 저장하기 위한 하나 이상의 장치 및/또는 다른 기계-판독가능한 매체를 포함하지만, 이들로 제한되는 것은 아니다. The various embodiments presented herein may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" includes a computer program, carrier, or media accessible from any computer-readable device. Where the medium may comprise a storage medium. For example, the computer-readable storage medium can be a magnetic storage device (e.g., a hard disk, a floppy disk, a magnetic strip, etc.), an optical disk (e.g., CD, DVD, But are not limited to, memory devices (e. G., EEPROM, card, stick, key drive, etc.). In addition, the various storage media presented herein include, but are not limited to, one or more devices and / or other machine-readable media for storing information.

제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It will be appreciated that the particular order or hierarchy of steps in the presented processes is an example of exemplary approaches. It will be appreciated that, based on design priorities, a particular order or hierarchy of steps in the processes may be rearranged within the scope of this disclosure. The appended method claims provide elements of the various steps in a sample order, but are not meant to be limited to the specific order or hierarchy presented.

제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다.The description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure should not be construed as limited to the embodiments set forth herein, but is to be accorded the widest scope consistent with the principles and novel features presented herein.

Claims (9)

하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법에 있어서,
프로세서가 데이터스트림을 복제하여 사전 설정된 개수의 복제본을 생성하는 단계;
상기 프로세서가 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본으로부터 각각 분리되어 생성되는 원본 익스텐트(extent) 및 복제본 익스텐트 각각을 하나 이상의 디스크(disk)에 각각 할당하기 위하여, 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본 각각에 일대일 대응하도록 할당 시퀀스―상기 할당 시퀀스는 데이터스트림 할당 시퀀스 및 복제본 할당 시퀀스를 포함함―생성하는 단계;
상기 프로세서가 상기 데이터스트림 및 상기 사전 설정된 개수의 복제본을 각각 익스텐트 단위로 분리하여 상기 원본 익스텐트 및 상기 복제본 익스텐트를 생성하는 단계;
상기 프로세서가 상기 데이터스트림 할당 시퀀스에 기초하여 상기 익스텐트 단위로 분리된 상기 데이터스트림을 각각 익스텐트 별로 디스크스페이스에 포함된 하나 이상의 디스크에 할당하고, 그리고, 상기 복제본 할당 시퀀스에 기초하여 상기 익스텐트 단위로 분리된 상기 복제본을 각각 익스텐트 별로 상기 디스크스페이스에 포함된 하나 이상의 디스크에 할당하는 단계;
를 포함하는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
A disk management method performed in a computing device including at least one processor and a main memory storing instructions executable by the processor,
The processor replicating the data stream to produce a predetermined number of copies;
Wherein the processor is configured to allocate each of an original extent and a replica extent generated separately from the data stream and the predetermined number of copies to one or more disks, To-one correspondence to each of the replicas, the allocation sequence including a data stream allocation sequence and a replica allocation sequence;
The processor separating the data stream and the predetermined number of copies in units of extents to generate the original extents and the replica extents;
Wherein the processor allocates the data stream divided in units of extents on one or more disks included in a disk space for each extent on the basis of the data stream allocation sequence and separates the data stream in units of extents on the basis of the replica allocation sequence Allocating the copy to the one or more disks included in the disk space for each extent;
/ RTI >
And a main memory storing one or more processors and instructions executable by the processor.
제 1 항에 있어서,
상기 프로세서가 할당 시퀀스를 생성하는 단계는,
상기 디스크스페이스에 포함된 디스크의 개수 및 각각의 디스크의 용량에 기초하여 수행되는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
The method according to claim 1,
Wherein the step of the processor generating an assignment sequence comprises:
The number of disks included in the disk space, and the capacity of each disk,
And a main memory storing one or more processors and instructions executable by the processor.
제 2 항에 있어서,
상기 할당 시퀀스는,
상기 하나 이상의 디스크들의 각각의 용량을 상기 하나 이상의 디스크들의 용량의 최대공약수로 나눈 각각의 디스크에 대한 가중치의 합계에 기초하는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
3. The method of claim 2,
Wherein the assignment sequence comprises:
Wherein the sum of the weights for each disk divided by the greatest common divisor of the capacity of the one or more disks,
And a main memory storing one or more processors and instructions executable by the processor.
제 1 항에 있어서,
상기 할당 시퀀스는,
상기 하나 이상의 디스크 중 하나의 디스크에 상기 익스텐트가 연속적으로 할당되지 않도록 구성되는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
The method according to claim 1,
Wherein the assignment sequence comprises:
Wherein the extents are configured such that the extents are not continuously allocated to one of the one or more disks.
And a main memory storing one or more processors and instructions executable by the processor.
삭제delete 제 1 항에 있어서,
상기 디스크스페이스에서 동시에 손상될 수 있는 페일 그룹(fail group)을 설정하는 단계;
를 더 포함하고,
상기 할당 시퀀스는,
상기 데이터스트림으로부터 분리되어 생성된 제 1 원본 익스텐트가 상기 하나 이상의 디스크 중 제 1 페일 그룹에 할당되는 경우,
상기 복제본으로부터 분리되어 생성되고 상기 제 1 원본 익스텐트와 대응되는 제 1 복제본 익스텐트는 상기 하나 이상의 디스크 중 상기 제 1 페일 그룹을 제외한 디스크에 할당되도록 구성되는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
The method according to claim 1,
Setting a fail group that can be corrupted at the same time in the disk space;
Further comprising:
Wherein the assignment sequence comprises:
If a first original extent generated separately from the data stream is allocated to a first one of the one or more disks,
Wherein a first copy extent generated separately from the replica and corresponding to the first original extent is allocated to a disk other than the first fail group among the one or more disks,
And a main memory storing one or more processors and instructions executable by the processor.
제 1 항에 있어서,
상기 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계는,
상기 디스크스페이스에 새로운 디스크가 추가되는 경우,
상기 새로운 디스크의 용량과 상기 하나 이상의 디스크들의 잔여 용량 각각을, 상기 새로운 디스크의 용량 및 상기 하나 이상의 디스크들의 잔여 용량의 최대공약수로 나눈 각각의 가중치의 합계에 기초하여 상기 할당 시퀀스를 재생성하거나, 또는
상기 디스크스페이스에 상기 하나 이상의 디스크가 제거되는 경우,
상기 디스크스페이스에 남은 잔여 디스크들의 잔여 용량 각각을, 상기 잔여 디스크들의 잔여 용량의 최대공약수로 나눈 각각의 가중치의 합계에 기초하여 상기 할당 시퀀스를 재생성하는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
The method according to claim 1,
Wherein the step of the processor creating an allocation sequence for allocating extents to a disk comprises:
When a new disk is added to the disk space,
Regenerating the allocation sequence based on the sum of the capacity of the new disk and the remaining capacity of the one or more disks based on the weight of the new disk divided by the greatest common divisor of the remaining capacity of the one or more disks,
If the one or more disks are removed from the disk space,
And recalculating the allocation sequence based on a sum of respective weights of dividing each remaining capacity of the remaining disks in the disk space by the greatest common divisor of the remaining capacity of the remaining disks,
And a main memory storing one or more processors and instructions executable by the processor.
제 1 항에 있어서,
상기 할당 시퀀스는,
제 1 기준, 제 2 기준 및 제 3 기준 중 적어도 하나에 기초하여 생성되고,
상기 제 1 기준은,
가용성을 높이기 위하여 상기 할당 시퀀스가 상기 데이터스트림으로부터 분리되어 생성된 제 1 원본 익스텐트를 제 1 페일 그룹에 할당되도록 하는 경우, 복제본으로부터 분리되어 생성되고 상기 제 1 원본 익스텐트와 대응되는 제 1 복제본 익스텐트는 상기 제 1 페일 그룹과 상이한 페일 그룹에 할당되도록 구성되고,
상기 제 2 기준은,
디스크 사이의 밸런싱을 위하여 상기 할당 시퀀스가 상기 하나 이상의 디스크들의 각각의 용량을 상기 하나 이상의 디스크들의 용량의 최대공약수로 나눈 각각의 디스크에 대한 가중치의 합계에 기초하고, 그리고
상기 제 3 기준은,
입출력 성능을 위하여 상기 할당 시퀀스가 상기 하나 이상의 디스크 중 하나의 디스크에 상기 익스텐트를 연속적으로 할당되지 않도록 구성되는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.
The method according to claim 1,
Wherein the assignment sequence comprises:
A second criterion, a second criterion, and a third criterion,
The first criterion may include:
When a first original extent generated by separating the allocation sequence from the data stream is allocated to a first fail group in order to increase availability, a first replica extent generated separately from the replica and corresponding to the first original extent is The first fail group being allocated to a fail group different from the first fail group,
The second criterion may include:
For the purpose of balancing between disks, the allocation sequence is based on a sum of weights for each disk, the capacity of each of the one or more disks divided by the greatest common divisor of the capacity of the one or more disks, and
The third criterion may include:
Wherein the allocation sequence is configured such that the extents are not continuously allocated to one of the one or more disks for I /
And a main memory storing one or more processors and instructions executable by the processor.
제 8 항에 있어서,
상기 할당 시퀀스는,
상기 제 1 기준을 1 순위, 상기 제 2 기준을 2 순위, 그리고 상기 제 3 기준을 3 순위로 하는 우선순위에 기초하여 생성되고,
상기 프로세서가 익스텐트를 디스크에 할당하기 위한 할당 시퀀스를 생성하는 단계는,
상기 제 1 기준, 제 2 기준 및 제 3 기준을 모두 충족하는 상기 할당 시퀀스를 생성하지 못하는 경우, 상기 우선순위에 기초하여 상기 할당 시퀀스를 생성하는,
하나 이상의 프로세서 및 상기 프로세서에서 수행 가능한 명령들을 저장하는 메인 메모리를 포함하는 컴퓨팅 장치에서 수행되는 디스크 관리 방법.

9. The method of claim 8,
Wherein the assignment sequence comprises:
And generating a priority based on the first criterion as the first rank, the second criterion as the second rank, and the third criterion as the third rank,
Wherein the step of the processor creating an allocation sequence for allocating extents to a disk comprises:
Generating the allocation sequence based on the priority if the first allocation unit does not generate the allocation sequence that satisfies both the first criterion, the second criterion, and the third criterion,
And a main memory storing one or more processors and instructions executable by the processor.

KR1020170085863A 2017-07-06 2017-07-06 Method for extent allocation of data file KR101947504B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170085863A KR101947504B1 (en) 2017-07-06 2017-07-06 Method for extent allocation of data file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170085863A KR101947504B1 (en) 2017-07-06 2017-07-06 Method for extent allocation of data file

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190011589A Division KR20190012249A (en) 2019-01-30 2019-01-30 Method for extent allocation of data file

Publications (2)

Publication Number Publication Date
KR20190005349A KR20190005349A (en) 2019-01-16
KR101947504B1 true KR101947504B1 (en) 2019-02-13

Family

ID=65280784

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170085863A KR101947504B1 (en) 2017-07-06 2017-07-06 Method for extent allocation of data file

Country Status (1)

Country Link
KR (1) KR101947504B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011192202A (en) 2010-03-16 2011-09-29 Toshiba Corp Disk array device, logic disk reconfiguration method applied to the device
JP5472930B2 (en) * 2010-12-17 2014-04-16 株式会社東芝 Storage system provided with disk array device, disk array device, and extent size changing method
JP6022116B1 (en) 2014-12-24 2016-11-09 株式会社東芝 Hierarchical storage system, storage controller, and replication initialization method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011192202A (en) 2010-03-16 2011-09-29 Toshiba Corp Disk array device, logic disk reconfiguration method applied to the device
JP5472930B2 (en) * 2010-12-17 2014-04-16 株式会社東芝 Storage system provided with disk array device, disk array device, and extent size changing method
JP6022116B1 (en) 2014-12-24 2016-11-09 株式会社東芝 Hierarchical storage system, storage controller, and replication initialization method

Also Published As

Publication number Publication date
KR20190005349A (en) 2019-01-16

Similar Documents

Publication Publication Date Title
US8200933B2 (en) System and method for removing a storage server in a distributed column chunk data store
US7546321B2 (en) System and method for recovery from failure of a storage server in a distributed column chunk data store
US8214388B2 (en) System and method for adding a storage server in a distributed column chunk data store
US8590050B2 (en) Security compliant data storage management
US7457935B2 (en) Method for a distributed column chunk data store
US10146786B2 (en) Managing deduplication in a data storage system using a Bloomier filter data dictionary
EP2288975A2 (en) Method for optimizing cleaning of maps in flashcopy cascades containing incremental maps
JP2014528127A (en) Efficient access to storage devices with usage bitmaps
US10701154B2 (en) Sharding over multi-link data channels
US8499131B2 (en) Capping a number of locations referred to by chunk references
US9697079B2 (en) Protecting data integrity in de-duplicated storage environments in combination with software defined native raid
CN109582213A (en) Data reconstruction method and device, data-storage system
US10592138B1 (en) Avoiding storage device overlap in raid extent sub group and keeping relationship balance on mapped raid system and method
US11188258B2 (en) Distributed storage system
KR102089291B1 (en) Method for moving data extent
KR102062531B1 (en) Computer program stored in computer readable medium and database server transforming decision table into decision tree
CN110618790A (en) Mist storage data redundancy removing method based on repeated data deletion
CN108733307B (en) Storage management method, apparatus and computer readable medium
KR101947504B1 (en) Method for extent allocation of data file
KR20190012249A (en) Method for extent allocation of data file
WO2018169040A1 (en) Difference management device, storage system, difference management method, and program
US11726658B2 (en) Method, device, and computer program product for storage management
KR20190143419A (en) Computer program stored in computer readable medium and database server reallocating an extent
CN114115735B (en) Method and device for writing data
KR20190143428A (en) Method for moving data extent

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
GRNT Written decision to grant