KR20190143428A - Method for moving data extent - Google Patents

Method for moving data extent Download PDF

Info

Publication number
KR20190143428A
KR20190143428A KR1020190169081A KR20190169081A KR20190143428A KR 20190143428 A KR20190143428 A KR 20190143428A KR 1020190169081 A KR1020190169081 A KR 1020190169081A KR 20190169081 A KR20190169081 A KR 20190169081A KR 20190143428 A KR20190143428 A KR 20190143428A
Authority
KR
South Korea
Prior art keywords
extent
disk
computing device
mapping information
sequence number
Prior art date
Application number
KR1020190169081A
Other languages
Korean (ko)
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 KR1020190169081A priority Critical patent/KR20190143428A/en
Publication of KR20190143428A publication Critical patent/KR20190143428A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support

Abstract

According to one embodiment of the present invention, disclosed is a computer program stored in a computer readable storage medium. When executed in one or more processors of a computing device, the computer program performs a following method to transfer an extent. The method comprises the steps of: allowing a processor to determine transfer of the extent stored in a first disk of a disk space containing at least two disks; allowing the processor to determine whether there is a recording on the extent based on extent mapping information for the extent; if the recording on the extent does not exist, allowing the processor to switch a state of the extent to a read-only in the extent mapping information; allowing the processor to transfer the extent in the first disk to a second disk; and allowing the processor to update the extent mapping information based on the complete of the extent transfer. Accordingly, the present invention provides a method for transferring an extent of a data file to other storing locations.

Description

데이터 익스텐트 이동 방법{METHOD FOR MOVING DATA EXTENT}How to move data extents {METHOD FOR MOVING DATA EXTENT}

본 개시는 데이터베이스 관리 방법에 관한 것으로서, 보다 구체적으로, 데이터의 이동 방법에 관한 것이다.The present disclosure relates to a method of managing a database, and more particularly, to a method of moving data.

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

데이터베이스 관리 시스템(DBMS)은 데이터 파일을 각각의 디스크에 저장할 수 있도록 할 수 있다. 그리고, 데이터베이스 관리 시스템은 이러한 디스크들을 포함하는 디스크스페이스를 관리할 수 있다. 이에 따라, 데이터베이스 관리 시스템은 자료의 통합성을 증진시킬 수 있고, 데이터에 대한 접근성을 개선할 수 있다. 이와 같은 데이터베이스 관리 시스템에는 대표적으로 Tibero, Oracle, IMS 등이 있다.A database management system (DBMS) may allow data files to be stored on each disk. And, the database management system can manage the disk space including these disks. As a result, the database management system can enhance data integrity and improve access to data. Such database management systems include 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 replicate databases form a duplication relationship. However, this invention has a problem that the input and output speed is slow because of a lot of processing work, the capacity balance between the databases is not balanced.

이에 따라, 데이터를 이동하는 동작에 있어서 데이터 간의 정합성을 유지하면서 데이터에 대한 작업이 제한되는 시간을 최소화하는 익스텐트 이동 방법에 대한 당업계의 수요가 존재할 수 있다.Accordingly, there may be a need in the art for an extent movement method that minimizes the time for which operations on data are limited while maintaining consistency between data in the movement of data.

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 데이터 파일의 익스텐트를 다른 저장 위치로 이동시키는 방법을 제공하기 위함이다.The present disclosure has been made in response to the foregoing background, and is intended to provide a method of moving an extent of a data file to another storage location.

전술한 바와 같은 과제를 실현하기 위한 본 개시의 일 실시예에 따라 컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램이 개시된다. 상기 컴퓨터 프로그램은 컴퓨팅 장치의 하나 이상의 프로세서에서 실행되는 경우 익스텐트를 이동시키기 위한 이하의 방법을 수행하도록 하며, 상기 방법은 상기 프로세서가 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트(extent)에 대한 이동을 결정하는 단계, 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하는 단계, 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하는 단계, 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키는 단계 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하는 단계를 포함할 수 있다.Disclosed is a computer program stored in a computer readable storage medium according to one embodiment of the present disclosure for realizing the above-described problem. The computer program performs the following method for moving an extent when executed on one or more processors of a computing device, the method comprising: the processor comprising a disk space—the disk space comprising at least two disks. Determining a movement of the extent stored in the first disk, wherein the processor determines whether there is a write operation for the extent based on extent mapping information for the extent, and the processor Changing the state of the extent to read-only in the extent mapping information if the write operation for the extent does not exist, wherein the processor changes the extent located on the first disk to a second disk Moving the processor and the processor The extent mapping information may be updated based on the completion of the disk movement of the existing extents.

대안적으로, 상기 익스텐트 맵핑 정보는 각각의 익스텐드 별로 구성되며, 상기 익스텐트의 주소 정보, 상기 익스텐트의 상태 정보 및 상기 익스텐트의 트랜잭션 시퀸스 넘버(Transaction sequence number) 중 적어도 하나의 정보를 포함할 수 있다.Alternatively, the extent mapping information may be configured for each extent, and may include at least one of address information of the extent, state information of the extent, and a transaction sequence number of the extent. .

대안적으로, 상기 익스텐트의 트랜잭션 시퀸스 넘버는 상기 익스텐트에 대한 작업이 발생하는 경우, 상기 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀸스 넘버로 업데이트될 수 있다.Alternatively, the transaction sequence number of the extent may be updated with the transaction sequence number of the worker thread performing the work on the extent when the work on the extent occurs.

대안적으로, 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하는 단계는 상기 프로세서가 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버와 워커 스레드의 트랜잭션 시퀸스 넘버를 비교하여, 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버 보다 작거나 같은 상기 워커 스레드의 트랜잭션 시퀸스 넘버가 존재하는 경우, 상기 익스텐트에 대한 기록 작업이 존재하는 것으로 판단하는 단계 및 상기 익스텐트에 대한 기록 작업이 존재하는 경우, 상기 익스텐트에 대한 이동 작업을 수행하는 상기 워커 스레드는 슬립 상태로 전환되는 단계를 포함할 수 있다.Alternatively, the processor determines whether there is a write operation for the extent based on extent mapping information for the extent, wherein the processor determines a transaction sequence number of the extent mapping information and a transaction sequence number of a worker thread. In comparison, if there is a transaction sequence number of the worker thread that is less than or equal to the transaction sequence number of the extent mapping information, determining that a write operation for the extent exists and a write operation for the extent exists. In this case, the worker thread performing a move operation on the extent may include a step of going to a sleep state.

대안적으로, 상기 익스텐트에 대한 기록 작업이 완료된 경우, 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버는 상기 워커 스레드의 트랜잭션 시퀸스 넘버로 수정되는 단계를 더 포함할 수 있다.Alternatively, when the writing operation for the extent is completed, the transaction sequence number of the extent mapping information may further include the step of modifying the transaction sequence number of the worker thread.

대안적으로, 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하는 단계는 상기 프로세서가 상기 익스텐트의 디스크 이동이 완료된 경우, 상기 익스텐트에 대한 작업이 존재하는지 여부를 판단하는 단계 및 상기 익스텐트에 대한 작업이 존재하는 경우, 상기 익스텐트 맵핑 정보의 익스텐트 상태를 사용 중으로 변경하고, 작업 완료를 기다려 상기 익스텐트 맵핑 정보를 업데이트 하거나, 상기 익스텐트에 대한 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보를 업데이트 하는 단계를 포함할 수 있다.Alternatively, the updating of the extent mapping information based on the completion of the disk movement of the extent may include the processor determining whether a task for the extent exists when the disk movement of the extent is completed. And when the job for the extent exists, changes the extent state of the extent mapping information to being in use, waits for the completion of the job to update the extent mapping information, or if the job for the extent does not exist, mapping the extent It may include updating the information.

대안적으로, 상기 익스텐트 맵핑 정보의 익스텐트 상태가 사용 중인 경우, 상기 익스텐트 맵핑 정보에 접근하는 워커 스레드는 대기 상태로 전환되고, 대기 리스트에 기록될 수 있다.Alternatively, if an extent state of the extent mapping information is in use, a worker thread that accesses the extent mapping information may be switched to a wait state and written to the wait list.

대안적으로, 상기 제 1 디스크에 저장된 상기 익스텐트에 대한 이동은 상기 디스크스페이스에 새로운 디스크가 추가되거나, 상기 하나 이상의 디스크가 제거되거나, 또는 상기 적어도 두 개의 디스크 중 하나에서 오류가 발생하는 경우, 리밸런싱을 위해 결정될 수 있다.Alternatively, a move to the extent stored on the first disk may occur if a new disk is added to the disk space, the one or more disks are removed, or an error occurs in one of the at least two disks. Can be determined for balancing.

대안적으로, 상기 프로세서가 상기 익스텐트 맵핑 정보의 업데이트에 기초하여, 상기 익스텐트에 대한 기록 작업을 재개시키는 단계를 더 포함할 수 있다.Alternatively, the processor may further include resuming a recording operation on the extent based on the update of the extent mapping information.

대안적으로, 상기 프로세서가 상기 제 1 디스크에 위치한 익스텐트를 삭제하는 단계를 더 포함할 수 있다.In the alternative, the processor may further include deleting an extent located on the first disk.

또한, 본 개시의 일 실시예에 따라 컴퓨팅 장치의 하나 이상의 프로세서에서 수행되는 익스텐트(extent) 이동 방법이 개시된다. 상기 방법은 상기 프로세서가 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 익스텐트(extent)에 대한 이동을 결정하는 단계, 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하는 단계, 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하는 단계, 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키는 단계 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하는 단계를 포함할 수 있다.Also disclosed is an extent movement method performed in one or more processors of a computing device, in accordance with one embodiment of the present disclosure. The method includes determining, by the processor, a movement to an extent stored on a first disk of the disk space, the disk space including at least two disks, wherein the processor determines an extent for the extent. Determining whether a write operation for the extent exists based on mapping information, and when the write operation for the extent does not exist, the processor read-only the state of the extent in the extent mapping information. ), The processor moving the extent located on the first disk to the second disk, and the processor updating the extent mapping information based on the completion of the disk movement of the extent. have.

또한, 본 개시의 일 실시예에 따라 컴퓨팅 장치가 개시된다. 상기 컴퓨팅 장치는 하나 이상의 프로세서 및 상기 하나 이상의 프로세서에서 실행가능한 명령들을 저장하는 메모리를 포함하고, 상기 하나 이상의 프로세서는 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트에 대한 이동을 결정하고, 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하고, 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하고, 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키고, 그리고 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트할 수 있다.In addition, a computing device is disclosed in accordance with one embodiment of the present disclosure. The computing device includes at least one processor and a memory storing instructions executable on the at least one processor, the at least one processor comprising a disk space, the disk space including at least two disks. Determine a movement to the extent stored in the disk, determine whether a write operation for the extent exists based on extent mapping information for the extent, and if the write operation for the extent does not exist, map the extent Change the state of the extent in the information to read-only, move the extent located on the first disk to the second disk, and update the extent mapping information based on completion of the disk movement of the extent can do.

본 개시는 데이터 파일의 익스텐트를 다른 저장 위치로 이동시키는 방법을 제공할 수 있다.The present disclosure can provide a method for moving extents of a data file to another storage location.

도 1은 본 개시내용의 일 실시예에 따른 데이터베이스 시스템에 대한 개략도를 도시한다.
도 2는 본 개시의 일 실시예에 따른 디스크스페이스(Disk space)에 대한 개념도이다.
도 3은 본 개시의 일 실시예에 따른 익스텐트 이동 방법의 전체 순서도(Flow chart)이다.
도 4는 본 개시의 일 실시예에 따른 익스텐트의 이동 명령 수신으로부터 익스텐트의 이동 완료까지의 부분 순서도이다.
도 5는 본 개시의 일 실시예에 따른 익스텐트의 이동 완료부터 익스텐트에 대한 기록 작업 재개까지의 부분 순서도이다.
도 6은 본 개시의 일 실시예와 관련된 데이터베이스 시스템에서 익스텐트를 이동하기 위한 수단을 도시한 순서도이다.
도 7은 본 개시의 일 실시예와 관련된 데이터베이스 시스템에서 익스텐트를 이동하기 위한 모듈을 도시한 순서도이다.
도 8은 본 개시의 일 실시예와 관련된 데이터베이스 시스템에서 익스텐트를 이동하기 위한 로직을 도시한 순서도이다.
도 9는 본 개시의 일 실시예와 관련된 데이터베이스 시스템에서 익스텐트를 이동하기 위한 회로를 도시한 순서도이다.
도 10은 본 개시의 일 실시예에 따른 컴퓨팅 장치의 블록 구성도(Block diagram)이다.
1 shows a schematic diagram of a database system according to one embodiment of the disclosure.
2 is a conceptual diagram of a disk space according to an embodiment of the present disclosure.
3 is a flow chart of an extent movement method according to an embodiment of the present disclosure.
4 is a partial flowchart illustrating a movement of an extent from completion of movement of the extent to completion of movement of the extent according to an embodiment of the present disclosure.
5 is a partial flow chart from completion of movement of an extent to resumption of recording operation on the extent according to one embodiment of the present disclosure.
6 is a flow chart illustrating means for moving extents in a database system in accordance with one embodiment of the present disclosure.
7 is a flowchart illustrating a module for moving extents in a database system related to an embodiment of the present disclosure.
8 is a flow diagram illustrating logic for moving extents in a database system in accordance with one embodiment of the present disclosure.
9 is a flow chart illustrating circuitry for moving extents in a database system in accordance with one embodiment of the present disclosure.
10 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 to refer to like elements throughout. In this specification, various descriptions are presented to provide an understanding of the present disclosure. It is evident, 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개 이상의 컴퓨터들 사이에 분배될 수 있다. 또한, 이러한 컴포넌트들은 그 내부에 저장된 다양한 데이터 구조들을 갖는 다양한 컴퓨터 판독가능한 매체로부터 실행할 수 있다. 컴포넌트들은 예를 들어 하나 이상의 데이터 패킷들을 갖는 신호(예를 들면, 로컬 시스템, 분산 시스템에서 다른 컴포넌트와 상호작용하는 하나의 컴포넌트로부터 데이터 및/또는 신호를 통해 다른 시스템과 인터넷과 같은 네트워크를 통한 데이터)에 따라 로컬 및/또는 원격 처리들을 통해 통신할 수 있다. As used herein, the terms “component”, “module”, “system” and the like refer to computer-related entities, hardware, firmware, software, a combination of software and hardware, or the execution of software. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an thread of execution, a program, and / or a computer. For example, both an application running on a computing device and the computing device can be a component. One or more components can reside within a processor and / or thread of execution, and a component can be localized within one computer or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. The components may for example be signals having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and / or data over a network such as another system and the internet via signals and / or signals May communicate via local and / or remote processes.

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

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

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

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

데이터베이스 서버(100)는, 예를 들어, 마이크로프로세서, 메인프레임 컴퓨터, 디지털 싱글 프로세서, 휴대용 디바이스 및 디바이스 제어기 등과 같은 임의의 타입의 컴퓨터 시스템 또는 컴퓨팅 디바이스를 포함할 수 있다. 이러한 데이터베이스 서버(100)들 각각은 DBMS(Database Management System)(110) 및 영구 저장 매체(persistent storage)(130)를 포함할 수 있다. 또한, 데이터베이스 서버(100)는 쿼리를 실행하기 위한 장치와 상호 교환가능하게 사용될 수도 있다.Database server 100 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 100 may include a database management system (DBMS) 110 and a persistent storage 130. In addition, the database server 100 may be used interchangeably with an apparatus for executing a query.

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

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

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

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

클라이언트(200)와 데이터베이스 서버(100) 또는 데이터베이스 서버들은 네트워크(미도시)를 통하여 서로 통신할 수 있다. 본 발명의 일 실시예에 따른 네트워크는 공중전화 교환망(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 200 and the database server 100 or database servers may communicate with each other via a network (not shown). The network according to an embodiment of the present invention is a Public Switiched Telephone Network (PSTN), x Digital Subscriber Line (xDSL), Rate Adaptive DSL (RADSL), Multi Rate DSL (MDSL), and Very High Speed DSL (VDSL). ), Various wired communication systems such as Universal Asymmetric DSL (UDASL), 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)를 포함할 수도 있으며, 이에 따라 복수의 데이터베이스 서버들은 이러한 데이터베이스 링크를 통해 서로 통신하여 다른 데이터베이스 서버(100)로부터의 데이터를 가져올 수 있다. 본 명세서에서 설명된 기술들은 위에서 언급된 네트워크들뿐만 아니라, 다른 네트워크들에서도 사용될 수 있다.In addition, the networks presented herein include Code Division Multi Access (CDMA), Time Division Multi Access (TDMA), Frequency Division Multi Access (FDMA), Orthogonal Frequency Division Multi Access (OFDMA), and Single Carrier-FDMA (SC-FDMA). And various wireless communication systems such as < RTI ID = 0.0 >). ≪ / RTI > For example, the network may include a database link (dblink), such that a plurality of database servers may communicate with each other via such database link to obtain data from another database server 100. The techniques described herein may be used in the networks mentioned above as well as in other networks.

도 2는 본 개시의 일 실시예에 따른 디스크스페이스(Disk space)(300)에 대한 개념도이다.2 is a conceptual diagram of a disk space 300 according to an embodiment of the present disclosure.

데이터베이스 서버(100)는 데이터를 저장할 수 있는 디스크스페이스(300) 및 프로세서(111)를 포함할 수 있다. 여기서 디스크스페이스(disk space)는 네트워크를 통해 데이터베이스 서버(100)로 전송되는 암호화된 신호, 데이터 베이스 테이블, 또는 데이트의 흐림인 데이터스트림(Data stream)을 저장할 수 있다. 그리고, 디스크스페이스(300)는 데이터 파일을 저장할 수 있는 하나 이상의 디스크(310, 330)를 포함할 수 있다. 또한, 프로세서(111)는 수신되는 데이터스트림을 익스텐트(extent) 단위로 분리하여 하나 이상의 디스크 중 하나에 저장할 것을 결정할 수 있다.The database server 100 may include a disk space 300 and a processor 111 capable of storing data. The disk space may store an encrypted signal, a database table, or a data stream that is a blur of data transmitted to the database server 100 through a network. The disk space 300 may include one or more disks 310 and 330 capable of storing data files. In addition, the processor 111 may determine to separate the received data stream into extents and store the data stream in one or more disks.

이하의 본문에서, 익스텐트(extent)는 0 bit 이상의 크기를 가진 일련의 데이터 단위로서 데이터 저장을 위한 기본 단위를 의미할 수 있다. 예를 들어, 익스텐트는 1Mb의 크기로 구성될 수 있으나, 본 개시는 이에 제한되지 않는다. 그리고, 익스텐트는 이동하기 전 제 1 디스크(310)에 위치한 원본 익스텐트 및 이동 후 제 2 디스크(330)에 저장되는 복제 익스텐트를 포함할 수 있다.In the following text, an extent is a series of data units having a size of 0 bit or more and may mean a basic unit for data storage. For example, the extent may be configured to a size of 1Mb, but the present disclosure is not limited thereto. The extent may include an original extent located on the first disk 310 before moving and a copy extent stored on the second disk 330 after moving.

프로세서(111)는 데이터스트림을 익스텐트 단위로 분할하여 하나 이상의 디스크(310, 330)에 할당할 수 있다. 여기서 하나 이상의 디스크(310, 330)는 디스크스페이스(300)가 포함하는 디스크 중 적어도 하나일 수 있다. 예를 들어, 프로세서(111)는 네트워크를 통해 "A, A', B, B', C 및 C'"라는 데이터스트림을 수신하는 경우, 데이터스트림을 "A(311)", "A'(331)", "B(312)". "B'(332)", "C(313)" 및 "C'(333)"라는 6개의 익스텐트로 분할할 수 있다. 여기서 각각의 익스텐트는 1Mb의 크기로 구성될 수 있다. 그리고, 프로세서는 도 2에 도시된 바와 같이, 제 1 디스크(310)에 "A(311)", "B(312)", "C(313)"를 할당하고, 제 2 디스크(330)에 "A'(331)", "B'(332)" 및 "C'(333)"를 각각 할당할 수 있다. 이에 따라, 프로세서(111)는 데이터스트림을 분할하여 하나 이상의 디스크(310, 330)에 나누어 저장할 수 있다. 전술한 익스텐트의 할당 및 저장 동작에 대한 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.The processor 111 may divide the data stream into extent units and allocate the data stream to one or more disks 310 and 330. Here, the one or more disks 310 and 330 may be at least one of the disks included in the disk space 300. For example, when the processor 111 receives a data stream of "A, A ', B, B', C and C '" through a network, the processor 111 may designate the data stream as "A 311" or "A' ( 331 "," B 312 ". It can be divided into six extents, "B '332", "C 313", and "C' 333". Here, each extent may be configured to a size of 1Mb. Then, the processor allocates "A 311", "B 312", and "C 313" to the first disk 310, and assigns the second disk 330 as shown in FIG. "A '331", "B' 332", and "C '333" may be allocated respectively. Accordingly, the processor 111 may divide and store the data stream in one or more disks 310 and 330. Detailed descriptions of the above-described allocation and storage operations are merely examples, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 메모리(120)는 각각의 익스텐트가 저장되는 위치에 관련한 익스텐트 맵핑 정보를 저장할 수 있다. 본 개시의 다른 일 실시예에서, 데이터 베이스 서버를 구성하는 노드 중 하나의 노드가 각각의 익스텐트가 저장되는 노드에 관한 정보를 포함하는 익스텐트 맵핑 정보를 저장할 수도 있다. 보다 구체적으로, 프로세서(111)는 각각의 익스텐트가 저장되는 위치(예컨대, 디스크 넘버 및 저장 위치)에 대한 익스텐트 맵핑 정보를 DB의 인스턴스 캐시, 또는 메모리(120) 상에 저장할 수 있다. 그리고, 프로세서(111)의 워커 스레드는 익스텐트에 관한 작업을 수행하기 위해 익스텐트 맵핑 정보에 기초하여 해당 익스텐트로 접근할 수 있다. The memory 120 according to an embodiment of the present disclosure may store extent mapping information related to a location where each extent is stored. In another embodiment of the present disclosure, one of the nodes constituting the database server may store extent mapping information including information about a node where each extent is stored. More specifically, the processor 111 may store extent mapping information on a location (eg, a disk number and a storage location) where each extent is stored on the instance cache of the DB or the memory 120. In addition, the worker thread of the processor 111 may access the corresponding extent based on the extent mapping information to perform a task related to the extent.

추가적으로, 데이터베이스 서버(100)는 적어도 두 개 이상의 노드(컴퓨팅 장치)(미도시)를 포함할 수 있다 노드는 DBMS 노드 및 저장공간 관리자(storage manager) 노드를 포함할 수 있다. 여기서 저장공간 관리자는 DBMS(110)의 동작에 관련된 명령을 생성하거나, 전달 가능한 별도의 노드일 수 있다. 즉, 저장공간 관리자는 DBMS 와 분리된 노드일 수도 있고, DBMS와 동일한 컴퓨팅 장치에서 동작하는 다른 인스턴스 일 수도 있다. 보다 구체적으로, 데이터베이스 서버(100)는 하나 이상의 프로세서(111)를 포함할 수 있다. 그리고, DBMS(110)와 저장공간 관리자 각각이 서로 상이한 프로세서에 의하여 동작하는 별도의 인스턴스일 수 있다. 또한, 여기서 저장공간 관리자는 DBMS(110)가 영구 저장 매체(130)를 관리함에 있어서, 임의의 동작을 수행할 수 있도록 제어하는 명령(예컨대, 익스텐트에 대한 이동 명령 등)을 DBMS(110)로 전송할 수 있다. 그리고, 저장공관 관리자는 익스텐트 맵핑 정보를 별도의 버퍼 캐시에 저장하여 관리할 수 있다. 또한, 실시예에 따라 저장공간 관리자는 데이터베이스 시스템(10)에 포함되고, 데이터베이스 서버(100)와 상이한 컴퓨팅 장치로서 네트워크를 통해 데이터베이스 서버(100)와 통신하도록 구성될 수 있다. Additionally, the database server 100 may include at least two nodes (computing devices) (not shown). The node may include a DBMS node and a storage manager node. The storage manager may be a separate node capable of generating or delivering a command related to the operation of the DBMS 110. That is, the storage manager may be a node separate from the DBMS, or another instance running on the same computing device as the DBMS. More specifically, the database server 100 may include one or more processors 111. In addition, each of the DBMS 110 and the storage manager may be a separate instance operated by different processors. In addition, the storage manager is a DBMS 110 to control the DBMS 110 to perform any operation in managing the persistent storage medium 130 (for example, a move command to the extent, etc.) to the DBMS (110). Can transmit The storage mission manager may manage the extent mapping information by storing the extent mapping information in a separate buffer cache. In addition, according to an embodiment, the storage manager may be included in the database system 10 and configured to communicate with the database server 100 via a network as a computing device different from the database server 100.

또한, 본 개시의 일 실시예에 따른 익스텐트 맵핑 정보는 익스텐트의 주소 정보, 익스텐트의 상태 정보 및 익스텐트의 트랙잭션 시퀀스 넘버(Transaction sequence number) 중 적어도 하나를 포함할 수 있다. 여기서 익스텐트의 주소 정보는 디스크 넘버, 익스텐트의 저장 위치 등의 익스텐트에 접근하기 위한 정보를 포함할 수 있다. 그리고, 익스텐트 상태 정보는 해당 익스텐트에 대하여 작업이 수행되고 있는지를 표시(예컨대, 사용 중(loading), 사용 완료(laded))하거나, 또는 해당 익스텐트에 대한 접근 가능 여부를 표시(예컨대, 읽기 전용(read-only), 읽기/기록 가능(read/write available) 등)할 수 있는 형태로 구성될 수 있다. 그리고, 익스텐트의 트랜잭션 시퀀스 넘버는 각각의 익스텐트에 대한 트랜잭션의 발생 시간에 기초하여 결정되는 사전 설정된 형식의 타임 스탬프일 수 있다. 예를 들어, 트랜잭션 시퀀스 넘버는 16진법의 8자리 수로 구성되어, 각각의 익스텐트 별로 익스텐트 맵핑 정보 상에 저장될 수 있다. 전술한 트랜잭션 스퀸스 넘버의 구성에 관한 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다. 전술한 익스텐트 맵핑 정보에 대한 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.In addition, the extent mapping information according to an embodiment of the present disclosure may include at least one of address information of the extent, state information of the extent, and a transaction sequence number of the extent. The address information of the extent may include information for accessing the extent, such as a disk number and a storage location of the extent. The extent status information indicates whether work is being performed on the extent (eg, loading, used), or whether access to the extent is available (eg, read only) read-only), read / write available, etc.). And, the transaction sequence number of the extent may be a time stamp in a preset format that is determined based on the time of occurrence of the transaction for each extent. For example, the transaction sequence number is composed of eight hexadecimal digits, and may be stored on the extent mapping information for each extent. The description regarding the configuration of the above-described transaction sequence number is only an example and the present disclosure is not limited thereto. Detailed description of the extent mapping information described above is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따른 익스텐트 맵핑 정보상의 익스텐트의 트랜잭션 시퀸스 넘버는 익스텐트에 대한 작업이 발생하는 경우, 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀸스 넘버로 업데이트 될 수 있다. The transaction sequence number of the extent on the extent mapping information according to an embodiment of the present disclosure may be updated with the transaction sequence number of the worker thread performing the work on the extent when the work on the extent occurs.

보다 구체적으로, 프로세서(111)는 각각의 익스텐트 별 익스텐트 맵핑 정보 및 익스텐트에 대한 작업을 수행하는 워커 스레드를 관리할 수 있다. 그리고, 프로세서(111)는 워커 스레드가 작업을 수행하기 위하여 임의의 익스텐트로 접근하는 경우, 워커 스레드가 포함하는 항목(예컨대, 워커 스레드의 헤더 중 하나의 변수 항목)에 접근 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를 저장할 수 있다. 또한, 프로세서(111)는 익스텐트에 대한 작업이 발생하는 경우, 익스텐트의 트랜잭션 시퀀스 넘버를 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀀스 넘버로 업데이트할 수 있다. 따라서, 프로세서(111)는 워커 스레드가 익스텐트에 접근한 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를, 해당 익스텐트에 대한 익스텐트 맵핑 정보에 저장할 수 있다.More specifically, the processor 111 may manage extent mapping information for each extent and a worker thread that performs work on the extents. In addition, when the worker thread accesses an arbitrary extent to perform a task, the processor 111 is determined based on an access time on an item included in the worker thread (eg, a variable item in one of the headers of the worker thread). You can store the transaction sequence number. In addition, when the work on the extent occurs, the processor 111 may update the transaction sequence number of the extent to the transaction sequence number of the worker thread performing the work on the extent. Therefore, the processor 111 may store, in the extent mapping information for the extent, a transaction sequence number determined based on the time when the worker thread accesses the extent.

그리고 이에 따라, 본 개시의 일 실시예에 따른 프로세서(111)는 익스텐트 맵핑 정보에 기초하여 익스텐트에 대한 기록 작업의 존재 여부를 판단할 수 있다. 이에 대한 자세한 설명은 도 3 및 4를 참조하여 후술한다.Accordingly, the processor 111 according to an embodiment of the present disclosure may determine whether a write operation for an extent exists based on extent mapping information. Detailed description thereof will be described later with reference to FIGS. 3 and 4.

도 3은 본 개시의 일 실시예에 따른 익스텐트 이동 방법의 전체 순서도(Flow chart)이다. 3 is a flow chart of an extent movement method according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따른 익스텐트 이동은 컴퓨팅 장치에 의하여 수행될 수 있다. 여기서 컴퓨팅 장치는 하나 이상의 프로세서(111) 및 하나 이상의 프로세서에서 실행가능한 명령들을 저장하는 메모리를 포함할 수 있다. 이하에서는 컴퓨팅 장치가 익스텐트를 이동하는 순서에 대하여 자세히 서술한다.Extent movement according to one embodiment of the present disclosure may be performed by a computing device. The computing device may include one or more processors 111 and a memory that stores instructions executable on the one or more processors. Hereinafter, the order in which the computing device moves the extents will be described in detail.

본 개시의 일 실시예에 따른 컴퓨팅 장치는 디스크스페이스 중 제 1 디스크(310)에 저장된 익스텐트에 대한 이동을 결정(401)할 수 있다. 여기서 익스텐트에 대한 이동 명령은 외부의 클라이언트(200)로부터 수신하거나, DBMS의 프로세스가 익스텐트의 이동이 필요하다고 판단되는 경우 자체적으로 생성할 수 있다. 또한, 본 개시의 다른 일 실시예에 따라, 컴퓨팅 장치와 상이한 저장공간 관리자 노드로부터 익스텐트에 대한 이동 요청을 수신할 수도 있다.The computing device according to one embodiment of the present disclosure may determine 401 a movement of an extent stored in the first disk 310 of the disk space. Here, the move command for the extent may be received from an external client 200 or may be generated when the DBMS process determines that the extent needs to be moved. Further, according to another embodiment of the present disclosure, a move request for an extent may be received from a storage manager node different from the computing device.

보다 구체적으로, 컴퓨팅 장치는 디스크스페이스(300)에 새로운 디스크가 추가되거나, 하나 이상의 디스크가 제거되거나, 또는 적어도 두 대의 디스크 중 하나에서 오류가 발생하는 경우, 리밸런싱을 위해 제 1 디스크(310)에 저장된 익스텐트를 제 2 디스크(330)로 이동할 것을 결정할 수 있다. 여기서 디스크스페이스는 적어도 두 개의 디스크(310, 330)를 포함할 수 있다. 또한, 본 개시의 다른 일 실시예에서, 데이터 베이스 서버가 복수의 노드로 구성되는 경우 데이터베이스 서버는 저장공간 관리자 노드를 포함할 수도 있다. 또한, 본 개시의 다른 일 실시예에서, 디스크 스페이스는 서로 다른 노드의 디스크를 포함할 수도 있고, 한 노드 내의 복수의 디스크를 포함할 수도 있다. More specifically, the computing device may use the first disk 310 for rebalancing when a new disk is added to the disk space 300, one or more disks are removed, or one of the at least two disks fails. It may be determined to move the extent stored in the second disk 330. The disk space may include at least two disks 310 and 330. Further, in another embodiment of the present disclosure, when the database server is configured with a plurality of nodes, the database server may include a storage manager node. Further, in another embodiment of the present disclosure, the disk space may include disks of different nodes or may include a plurality of disks in one node.

보다 구체적으로, 컴퓨팅 장치는 디스크스페이스(300)에 제 3 디스크(미도시)가 추가됨에 따라, 제 1 디스크(310) 및 제 2 디스크(330)에 저장된 익스텐트들(211, 212, 213, 231, 232, 233) 중 일부를 제 3 디스크(미도시)로 이동시킬 것을 결정할 수 있다. 이에 따라, 컴퓨팅 장치는 디스크들 간의 익스텐트를 재할당함으로써 디스크 간의 리밸런싱을 수행할 수 있다. 여기서 익스텐트 재할당은 예를 들어, 각 디스크의 용량에 기초하여 수행될 수 있다. More specifically, as the third disk (not shown) is added to the disk space 300, the computing device may include extents 211, 212, 213, and 231 stored in the first disk 310 and the second disk 330. , 232, 233 may be moved to a third disk (not shown). Accordingly, the computing device may perform rebalancing between disks by reallocating extents between the disks. Extent reassignment here may be performed based on, for example, the capacity of each disk.

예를 들어, 10Mb의 용량으로 각각 구성된 제 1 디스크(310) 및 제 2 디스크(330)를 포함하는 디스크스페이스에 10Mb 용량의 제 3 디스크(미도시)가 추가될 수 있다. 이러한 경우, 컴퓨팅 장치는 제 1 디스크(310)에 저장된 익스텐트 "A(311)", "B(312)", "C(313)" 중 "C(313)"를 제 3 디스크(미도시)로 이동시키고, 제 2 디스크(330)에 저장된 익스텐트 "C'(333)"를 제 3 디스크(미도시)로 이동시킬 것을 결정할 수 있다. 전술한 익스텐트 이동 동작의 자세한 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.For example, a third disk (not shown) having a capacity of 10 Mb may be added to a disk space including the first disk 310 and the second disk 330 each having a capacity of 10 Mb. In this case, the computing device may select a third disk (not shown) of the extents “A 311”, “B 312”, and “C 313” stored in the first disk 310. FIG. And move the extent "C '333" stored in the second disk 330 to the third disk (not shown). Detailed description of the extent movement operation described above is merely an example, and the present disclosure is not limited thereto.

그리고, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 해당 익스텐트에 대한 기록 작업의 존재 여부를 판단(402)할 수 있다. 여기서 익스텐트 맵핑 정보가 포함하는 엔트리는 각각의 익스텐트에 대하여 수행되는 작업이 시작된 시간에 기초하여 결정된 트랜잭션 시퀀스 넘버를 저장할 수 있다.In addition, the computing device according to an embodiment of the present disclosure may determine whether there is a write operation for the extent based on the extent mapping information on the extent (402). The entry included in the extent mapping information may store a transaction sequence number determined based on a time at which a work performed on each extent is started.

보다 구체적으로, 컴퓨팅 장치는 데이터스트림을 익스텐트 단위로 분리하여 디스크스페이스가 포함하는 하나 이상의 디스크에 각각 할당할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 각각에 대한 익스텐트 맵핑 정보를 캐시 메모리 또는 메인 메모리에 저장할 수 있다. 여기서 익스텐트 맵핑 정보는 익스텐트의 주소 정보, 익스텐트의 상태 정보 및 익스텐트의 트랜잭션 시퀀스 넘버 중 적어도 하나를 포함할 수 있다. 여기서 트랜잭션 시퀀스 넘버는 시계열적으로 증가하는 타임 스탬프의 종류로써, 시간의 경과에 따라 변동될 수 있다.More specifically, the computing device may divide the data stream into extents and allocate the data streams to one or more disks included in the disk space. The computing device may store extent mapping information for each extent in a cache memory or main memory. The extent mapping information may include at least one of address information of the extent, state information of the extent, and a transaction sequence number of the extent. The transaction sequence number is a type of time stamp that increases in time series and may change with time.

그리고, 컴퓨팅 장치는 익스텐트에 대한 작업을 수행하는 워커 스레드를 포함할 수 있다. 그리고, 컴퓨팅 장치는 워커 스레드가 상기 작업을 수행하기 위하여 임의의 익스텐트로 접근하는 경우, 워커 스레드가 포함하는 항목(예컨대, 워커 스레드의 헤더 중 하나의 변수 항목)에 접근 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를 저장할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 발생하는 경우, 익스텐트의 트랜잭션 시퀀스 넘버를 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀀스 넘버로 업데이트할 수 있다. 따라서, 컴퓨팅 장치는 워커 스레드가 익스텐트에 접근한 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를, 해당 익스텐트의 익스텐트 맵핑 정보 엔트리에 저장할 수 있다.In addition, the computing device may include a worker thread that performs work on the extents. In addition, when the worker thread accesses any extent to perform the task, the computing device determines a transaction that is determined based on the access time on an item included in the worker thread (eg, a variable item of one of the worker thread's headers). You can store the sequence number. In addition, when a work on an extent occurs, the computing device may update the transaction sequence number of the extent to the transaction sequence number of the worker thread performing the work on the extent. Thus, the computing device may store, in the extent mapping information entry of the extent, the transaction sequence number determined based on the time the worker thread accessed the extent.

이에 따라, 컴퓨팅 장치는 익스텐트 맵핑 정보의 엔트리에 저장된 트랜잭션 시퀀스 넘버와 구동 중인 워커 스레드들에 저장된 트랜잭션 시퀀스 넘버를 각각 비교할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 또는 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는지 여부에 따라, 해당 익스텐트에 대한 작업(예컨대, 해당 익스텐트에 대한 기록 작업)의 존재 여부를 판단할 수 있다.Accordingly, the computing device may compare the transaction sequence number stored in the entry of the extent mapping information with the transaction sequence number stored in the running worker threads, respectively. The computing device determines whether a task (eg, a write operation for the extent) exists for the extent according to whether a worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. Can be determined.

그리고, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트에 대한 작업이 존재한다고 판단한 경우, 익스텐트에 대한 이동 작업을 수행하는 워커 스레드를 슬립(sleep) 상태로 전환할 것을 결정할 수 있다.In addition, when the computing device according to an embodiment of the present disclosure determines that a task for an extent exists, the computing device may determine to switch a worker thread that performs a movement task for the extent to a sleep state.

보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는 경우, 해당 익스텐트에 대한 작업이 존재한다고 판단할 수 있다. 그리고, 컴퓨팅 장치는 해당 익스텐트를 이동하기 위해 접근한 워커 스레드를 슬립 상태로 전환할 것을 결정할 수 있다. 여기서 슬립 상태는 해당 익스텐트에 대한 이동 작업(moving)을 대기하는 것으로, 컴퓨팅 장치는 사전 설정된 시간 이후 워커 스레드가 익스텐트에 다시 접근하도록 결정할 수 있다. 이에 따라, 컴퓨팅 장치는 익스텐트에 대한 기록 작업을 수행하는 워커 스레드가 완료할 때까지 해당 익스텐트의 이동 작업을 수행하는 워커 스레드를 대기시킬 수 있다. 컴퓨팅 장치는 익스텐트의 이동 작업 전에 익스텐트에 대한 워커 스레드의 작업의 유무를 판단하고, 익스텐트에 대한 작업이 존재하지 않는 경우, 이동 작업을 수행함으로써, 트랜잭션에 대한 정합성을 유지할 수 있다. More specifically, the computing device may determine that there is a job for the extent when the worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. The computing device may then decide to put the worker thread that has approached to move the extent to sleep. Here, the sleep state is waiting for a moving operation on the extent, and the computing device may determine that the worker thread accesses the extent again after a preset time. Accordingly, the computing device may wait for the worker thread performing the moving operation of the extent until the worker thread performing the writing operation on the extent is completed. The computing device may maintain consistency in the transaction by determining whether there is a worker thread's work on the extent before the move operation of the extent, and performing a move operation when there is no work on the extent.

그리고, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 익스텐트 맵핑 정보에서 익스텐트의 상태를 읽기 전용(read-only)으로 변경(403)할 수 있다.The computing device according to an embodiment of the present disclosure may change the state of the extent to read-only in the extent mapping information when there is no write operation for the extent (403).

보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버와 워커 스레드의 트랜잭션 시퀀스 넘버를 비교하여, 해당 익스텐트에 대한 기록 작업이 존재하는지 여부를 판단할 수 있다. 그리고, 컴퓨팅 장치가 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 작거나, 또는 같은 트랜잭션 시퀀스 넘버을 가지는 워커 스레드가 존재하지 않으면, 해당 익스텐트에 대한 기록 작업이 존재하지 않는다고 판단할 수 있다. 또한, 컴퓨팅 장치는 익스텐트 맵핑 정보가 포함하는 익스텐트의 상태 정보를 읽기 전용(read-only)으로 변경할 수 있다. 여기서 읽기 전용 상태는 해당 익스텐트에 대한 기록 작업(writing)을 잠금(lock)하는 것으로, 읽기 작업(reading)을 수행하기 위한 워커 스레드의 대한 접근은 허용할 수 있다.More specifically, the computing device may compare the transaction sequence number of the extent mapping information with the transaction sequence number of the worker thread to determine whether a write operation for the extent exists. The computing device may determine that a write operation for the extent does not exist if a worker thread having a transaction sequence number smaller than or equal to the transaction sequence number of the extent mapping information does not exist. In addition, the computing device may change the state information of the extents included in the extent mapping information to read-only. In this case, the read-only state locks writing to a corresponding extent, and may allow access of a worker thread to perform reading.

또한, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 제 1 디스크(310)에 위치한 익스텐트를 제 2 디스크(330)로 이동(404)시킬 수 있다. 보다 구체적으로, 컴퓨팅 장치는 제 1 디스크(310)에 위치한 원본 익스텐트를 판독하여 복사할 수 있다. 그리고, 컴퓨팅 장치는 원본 익스텐트로부터 복사된 복제 익스텐트를 제 2 디스크(330)에 저장할 수 있다. 추가적으로, 익스텐트의 이동이 완료되고 익스텐트 맵핑 정보의 수정이 완료된 이후 컴퓨팅 장치가 제 1 디스크(310)에 위치한 원본 익스텐트를 삭제할 수 있다. 익스텐트 이동뿐 아니라 익스텐트 맵핑 정보의 수정이 완료된 이후에 이동 전 익스텐트를 삭제함으로써, 본 개시의 일 실시예의 익스텐트 이동 방법은 정합성을 유지 하면서 컴퓨팅 장치의 저장 공간을 효율적으로 관리할 수 있다. In addition, the computing device according to an embodiment of the present disclosure may move 404 the extent located in the first disk 310 to the second disk 330. More specifically, the computing device may read and copy the original extent located on the first disk 310. In addition, the computing device may store the duplicate extent copied from the original extent on the second disk 330. In addition, after the movement of the extent is completed and the modification of the extent mapping information is completed, the computing device may delete the original extent located on the first disk 310. By deleting the extent before movement after the modification of the extent mapping information as well as the extent movement is completed, the extent movement method of an embodiment of the present disclosure can efficiently manage storage space of the computing device while maintaining consistency.

그리고, 컴퓨팅 장치는 익스텐트에 대한 기록 작업이 완료된 경우, 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버를 워커 스레드의 트랜잭션 시퀀스 넘버로 수정할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트에 대한 워커 스레드의 기록 작업이 완료되는 경우, 워커 스레드의 트랜잭션 시퀀스 넘버를 초기화할 수 있다. 여기서 트랜잭션 시퀀스 넘버의 초기화란 작업 완료 시점의 트랜잭션 시퀀스 넘버로의 변경일 수 있다. 추가적으로, 트랜잭션 시퀀스 넘버의 초기화란 사전 설정된 값(예컨대, 16진법 8자리 수의 "FFFFFFFF" 등)으로의 변경을 의미할 수도 있다. 전술한 사전 설정된 값은 예시일 뿐이며 본 개시는 이에 제한되지 않는다. When the recording operation for the extent is completed, the computing device may modify the transaction sequence number of the extent mapping information to the transaction sequence number of the worker thread. More specifically, the computing device may initialize the transaction sequence number of the worker thread when the writing operation of the worker thread for the extent is completed. Herein, the initialization of the transaction sequence number may be a change to the transaction sequence number at the completion of the work. In addition, the initialization of the transaction sequence number may mean a change to a preset value (eg, FFFFFFFF, etc. of 8 hexadecimal digits). The above-described preset values are merely examples and the present disclosure is not limited thereto.

그리고, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트의 디스크 이동 완료에 기초하여 익스텐트 맵핑 정보를 업데이트(405)할 수 있다. 그리고, 실시예에 따라 컴퓨팅 장치는 익스텐트의 디스크 이동이 완료된 경우, 익스텐트에 대한 작업이 존재하는지 여부를 판단할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하는 경우, 익스텐트 맵핑 정보의 익스텐트 상태를 사용 중으로 변경하고, 작업 완료를 기다려 익스텐트 맵핑 정보를 업데이트 하거나, 익스텐트에 대한 작업이 존재하지 않는 경우, 익스텐트 맵핑 정보를 업데이트(405)할 수 있다.The computing device according to an embodiment of the present disclosure may update the extent mapping information 405 based on the completion of the disk movement of the extent. According to an embodiment, when the disk movement of the extent is completed, the computing device may determine whether a task for the extent exists. The computing device may also change the extent state of the extent mapping information to active if there is a job for the extent, wait for the job to complete, update the extent mapping information, or if the job for the extent does not exist, the extent mapping information. May update 405.

보다 구체적으로, 컴퓨팅 장치는 각각의 익스텐트에 대한 익스텐트 맵핑 정보의 엔트리를 캐시 상에 저장할 수 있다. 여기서 익스텐트 맵핑 정보는 익스텐트의 주소 정보(예컨대, 디스크 넘버 등), 익스텐트의 상태 정보 및 익스텐트의 트랜잭션 시퀀스 넘버 중 적어도 하나를 포함할 수 있다. 또한, 트랜잭션 시퀀스 넘버는 시계열적으로 증가하는 타임 스탬프의 종류로써, 시간의 경과에 따라 변동될 수 있다. 그리고, 컴퓨팅 장치는 익스텐트에 대한 이동 작업을 위해 접근하는 워커 스레드가 포함하는 항목에 접근 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를 저장할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 이동 작업이 발생하는 경우, 익스텐트의 트랜잭션 시퀀스 넘버를 익스텐트에 대한 이동 작업을 수행하는 워커 스레드의 트랜잭션 시퀀스 넘버로 업데이트할 수 있다. 따라서, 컴퓨팅 장치는 워커 스레드가 익스텐트에 접근한 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를, 해당 익스텐트의 익스텐트 맵핑 정보 엔트리에 저장할 수 있다.More specifically, the computing device may store an entry of extent mapping information for each extent on the cache. The extent mapping information may include at least one of address information (eg, a disk number) of the extent, state information of the extent, and a transaction sequence number of the extent. In addition, the transaction sequence number is a type of time stamp that increases in time series and may change with time. The computing device may store a transaction sequence number that is determined based on the access time in an item included in a worker thread that accesses a move operation on an extent. In addition, when a move operation on the extent occurs, the computing device may update the transaction sequence number of the extent to the transaction sequence number of the worker thread performing the move operation on the extent. Thus, the computing device may store, in the extent mapping information entry of the extent, the transaction sequence number determined based on the time the worker thread accessed the extent.

그리고, 컴퓨팅 장치는 익스텐트 맵핑 정보의 엔트리에 저장된 트랜잭션 시퀀스 넘버와 구동 중인 워커 스레드들에 저장된 트랜잭션 시퀀스 넘버를 각각 비교할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 또는 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는지 여부에 따라, 해당 익스텐트에 대한 작업(예컨대, 해당 익스텐트에 대한 판독, 기록 작업)의 존재 여부를 판단할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는 경우, 해당 익스텐트에 대한 작업이 존재한다고 판단할 수 있다. 반면에, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하지 않는 경우, 해당 익스텐트에 대한 작업이 존재하지 않는다고 판단할 수 있다. The computing device may compare the transaction sequence number stored in the entry of the extent mapping information with the transaction sequence number stored in the running worker threads, respectively. In addition, the computing device determines whether a work thread (for example, a read or write operation for the extent) for the extent depends on whether a worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. It can be determined whether it exists or not. More specifically, the computing device may determine that there is a job for the extent when the worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. On the other hand, the computing device may determine that there is no work for the extent when the worker thread with the transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information does not exist.

또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하는 경우, 익스텐트 맵핑 정보가 포함하는 익스텐트 상태를 사용 중(loading)으로 변경할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하지 않거나, 또는 완료된 후, 상기 익스텐트 상태를 사용 완료(loaded)로 변경할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 상태가 사용 완료로 변경될 때까지 익스텐트 맵핑 정보에 대한 업데이트를 대기할 수 있다. 본 개시의 일 실시예에서, 익스텐트에 대한 작업(예를 들어, 판독 작업 등)이 존재하는 경우, 익스텐트가 기존 저장 위치 및 이동된 저장 위치에 저장된 상황에서, 익스텐트에 접근하기 위한 정보를 포함하는 익스텐트 맵핑 정보에 대한 업데이트를 대기함으로써, 익스텐트에 대한 작업은 기존 저장 위치에 저장된 익스텐트에 대해 수행될 수 있어, 익스텐트의 이동으로 인한 작업 불가능 시간을 최소화할 수 있다. In addition, when a task for an extent exists, the computing device may change the extent state included in the extent mapping information to loading. In addition, the computing device may change the extent state to loaded after there is no work on the extent or after completion. The computing device may then wait for an update to the extent mapping information until the extent state changes to complete use. In one embodiment of the present disclosure, if there is a task for an extent (eg, a read operation, etc.), the extent includes information for accessing the extent, in the situation where the extent is stored in the existing storage location and the moved storage location. By waiting for updates to extent mapping information, work on extents can be performed on extents stored in existing storage locations, thereby minimizing downtime due to movement of extents.

본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트 맵핑 정보의 익스텐트 상태가 사용 중인 경우, 익스텐트 맵핑 정보에 접근하는 워커 스레드를 대기 상태로 전환하고 대기 리스트에 기록할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보가 포함하는 익스텐트 상태에 기초하여 워커 스레드의 접근을 허용할 것을 결정할 수 있다. 여기서 익스텐트 상태는 익스텐트에 대하여 작업이 수행되고 있는지를 표시하기 위한 사용 중(loading), 또는 사용 완료(loaded)일 수 있고, 해당 익스텐트에 대한 접근 가능 여부를 표시하기 위한 읽기 전용(read-only), 또는 읽기/기록 가능(read/write available) 등의 형태로 구성될 수 있다.According to an embodiment of the present disclosure, when the extent state of the extent mapping information is in use, the computing device may switch a worker thread that accesses the extent mapping information to the standby state and write it to the standby list. More specifically, the computing device may determine to allow access of the worker thread based on the extent state included in the extent mapping information. Where the extent status can be loading or loaded to indicate that work is being performed on the extent, and read-only to indicate whether the extent is accessible. , Or read / write available.

그리고, 컴퓨팅 장치는 익스텐트 상태가 사용 중인 익스텐트에 대하여 워커 스레드가 접근하는 경우, 워커 스레드의 동작을 보류하도록 결정할 수 있다. 그리고, 컴퓨팅 장치는 캐시 상에 대기 리스트를 생성하여 동작이 보류된 하나 이상의 워커 스레드를 순서대로 적층시킬 수 있다. 여기서 대기 리스트는 하나의 익스텐트 별로 생성되거나, 디스크 별로 생성되거나, 또는 디스크스페이스 전체에 대한 하나의 대기 리스트로 생성될 수 있다. 또한, 컴퓨팅 장치는 사전 설정된 시간 이후 익스텐트 상태를 재확인하고, 익스텐트 상태가 사용 완료인 경우, 상기 워커 스레드의 동작을 재개할 것을 결정할 수 있다. The computing device may determine to suspend the operation of the worker thread when the worker thread approaches the extent in which the extent state is in use. In addition, the computing device may generate a wait list on the cache to sequentially stack one or more worker threads whose operation is suspended. The wait list may be generated for one extent, for each disk, or for one wait list for the entire disk space. In addition, the computing device may reconfirm the extent state after a preset time and determine to resume operation of the worker thread if the extent state is complete.

이에 따라, 본 개시의 일 실시예에 따른 익스텐트 이동 방법은 익스텐트를 이동하는 동작에 있어서, 읽기(read) 요청이 막히는 시간을 최소화 시킬 수 있다. 또한, 엔트리와 워커 스레드 각각의 트랜잭션 시퀀스 넘버만을 비교함으로써 익스텐트에 대한 작업 여부를 판단할 수 있기 때문에 메모리 사용량을 줄일 수 있다. Accordingly, the extent movement method according to an embodiment of the present disclosure can minimize the time that the read request is blocked in the movement of the extent. In addition, by comparing only the transaction sequence numbers of the entry and the worker thread, it is possible to determine whether to work on the extent, thereby reducing the memory usage.

그리고, 각각의 익스텐트에 대한 기록 작업 중인지 여부를 판단하여 익스텐트 이동 작업을 수행하기 때문에 데이터의 정합성이 유지될 수 있다. 또한, 익스텐트에 대한 I/O 작업이 수행 중일 때, 익스텐트 맵핑 정보의 업데이트를 대기 시킬 수 있어 데이터의 중복 및 오류를 방지할 수 있다.In addition, since the extent movement operation is performed by determining whether the recording operation is performed for each extent, the consistency of data can be maintained. In addition, when I / O work on an extent is being performed, update of extent mapping information can be waited to prevent duplication and error of data.

본 개시의 일 실시예에 따른 익스텐트 이동 방법은, 익스텐트에 대한 판독 작업을 허용한 상태로 익스텐트를 다른 저장 위치에 복제하는 작업을 수행함으로써, 익스텐트에 대한 판독 작업이 막히는(block) 시간을 최소화할 수 있다. 또한, 본 개시의 일 실시예에 따른 익스텐트 이동 방법은, 익스텐트에 대한 판독 작업의 존재 여부를 확인한 후 작업이 존재하지 않는 경우에만 익스텐트의 저장 위치를 나타내는 익스텐트 맵핑 정보를 업데이트 함으로써, 정합성을 유지할 수 있다. 즉 본 개시의 일 실시예에 따른 익스텐트 이동 방법은 익스텐트에 대한 판독 및 기록 작업이 막히는 시간을 최소화 하면서도 정합성을 유지할 수 있어 데이터베이스 컴퓨터 장치의 성능을 향상시킬 수 있다. Extent movement method according to an embodiment of the present disclosure, by performing the operation of duplicating the extent to another storage location while allowing the read operation for the extent, thereby minimizing the time that the read operation on the extent is blocked (block). Can be. In addition, the extent movement method according to an embodiment of the present disclosure may maintain consistency by checking the existence of a read operation for an extent and then updating extent mapping information indicating a storage location of the extent only when the operation does not exist. have. That is, the extent movement method according to an embodiment of the present disclosure can maintain the consistency while minimizing the time that the read and write operations on the extents are blocked, thereby improving the performance of the database computer device.

도 4는 본 개시의 일 실시예에 따른 익스텐트의 이동 명령 수신으로부터 익스텐트의 이동 완료까지의 부분 순서도이다.4 is a partial flowchart illustrating a movement of an extent from completion of movement of the extent to completion of movement of the extent according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따른 컴퓨팅 장치는 제 1 디스크에 저장된 익스텐트에 대한 이동을 결정(501)할 수 있다. 여기서 익스텐트에 대한 이동은 디스크스페이스(300)에 새로운 디스크가 추가되거나, 하나 이상의 디스크가 제거되거나, 또는 적어도 두 개의 디스크 중 하나에서 오류가 발생하는 경우, 리밸런싱을 위해 결정될 수 있다. 전술한 익스텐트에 대한 이동이 결정되는 상황에 대한 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다. The computing device according to one embodiment of the present disclosure may determine 501 a movement for an extent stored on the first disk. Here, the movement to extent may be determined for rebalancing when a new disk is added to the disk space 300, one or more disks are removed, or an error occurs in one of the at least two disks. The description of the situation in which the movement of the above-described extent is determined is merely an example, and the present disclosure is not limited thereto.

보다 구체적으로, 컴퓨팅 장치는 디스크스페이스(300)에 새로운 디스크가 추가되거나, 하나 이상의 디스크가 제거되거나, 또는 적어도 두 대의 디스크 중 하나에서 오류가 발생하는 경우, 리밸런싱을 위해 제 1 디스크(310)에 저장된 익스텐트를 제 2 디스크(330)로 이동할 것을 결정할 수 있다. 여기서 디스크스페이스는 적어도 두 개의 디스크(310, 330)를 포함할 수 있다. 또한, 컴퓨팅 장치는 실시예에 따라 DBMS 프로세서 및 저장공간 관리자 노드를 포함할 수 있다. 그리고, 저장공간 관리자 노드는 DBMS 프로세서로 익스텐트의 이동에 관한 명령을 전송할 수 있다.More specifically, the computing device may use the first disk 310 for rebalancing when a new disk is added to the disk space 300, one or more disks are removed, or one of the at least two disks fails. It may be determined to move the extent stored in the second disk 330. The disk space may include at least two disks 310 and 330. In addition, the computing device may include a DBMS processor and a storage manager node in accordance with embodiments. The storage manager node may transmit a command about moving an extent to the DBMS processor.

본 개시의 일 실시예에 따른 익스텐트 맵핑 정보는 익스텐트의 주소 정보, 익스텐트의 상태 정보 및 익스텐트의 트랙잭션 시퀀스 넘버(Transaction sequence number) 중 적어도 하나를 포함할 수 있다. 그리고, 익스텐트 맵핑 정보는 각각의 익스텐트 별로 구성되어 캐시나 메모리, 그리고 외부의 저장공간 관리자 중 적어도 하나 이상에 저장될 수 있다. Extent mapping information according to an embodiment of the present disclosure may include at least one of address information of the extent, state information of the extent, and a transaction sequence number of the extent. The extent mapping information may be configured for each extent and stored in at least one of a cache, a memory, and an external storage manager.

여기서 익스텐트의 주소 정보는 디스크 넘버, 익스텐트의 저장 위치 등의 익스텐트에 접근하기 위한 정보를 포함할 수 있다. 그리고, 익스텐트 상태 정보는 해당 익스텐트에 대하여 작업이 수행되고 있는지를 표시(예컨대, 사용 중(loading), 사용 완료(laded))하거나, 또는 해당 익스텐트에 대한 접근 가능 여부를 표시(예컨대, 읽기 전용(read-only), 읽기/기록 가능(read/write available) 등)할 수 있는 형태로 구성될 수 있다. 그리고, 익스텐트의 트랜잭션 시퀀스 넘버는 각각의 익스텐트에 대한 트랜잭션의 발생 시간에 기초하여 결정되는 사전 설정된 형식의 타임 스탬프일 수 있다. The address information of the extent may include information for accessing the extent, such as a disk number and a storage location of the extent. The extent status information indicates whether work is being performed on the extent (eg, loading, used), or whether access to the extent is available (eg, read only) read-only), read / write available, etc.). And, the transaction sequence number of the extent may be a time stamp in a preset format that is determined based on the time of occurrence of the transaction for each extent.

그리고, 본 개시의 일 실시예에 따라 익스텐트의 트랜잭션 시퀸스 넘버는 각각의 익스텐트 별로 구성되어 익스텐트 맵핑 정보 상의 엔트리에 저장될 수 있다. 또한, 컴퓨팅 장치는 워커 스레드가 익스텐트로 작업을 위해 접근할 때, 트랜잭션 시퀀스 넘버를 워커 스레드에 저장할 수 있다. 그리고, 익스텐트에 대한 작업이 발생하는 경우, 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀀스 넘버로 업데이트될 수 있다. 이에 따라, 익스텐트 맵핑 정보 상의 각 엔트리에는 해당 익스텐트에 대하여 작업을 수행하기 위해 접근한 워커 스레드의 트랜잭션 시퀀스 넘버가 저장될 수 있다. 이러한 트랜잭션 시퀀스 넘버의 업데이트를 통해 프로세서는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버와 워커 스레드의 트랜잭션 시퀀스 넘버를 비교하여 해당 익스텐트에 대한 작업의 존재 여부를 판단할 수 있다. In addition, according to an embodiment of the present disclosure, the transaction sequence number of an extent may be configured for each extent and stored in an entry on extent mapping information. In addition, the computing device may store the transaction sequence number in the worker thread when the worker thread approaches for work with the extent. When a work on an extent occurs, it may be updated with a transaction sequence number of a worker thread that performs work on the extent. Accordingly, each entry on the extent mapping information may store a transaction sequence number of a worker thread that has accessed to perform a task on the corresponding extent. By updating the transaction sequence number, the processor may compare the transaction sequence number of the extent mapping information with the transaction sequence number of the worker thread to determine whether there is a task for the corresponding extent.

또한, 컴퓨팅 장치는 워커 스레드들에 각각 저장된 트랜잭션 시퀀스 넘버를 확인할 수 있다. 여기서 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 작거나 같은 워커 스레드의 트랜잭션 시퀀스 넘버가 존재하는지 여부를 판단(502)할 수 있다.In addition, the computing device may check the transaction sequence number stored in each of the worker threads. Here, the computing device may determine whether there is a transaction sequence number of a worker thread less than or equal to the transaction sequence number of the extent mapping information (502).

먼저, 컴퓨팅 장치가 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 작거나 같은 워커 스레드의 트랜잭션 시퀀스 넘버가 존재하는 경우, 해당 익스텐트에 대한 작업이 존재한다고 판단(503)할 수 있다.First, when there is a transaction sequence number of a worker thread that is less than or equal to the transaction sequence number of the extent mapping information, the computing device may determine that there is a task for the extent (503).

그리고 이러한 경우, 컴퓨팅 장치는 해당 익스텐트를 이동하기 위해 접근한 워커 스레드(즉, 익스텐트 이동 작업을 수행하는 워커 스레드)를 슬립 상태(sleep)로 전환(504)할 수 있다. 여기서 슬립 상태는 해당 익스텐트에 대한 이동 작업(moving)을 대기하는 것으로, 컴퓨팅 장치는 사전 설정된 시간 이후 워커 스레드가 익스텐트에 다시 접근하도록 결정할 수 있다. 이에 따라, 컴퓨팅 장치는 익스텐트에 대한 기록 작업을 수행하는 워커 스레드가 완료할 때까지 해당 익스텐트의 이동 작업을 수행하는 워커 스레드를 대기시킬 수 있다.In this case, the computing device may switch 504 to a sleep thread (that is, a worker thread performing an extent movement operation) that has approached to move the extent. Here, the sleep state is waiting for a moving operation on the extent, and the computing device may determine that the worker thread accesses the extent again after a preset time. Accordingly, the computing device may wait for the worker thread performing the moving operation of the extent until the worker thread performing the writing operation on the extent is completed.

또한, 컴퓨팅 장치는 익스텐트에 대한 기록 작업이 완료된 경우, 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버를 워커 스레드(즉, 익스텐트에 대한 기록 작업을 수행한 워커 스레드)의 트랜잭션 시퀀스 넘버로 수정(505)할 수 있다. In addition, when the writing operation for the extent is completed, the computing device may modify the transaction sequence number of the extent mapping information to the transaction sequence number of the worker thread (that is, the worker thread that performed the writing operation for the extent) (505). .

보다 구체적으로, 컴퓨팅 장치는 익스텐트에 대한 워커 스레드의 기록 작업이 완료되는 경우, 워커 스레드의 트랜잭션 시퀀스 넘버를 초기화할 수 있다. 여기서 트랜잭션 시퀀스 넘버의 초기화란 작업 완료 시점의 트랜잭션 시퀀스 넘버로의 변경일 수 있다. 추가적으로, 트랜잭션 시퀀스 넘버의 초기화란 사전 설정된 값(예컨대, 16진법 8자리 수의 "FFFFFFFF" 등)으로의 변경을 의미할 수도 있다. More specifically, the computing device may initialize the transaction sequence number of the worker thread when the writing operation of the worker thread for the extent is completed. Herein, the initialization of the transaction sequence number may be a change to the transaction sequence number at the completion of the work. In addition, the initialization of the transaction sequence number may mean a change to a preset value (eg, FFFFFFFF, etc. of 8 hexadecimal digits).

또한, 컴퓨팅 장치가 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 작거나 같은 워커 스레드의 트랜잭션 시퀀스 넘버가 존재하지 않는 경우, 해당 익스텐트에 대한 기록 작업이 완료되었다고 판단(506)할 수 있다.In addition, when there is no transaction sequence number of the worker thread that is less than or equal to the transaction sequence number of the extent mapping information, the computing device may determine that the writing operation for the extent is completed (506).

그리고 이러한 경우, 컴퓨팅 장치는 익스텐트 맵핑 정보가 포함하는 익스텐트의 상태 정보를 읽기 전용(read-only)으로 변경(507)할 수 있다. 여기서 읽기 전용 상태는 해당 익스텐트에 대한 기록 작업(writing)을 잠금(lock)하는 것으로, 읽기 작업(reading)을 수행하기 위한 워커 스레드의 대한 접근은 허용할 수 있다.In this case, the computing device may change the state information of the extent included in the extent mapping information to read-only (507). In this case, the read-only state locks writing to a corresponding extent, and may allow access of a worker thread to perform reading.

또한, 컴퓨팅 장치는 슬립 상태에 있던 익스텐트에 대한 이동 작업을 수행하는 워커 스레드를 어웨이크(awake) 상태로 전환(508)할 수 있다. 여기서 어웨이크 상태란 해당 익스텐트에 대한 이동 작업(moving)을 수행하거나 할 수 있는 상태를 의미하는 것으로, 컴퓨팅 장치는 워커 스레드의 이동 작업을 재개할 수 있다.In addition, the computing device may transition 508 the worker thread that performs the move operation on the extent that was in the sleep state to an awake state. Here, the awake state refers to a state in which moving or moving of the corresponding extent may be performed, and the computing device may resume moving of the worker thread.

그리고, 컴퓨팅 장치는 익스텐트 이동 작업을 수행하는 워커 스레드로 하여금 제 1 디스크(310)에 위치한 익스텐트를 제 2 디스크(330)로 이동(509) 시킬 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트 이동 작업에 해당하는 워커 스레드가 제 1 디스크(310)에 위치한 원본 익스텐트를 복사하도록 할 수 있다. 그리고, 컴퓨팅 장치는 상기 워커 스레드가 원본 익스텐트로부터 복사된 복제 익스텐트를 제 2 디스크(330)에 저장하도록 할 수 있다. 추가적으로, 컴퓨팅 장치는 복제 익스텐트가 제 2 디스크(330)에 저장된 이후, 상기 워커 스레드가 제 1 디스크(310)에 위치한 원본 익스텐트를 삭제하도록 할 수 있다.In addition, the computing device may move 509 an extent located on the first disk 310 to the second disk 330 by a worker thread performing an extent moving operation. More specifically, the computing device may cause the worker thread corresponding to the extent movement task to copy the original extent located on the first disk 310. In addition, the computing device may allow the worker thread to store the duplicate extent copied from the original extent on the second disk 330. Additionally, the computing device may cause the worker thread to delete the original extent located on the first disk 310 after the duplicate extent is stored on the second disk 330.

예를 들어, 도 2에 도시된 바와 같이, 제 1 디스크(310)에 익스텐트 "A(311)", "B(312)" 및 "C(313)"가 저장될 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 "A(311)", "B(312)" 및 "C(313)"를 제 2 디스크(330)로 이동시키기 위한 명령을 수신할 수 있다. 이에 따라, 컴퓨팅 장치는 "A(311)", "B(312)" 및 "C(313)"에 각각 대응되는 익스텐트 맵핑 정보의 16진법 8자리 수로 구성된 트랜잭션 시퀀스 넘버를 확인하고, 동작 중인 워커 스레드의 트랜잭션 시퀀스 넘버를 이와 비교할 수 있다. 여기서 "A(311)"에 대한 트랜잭션 시퀀스 넘버가 "2018AA99", "B(312)"에 대한 트랜잭션 시퀀스 넘버가 "2018AB00", 그리고 "C(313)"에 대한 트랜잭션 시퀀스 넘버가 "2018DD80"일 수 있다. 또한, 동작 중인 워커 스레드들 중 트랜잭션 시퀀스 넘버가 가장 낮은 하나가 "2018AB12"라는 트랜잭션 시퀀스 넘버를 포함할 수 있다. 이에 따라, 컴퓨팅 장치는 익스텐트 "C(313)"에 해당하는 기록 작업이 존재한다고 판단하고, "A(311)" 및 "B(312)"에 해당하는 기록 작업이 존재하지 않는다고 판단할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 이동 작업을 하기 위한 워커 스레드가 익스텐트 "A(311)" 및 "B(312)"에 대한 이동 작업을 수행하도록 할 수 있다. 또한, 컴퓨팅 장치는 익스텐트 "C(313)"에 대한 이동 작업을 하기 위한 워커 스레드를 슬립 상태로 전환할 수 있다. 그리고, 컴퓨팅 장치는 워커 스레드가 익스텐트 "C(313)"에 대한 접근은 1/100 초 간격으로 시도하도록 하여 이동 작업의 종료를 확인할 수 있다. 그리고, 컴퓨팅 장치는 "C(313)"에 대한 기록 작업이 완료된 경우, 슬립 상태의 워커 스레드를 어웨이크 상태로 전환시킬 수 있다. 이에 따라, 컴퓨팅 장치는 제 1 디스크(310)에 위치한 익스텐트 "A(311)", "B(312)" 및 "C(313)"를 제 2 디스크(330)로 이동시켜 "A'(331)", "B'(332)" 및 "C'(333)"로 저장할 수 있다. 전술한 익스텐트에 대한 기록 작업 존재 판단 동작과 워커 스레드의 이동 작업의 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.For example, as shown in FIG. 2, extents “A 311”, “B 312” and “C 313” may be stored in the first disk 310. In addition, the computing device may receive a command for moving the extents "A 311", "B 312", and "C 313" to the second disk 330. Accordingly, the computing device checks the transaction sequence number consisting of eight hexadecimal digits of the extent mapping information corresponding to "A 311", "B 312", and "C 313", respectively, and is a working worker. You can compare the thread's transaction sequence number with this. Where the transaction sequence number for "A (311)" is "2018AA99", the transaction sequence number for "B (312)" is "2018AB00", and the transaction sequence number for "C (313)" is "2018DD80" Can be. In addition, the lowest transaction sequence number among working worker threads may include a transaction sequence number of "2018AB12". Accordingly, the computing device may determine that a recording job corresponding to extent "C 313" exists, and may determine that there are no recording jobs corresponding to "A 311" and "B 312". . In addition, the computing device may cause a worker thread for performing the extent movement operation to perform the movement operation for the extents "A 311" and "B 312". In addition, the computing device may put a worker thread to sleep state to perform a move operation on extent “C 313”. The computing device may then confirm the end of the move operation by causing the worker thread to attempt to access extent “C 313” at intervals of 1/100 second. In addition, when the writing operation for “C 313” is completed, the computing device may switch the worker thread in the sleep state to the awake state. Accordingly, the computing device moves extents "A 311", "B 312", and "C 313" located in the first disk 310 to the second disk 330, thereby moving the "A '331. ) "," B '332 "and" C' 333 ". The detailed descriptions of the write operation existence determination operation for the above-described extent and the moving operation of the worker thread are only examples, and the present disclosure is not limited thereto.

이에 따라, 본 개시의 일 실시예에 따른 익스텐트 이동 방법은 익스텐트를 이동하는 동작에 있어서, 각각의 익스텐트에 대한 기록 작업 중인지 여부를 판단하여 익스텐트 이동 작업을 수행하기 때문에 데이터의 정합성이 유지될 수 있다.Accordingly, in the extent movement method according to an embodiment of the present disclosure, since the extent movement operation is performed by determining whether the recording operation is performed for each extent, the consistency of data may be maintained. .

또한, 익스텐트 맵핑 정보가 포함하는 익스텐트의 상태를 읽기 전용(read-only)로 변경함으로써, 읽기(read) 요청이 막히는 시간을 최소화 시킬 수 있다. 또한, 엔트리와 워커 스레드 각각의 트랜잭션 시퀀스 넘버만을 비교함으로써 익스텐트에 대한 작업 여부를 판단할 수 있기 때문에 메모리 사용량을 줄일 수 있다. In addition, by changing the state of the extent included in the extent mapping information to read-only, it is possible to minimize the time that the read request is blocked. In addition, by comparing only the transaction sequence numbers of the entry and the worker thread, it is possible to determine whether to work on the extent, thereby reducing the memory usage.

도 5는 본 개시의 일 실시예에 따른 익스텐트의 이동 완료부터 익스텐트에 대한 기록 작업 재개까지의 부분 순서도이다.5 is a partial flow chart from completion of movement of an extent to resumption of recording operation on the extent according to one embodiment of the present disclosure.

본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트의 디스크 이동 완료(510)에 기초하여 상기 익스텐트 맵핑 정보를 업데이트할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트의 디스크 이동이 완료된 경우, 익스텐트에 대한 작업이 존재하는지 여부를 판단할 수 있다. 그리고, 컴퓨팅 장치는 해당 익스텐트에 대한 작업이 존재하는 경우, 익스텐트 맵핑 정보의 익스텐트 상태를 사용 중으로 변경하고, 작업 완료를 기다려 익스텐트 맵핑 정보를 업데이트할 수 있다. 반면, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하지 않는 경우, 익스텐트 맵핑 정보를 업데이트(514)할 수 있다.The computing device according to an embodiment of the present disclosure may update the extent mapping information based on the disk movement completion 510 of an extent. More specifically, when the disk movement of the extent is completed, the computing device may determine whether there is a task for the extent. When there is a job for the corresponding extent, the computing device may change the extent state of the extent mapping information to being in use, wait for the task to be completed, and update the extent mapping information. On the other hand, if there is no task for an extent, the computing device may update the extent mapping information 514.

여기서 컴퓨팅 장치가 해당 익스텐트에 대한 작업이 존재하는지 여부를 판단하는 동작은 도 4와 같이 전술한 바와 같이, 익스텐트 맵핑 정보의 저장된 트랜잭션 시퀀스 넘버와 워커 스레드에 저장된 트랜잭션 시퀀스 넘버를 비교함으로써 수행될 수 있다. 보다 구체적으로, 컴퓨팅 장치는 각각의 익스텐트에 대한 익스텐트 맵핑 정보의 엔트리를 캐시 상에 저장할 수 있다. 여기서 익스텐트 맵핑 정보는 익스텐트의 주소 정보(예컨대, 디스크 넘버 등), 익스텐트의 상태 정보 및 익스텐트의 트랜잭션 시퀀스 넘버 중 적어도 하나를 포함할 수 있다. 또한, 트랜잭션 시퀀스 넘버는 시계열적으로 증가하는 타임 스탬프의 종류로써, 시간의 경과에 따라 변동될 수 있다. 그리고, 컴퓨팅 장치는 익스텐트에 대한 이동 작업을 위해 접근하는 워커 스레드가 포함하는 항목에 접근 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를 저장할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 이동 작업이 발생하는 경우, 익스텐트의 트랜잭션 시퀀스 넘버를 익스텐트에 대한 이동 작업을 수행하는 워커 스레드의 트랜잭션 시퀀스 넘버로 업데이트할 수 있다. 따라서, 컴퓨팅 장치는 워커 스레드가 익스텐트에 접근한 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를, 해당 익스텐트의 익스텐트 맵핑 정보 엔트리에 저장할 수 있다.Here, the operation of determining whether the computing device exists for the corresponding extent may be performed by comparing the transaction sequence number stored in the extent mapping information and the transaction sequence number stored in the worker thread as described above with reference to FIG. 4. . More specifically, the computing device may store an entry of extent mapping information for each extent on the cache. The extent mapping information may include at least one of address information (eg, a disk number) of the extent, state information of the extent, and a transaction sequence number of the extent. In addition, the transaction sequence number is a type of time stamp that increases in time series and may change with time. The computing device may store a transaction sequence number that is determined based on the access time in an item included in a worker thread that accesses a move operation on an extent. In addition, when a move operation on the extent occurs, the computing device may update the transaction sequence number of the extent to the transaction sequence number of the worker thread performing the move operation on the extent. Thus, the computing device may store, in the extent mapping information entry of the extent, the transaction sequence number determined based on the time the worker thread accessed the extent.

그리고, 컴퓨팅 장치는 익스텐트 맵핑 정보의 엔트리에 저장된 트랜잭션 시퀀스 넘버와 구동 중인 워커 스레드들에 저장된 트랜잭션 시퀀스 넘버를 각각 비교할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 또는 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는지 여부에 따라, 해당 익스텐트에 대한 작업(예컨대, 해당 익스텐트에 대한 판독, 기록 작업)의 존재 여부를 판단(511)할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하는 경우, 해당 익스텐트에 대한 작업이 존재한다고 판단할 수 있다. 반면에, 컴퓨팅 장치는 익스텐트 맵핑 정보의 트랜잭션 시퀀스 넘버보다 낮거나, 같은 트랜잭션 시퀀스 넘버를 가진 워커 스레드가 존재하지 않는 경우, 해당 익스텐트에 대한 작업이 존재하지 않는다고 판단할 수 있다. The computing device may compare the transaction sequence number stored in the entry of the extent mapping information with the transaction sequence number stored in the running worker threads, respectively. In addition, the computing device determines whether a work thread (for example, a read or write operation for the extent) for the extent depends on whether a worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. It may be determined whether or not there is (511). More specifically, the computing device may determine that there is a job for the extent when the worker thread having a transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information exists. On the other hand, the computing device may determine that there is no work for the extent when the worker thread with the transaction sequence number lower than or equal to the transaction sequence number of the extent mapping information does not exist.

또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하는 경우, 익스텐트 맵핑 정보가 포함하는 익스텐트 상태를 사용 중(loading)으로 변경(512)할 수 있다. 또한, 컴퓨팅 장치는 익스텐트에 대한 작업이 존재하지 않거나, 또는 완료된 후, 상기 익스텐트 상태를 사용 완료(loaded)로 변경할 수 있다. 그리고, 컴퓨팅 장치는 익스텐트 상태가 사용 완료로 변경될 때까지 익스텐트 맵핑 정보에 대한 업데이트를 대기할 수 있다.The computing device may change the extent state of the extent mapping information included in the extent mapping information to loading when there is a task for the extent. In addition, the computing device may change the extent state to loaded after there is no work on the extent or after completion. The computing device may then wait for an update to the extent mapping information until the extent state changes to complete use.

그리고, 본 개시의 일 실시예에 따른 컴퓨팅 장치는 익스텐트 맵핑 정보의 익스텐트 상태가 사용 중인 경우, 익스텐트 맵핑 정보에 접근하는 워커 스레드를 대기 상태로 전환하고 대기 리스트에 기록(513)할 수 있다. 보다 구체적으로, 컴퓨팅 장치는 익스텐트 맵핑 정보가 포함하는 익스텐트 상태에 기초하여 워커 스레드의 접근을 허용할 것을 결정할 수 있다. 여기서 익스텐트 상태는 익스텐트에 대하여 작업이 수행되고 있는지를 표시하기 위한 사용 중(loading), 또는 사용 완료(loaded)일 수 있고, 해당 익스텐트에 대한 접근 가능 여부를 표시하기 위한 읽기 전용(read-only), 또는 읽기/기록 가능(read/write available) 등의 형태로 구성될 수 있다.In addition, when the extent state of the extent mapping information is in use, the computing device according to an embodiment of the present disclosure may switch the worker thread that accesses the extent mapping information to the standby state and write 513 to the standby list. More specifically, the computing device may determine to allow access of the worker thread based on the extent state included in the extent mapping information. Where the extent status can be loading or loaded to indicate that work is being performed on the extent, and read-only to indicate whether the extent is accessible. , Or read / write available.

그리고, 컴퓨팅 장치는 익스텐트 상태가 사용 중인 익스텐트에 대하여 워커 스레드가 접근하는 경우, 워커 스레드의 동작을 보류하도록 결정할 수 있다. 그리고, 컴퓨팅 장치는 캐시 상에 대기 리스트를 생성하여 동작이 보류된 하나 이상의 워커 스레드를 순서대로 적층시킬 수 있다. 여기서 대기 리스트는 하나의 익스텐트 별로 생성되거나, 디스크 별로 생성되거나, 또는 디스크스페이스(300) 전체에 대한 하나의 대기 리스트로 생성될 수 있다. 또한, 컴퓨팅 장치는 사전 설정된 시간 이후 익스텐트 상태를 재확인하고, 익스텐트 상태가 사용 완료인 경우, 상기 워커 스레드의 동작을 재개할 것을 결정할 수 있다. The computing device may determine to suspend the operation of the worker thread when the worker thread approaches the extent in which the extent state is in use. In addition, the computing device may generate a wait list on the cache to sequentially stack one or more worker threads whose operation is suspended. The standby list may be generated for one extent, for each disk, or for one standby list for the entire disk space 300. In addition, the computing device may reconfirm the extent state after a preset time and determine to resume operation of the worker thread if the extent state is complete.

추가적으로, 컴퓨팅 장치는 익스텐트 상태가 사용 중인 익스텐트에 대하여 접근하는 워크 스레드에 접근 시간에 기초하여 결정되는 트랜잭션 시퀀스 넘버를 저장할 수 있다. 그리고, 컴퓨팅 장치는 각각의 워크 스레드에 저장된 트랜잭션 시퀀스 넘버의 크기를 비교하여 대기 리스트의 순서를 결정할 수 있다. 예를 들어, 익스텐트 상태가 사용 중인 익스텐트에 대하여 제 1 워크 스레드 및 제 2 워크 스레드가 접근할 때, 각각의 접근 시간에 기초하여 제 1 워크 스레드는 "201812FF"라는 트랜잭션 시퀀스 넘버를 헤더에 저장 받고, 제 2 워크 스레드는 "201870AB"라는 트랜잭션 시퀀스 넘버를 헤더에 저장 받을 수 있다. 그리고, 제 1 워크 스레드 및 제 2 워크 스레드는 컴퓨팅 장치에 의해 동작이 보류되어 캐시 상의 대기 리스트에 저장되었다. 이러한 경우, 컴퓨팅 장치는 제 1 워크 스레드의 트랜잭션 시퀀스 넘버 "201812FF"와 제 2 워크 스레드의 트랜잭션 시퀀스 넘버 "201870AB"를 비교하여, 보다 낮은 트랜잭션 시퀀스 넘버를 저장하고 있는 제 1 워크 스레드를 제 2 워크 스레드보다 높은 우선 순위로 처리할 것을 결정할 수 있다. 전술한 트랜잭션 시퀀스 넘버의 수치와 대기 리스트에 대한 자세한 기재는 예시일뿐, 본 개시는 이에 제한되지 않는다.In addition, the computing device may store a transaction sequence number that is determined based on the access time to the work thread that the extent status accesses for the extent in use. The computing device may determine the order of the wait list by comparing the size of the transaction sequence numbers stored in each work thread. For example, when the first work thread and the second work thread access an extent whose extent status is in use, the first work thread receives a transaction sequence number "201812FF" in the header based on the respective access time. The second work thread may receive a transaction sequence number "201870AB" in the header. The first work thread and the second work thread have been suspended by the computing device and stored in a wait list on the cache. In this case, the computing device compares the transaction sequence number "201812FF" of the first work thread with the transaction sequence number "201870AB" of the second work thread, and compares the first work thread storing the lower transaction sequence number with the second work thread. You can decide to process at a higher priority than a thread. The detailed description of the above-described transaction sequence number and the wait list is merely an example, and the present disclosure is not limited thereto.

이에 따라, 본 개시의 일 실시예에 따른 익스텐트 이동 방법은 익스텐트를 이동하는 동작에 있어서, 읽기(read) 요청이 막히는 시간을 최소화 시킬 수 있다. 또한, 엔트리와 워커 스레드 각각의 트랜잭션 시퀀스 넘버만을 비교함으로써 익스텐트에 대한 작업 여부를 판단할 수 있기 때문에 메모리 사용량을 줄일 수 있다. Accordingly, the extent movement method according to an embodiment of the present disclosure can minimize the time that the read request is blocked in the movement of the extent. In addition, by comparing only the transaction sequence numbers of the entry and the worker thread, it is possible to determine whether to work on the extent, thereby reducing the memory usage.

그리고, 각각의 익스텐트에 대한 기록 작업 중인지 여부를 판단하여 익스텐트 이동 작업을 수행하기 때문에 데이터의 정합성이 유지될 수 있다. 또한, 익스텐트에 대한 I/O 작업이 수행 중일 ?, 익스텐트 맵핑 정보의 업데이트를 대기 시킬 수 있어 데이터의 중복 및 오류를 방지할 수 있다.In addition, since the extent movement operation is performed by determining whether the recording operation is performed for each extent, the consistency of data can be maintained. In addition, while I / O work on an extent is being performed, update of extent mapping information can be waited to prevent duplication and error of data.

도 6은 본 개시의 일 실시예와 관련된 데이터베이스 시스템(10)에서 익스텐트를 이동하기 위한 수단을 도시한 순서도이다.FIG. 6 is a flow chart illustrating means for moving extents in a database system 10 in accordance with one embodiment of the present disclosure.

컴퓨팅 장치의 하나 이상의 프로세서가 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트(extent)에 대한 이동을 결정하기 위한 수단(601), 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하기 위한 수단(602), 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하기 위한 수단(603), 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키기 위한 수단(604) 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 수단(605)을 포함할 수 있다.Means (601) for determining movement to the extent stored in a first disk of at least one processor of the computing device, the disk space including at least two disks; Means 602 for determining whether a write operation for the extent exists based on extent mapping information for the extent, and if the processor does not have a write operation for the extent, the extent mapping information in the extent mapping information. Means (603) for changing the state of an extent to read-only, means for the processor to move the extent located on the first disk to a second disk (604), and the processor Means for updating the extent mapping information based on completion of disk movement ( 605).

대안적으로, 상기 익스텐트 맵핑 정보는 각각의 익스텐드 별로 구성되며, 상기 익스텐트의 주소 정보, 상기 익스텐트의 상태 정보 및 상기 익스텐트의 트랜잭션 시퀸스 넘버(Transaction sequence number) 중 적어도 하나의 정보를 포함할 수 있다.Alternatively, the extent mapping information may be configured for each extent, and may include at least one of address information of the extent, state information of the extent, and a transaction sequence number of the extent. .

대안적으로, 상기 익스텐트의 트랜잭션 시퀸스 넘버는 상기 익스텐트에 대한 작업이 발생하는 경우, 상기 익스텐트에 대한 작업을 수행하는 워커 스레드의 트랜잭션 시퀸스 넘버로 업데이트될 수 있다.Alternatively, the transaction sequence number of the extent may be updated with the transaction sequence number of the worker thread performing the work on the extent when the work on the extent occurs.

대안적으로, 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하기 위한 수단은 상기 프로세서가 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버와 워커 스레드의 트랜잭션 시퀸스 넘버를 비교하여, 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버 보다 작거나 같은 상기 워커 스레드의 트랜잭션 시퀸스 넘버가 존재하는 경우, 상기 익스텐트에 대한 기록 작업이 존재하는 것으로 판단하기 위한 수단 및 상기 익스텐트에 대한 기록 작업이 존재하는 경우, 상기 익스텐트에 대한 이동 작업을 수행하는 상기 워커 스레드는 슬립 상태로 전환되도록 하는 수단을 포함할 수 있다.Alternatively, the means for the processor to determine whether there is a write operation for the extent based on extent mapping information for the extent may include the processor having a transaction sequence number of the extent mapping information and a transaction sequence number of a worker thread. Means for determining that there is a write operation for the extent and the write operation for the extent when there is a transaction sequence number of the worker thread that is less than or equal to the transaction sequence number of the extent mapping information. If present, the worker thread performing the move operation on the extent may include means for causing it to go to sleep.

대안적으로, 상기 익스텐트에 대한 기록 작업이 완료된 경우, 상기 익스텐트 맵핑 정보의 트랜잭션 시퀸스 넘버는 상기 워커 스레드의 트랜잭션 시퀸스 넘버로 수정되도록 하는 수단을 더 포함할 수 있다.Alternatively, when the writing operation for the extent is completed, the transaction sequence number of the extent mapping information may further include means for modifying the transaction sequence number of the worker thread.

대안적으로, 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 수단은 상기 프로세서가 상기 익스텐트의 디스크 이동이 완료된 경우, 상기 익스텐트에 대한 작업이 존재하는지 여부를 판단하기 위한 수단 및 상기 익스텐트에 대한 작업이 존재하는 경우, 상기 익스텐트 맵핑 정보의 익스텐트 상태를 사용 중으로 변경하고, 작업 완료를 기다려 상기 익스텐트 맵핑 정보를 업데이트 하거나, 상기 익스텐트에 대한 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 수단을 포함할 수 있다.Alternatively, the means for the processor to update the extent mapping information based on the completion of the disk movement of the extent may be determined by the processor to determine whether a task for the extent exists when the disk movement of the extent is completed. Means for changing the extent state of the extent mapping information to busy, and waiting for the completion of the task to update the extent mapping information, or if the task for the extent does not exist, It may include means for updating the extent mapping information.

대안적으로, 상기 익스텐트 맵핑 정보의 익스텐트 상태가 사용 중인 경우, 상기 익스텐트 맵핑 정보에 접근하는 워커 스레드는 대기 상태로 전환되고, 대기 리스트에 기록될 수 있다.Alternatively, if an extent state of the extent mapping information is in use, a worker thread that accesses the extent mapping information may be switched to a wait state and written to the wait list.

대안적으로, 상기 제 1 디스크에 저장된 상기 익스텐트에 대한 이동 명령은 상기 디스크스페이스에 새로운 디스크가 추가되거나, 상기 하나 이상의 디스크가 제거되거나, 또는 상기 적어도 두 개의 디스크 중 하나에서 오류가 발생하는 경우, 리밸런싱을 위해 생성될 수 있다.Alternatively, a move command for the extent stored in the first disk may be generated when a new disk is added to the disk space, the one or more disks are removed, or an error occurs in one of the at least two disks. Can be created for rebalancing.

대안적으로, 상기 프로세서가 상기 익스텐트 맵핑 정보의 업데이트에 기초하여, 상기 익스텐트에 대한 기록 작업을 재개시키기 위한 수단을 더 포함할 수 있다.In the alternative, the processor may further comprise means for resuming a write operation to the extent based on the update of the extent mapping information.

대안적으로, 상기 프로세서가 상기 제 1 디스크에 위치한 익스텐트를 삭제하기 위한 수단을 더 포함할 수 있다.In the alternative, the processor may further comprise means for deleting an extent located on the first disk.

도 7은 본 개시의 일 실시예와 관련된 데이터베이스 시스템(10)에서 익스텐트를 이동하기 위한 모듈을 도시한 순서도이다.7 is a flow chart illustrating a module for moving extents in a database system 10 in accordance with one embodiment of the present disclosure.

본 개시의 일 실시예에 따라 데이터베이스 시스템(10)에서 익스텐트를 이동시키기 위한 방법은 다음과 같은 모듈에 의해 구현될 수 있다.According to an embodiment of the present disclosure, a method for moving an extent in the database system 10 may be implemented by the following module.

본 개시의 일 실시예에 따르면, 데이터베이스 시스템(10)은 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트(extent)에 대한 이동을 결정하기 위한 모듈(701), 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하기 위한 모듈(702), 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하기 위한 모듈(703), 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키기 위한 모듈(704) 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 모듈(705)을 포함할 수 있다.According to one embodiment of the present disclosure, database system 10 is configured to determine movement to the extent stored on a first disk of disk space, the disk space including at least two disks. Module 701 for determining, by the processor, whether there is a write operation for the extent based on extent mapping information for the extent, and wherein the processor does not have a write operation for the extent. A module 703 for changing the state of the extent to read-only in the extent mapping information, and a module 704 for the processor to move the extent located on the first disk to a second disk. And the processor updates the extent mapping information based on the disk movement completion of the extent. Module 705 for retrieval.

도 8은 본 개시의 일 실시예와 관련된 데이터베이스 시스템(10)에서 익스텐트를 이동하기 위한 로직을 도시한 순서도이다.8 is a flowchart illustrating logic for moving extents in a database system 10 in accordance with one embodiment of the present disclosure.

본 개시의 일 실시예에 따라 데이터베이스 시스템(10)에서 익스텐트를 이동시키기 위한 방법은 다음과 같은 로직에 의해 구현될 수 있다.According to one embodiment of the present disclosure, a method for moving an extent in the database system 10 may be implemented by the following logic.

본 개시의 일 실시예에 따르면, 데이터베이스 시스템(10)은 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트(extent)에 대한 이동을 결정하기 위한 로직(801), 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하기 위한 로직(802), 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하기 위한 로직(803), 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키기 위한 로직(804) 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 로직(805)을 포함할 수 있다.According to one embodiment of the present disclosure, database system 10 is configured to determine movement to the extent stored on a first disk of disk space, the disk space including at least two disks. Logic 801 for determining, by the processor, whether or not there is a write operation for the extent based on extent mapping information for the extent, and the processor does not have a write operation for the extent. In this case, logic 803 for changing the state of the extent to read-only in the extent mapping information, logic 804 for the processor to move the extent located on the first disk to a second disk. And the processor updates the extent mapping information based on the disk movement completion of the extent. Logic 805 may be included.

도 9는 본 개시의 일 실시예와 관련된 데이터베이스 시스템(10)에서 익스텐트를 이동하기 위한 회로를 도시한 순서도이다.9 is a flowchart illustrating circuitry for moving extents in a database system 10 in accordance with one embodiment of the present disclosure.

본 개시의 일 실시예에 따라 데이터베이스 시스템(10)에서 익스텐트를 이동시키기 위한 방법은 다음과 같은 회로에 의해 구현될 수 있다.According to an embodiment of the present disclosure, a method for moving an extent in the database system 10 may be implemented by the following circuit.

본 개시의 일 실시예에 따르면, 데이터베이스 시스템(10)은 디스크스페이스―상기 디스크스페이스는 적어도 두 개의 디스크(disk)를 포함함―중 제 1 디스크에 저장된 상기 익스텐트(extent)에 대한 이동을 결정하기 위한 회로(901), 상기 프로세서가 상기 익스텐트에 대한 익스텐트 맵핑 정보에 기초하여 상기 익스텐트에 대한 기록 작업의 존재 여부를 판단하기 위한 회로(902), 상기 프로세서가 상기 익스텐트에 대한 기록 작업이 존재하지 않는 경우, 상기 익스텐트 맵핑 정보에서 상기 익스텐트의 상태를 읽기 전용(read-only)으로 변경하기 위한 회로(903), 상기 프로세서가 상기 제 1 디스크에 위치한 상기 익스텐트를 제 2 디스크로 이동시키기 위한 회로(904) 및 상기 프로세서가 상기 익스텐트의 디스크 이동 완료에 기초하여 상기 익스텐트 맵핑 정보를 업데이트 하기 위한 회로(905)를 포함할 수 있다.According to one embodiment of the present disclosure, database system 10 is configured to determine movement to the extent stored on a first disk of disk space, the disk space including at least two disks. For circuit 901, the processor for determining whether a write operation for the extent is present based on extent mapping information for the extent, the processor for the write operation for the extent does not exist A circuit 903 for changing the state of the extent to read-only in the extent mapping information, and a circuit 904 for the processor to move the extent located on the first disk to a second disk. And the processor updates the extent mapping information based on the disk movement completion of the extent. Circuit 905 may be included.

당업자들은 추가적으로 여기서 개시된 실시예들과 관련되어 설명된 다양한 예시적 논리적 블록들, 구성들, 모듈들, 회로들, 수단들, 로직들, 및 알고리즘 단계들이 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양쪽 모두의 조합들로 구현될 수 있음을 인식해야 한다. 하드웨어 및 소프트웨어의 상호교환성을 명백하게 예시하기 위해, 다양한 예시적 컴포넌트들, 블록들, 구성들, 수단들, 로직들, 모듈들, 회로들, 및 단계들은 그들의 기능성 측면에서 일반적으로 위에서 설명되었다. 그러한 기능성이 하드웨어로 또는 소프트웨어로서 구현되는지 여부는 전반적인 시스템에 부과된 특정 어플리케이션(application) 및 설계 제한들에 달려 있다. 숙련된 기술자들은 각각의 특정 어플리케이션들을 위해 다양한 방법들로 설명된 기능성을 구현할 수 있으나, 그러한 구현의 결정들이 본 개시내용의 영역을 벗어나게 하는 것으로 해석되어서는 안된다.Those skilled in the art will further appreciate that the various illustrative logical blocks, configurations, modules, circuits, means, logics, and algorithm steps described in connection with the embodiments disclosed herein may be electronic hardware, computer software, or a combination of both. It should be appreciated that it can be implemented with To clearly illustrate the interchangeability of hardware and software, various illustrative components, blocks, configurations, means, logics, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented in hardware or as software depends on the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

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

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

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

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

본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘다에 위치할 수 있다.The described embodiments of the present disclosure can also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked 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 that can be accessed by a computer can be a computer readable medium, which can be volatile and nonvolatile media, transitory and non-transitory media, removable and non-transitory media. Removable media. By way of example, and not limitation, computer readable media may comprise computer readable storage media and computer readable transmission media. Computer-readable storage media are volatile and nonvolatile media, temporary and non-transitory media, removable and non-removable implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Media. Computer storage media may include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROMs, digital video disks or other optical disk storage devices, magnetic cassettes, magnetic tapes, magnetic disk storage devices or other magnetic storage devices, Or any other medium that can be accessed by a computer and used to store desired information.

컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터등을 구현하고 모든 정보 전달 매체를 포함한다. 피변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer-readable transmission media typically embody computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and the like. Includes all information delivery media. The term modulated data signal means 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 includes 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 should also be included within the scope of computer readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An example environment 1100 is illustrated that implements various aspects of the present disclosure, including a computer 1102, which includes a processing unit 1104, a system memory 1106, and a system bus 1108. do. System bus 1108 connects system components, including but not limited to system memory 1106, to processing unit 1104. Processing unit 1104 may be any of a variety of commercial processors. Dual processor 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 be further interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercial bus architectures. System memory 1106 includes read only memory (ROM) 1110 and random access memory (RAM) 1112. The basic input / output system (BIOS) is stored in nonvolatile memory 1110, such as ROM, EPROM, EEPROM, etc., and the BIOS provides a basic aid for transferring information between components in the computer 1102, such as during startup. Contains routines. RAM 1112 may also include fast 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 인터페이스 기술 중 적어도 하나 또는 그 둘다를 포함한다.Computer 1102 also includes an internal hard disk drive (HDD) 1114 (eg, EIDE, SATA) —this internal hard disk drive 1114 may also be configured for external use within a suitable chassis (not shown). Yes—magnetic floppy disk drive (FDD) 1116 (eg, for reading from or writing to removable diskette 1118), and optical disk drive 1120 (eg, CD-ROM Disk 1122 for reading from or writing to or reading from other high capacity optical media such as DVD). The hard disk drive 1114, the magnetic disk drive 1116, and the optical disk drive 1120 are connected to the system bus 1108 by the hard disk drive interface 1124, the magnetic disk drive interface 1126, and the optical drive interface 1128, respectively. ) Can be connected. Interface 1124 for external drive implementation includes at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.

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

운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.Multiple program modules may be stored in the drive and RAM 1112, including 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 RAM 1112. It will be appreciated that the present disclosure may be implemented in various 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 mouse 1140. Other input devices (not shown) may include a microphone, IR remote control, joystick, game pad, stylus pen, touch screen, and the like. These and other input devices are often connected to the processing unit 1104 via an input device interface 1142, which is connected to the system bus 1108, but the parallel port, IEEE 1394 serial port, game port, USB port, IR interface, Etc. can be connected by other interfaces.

모니터(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 generally includes other peripheral output devices (not shown) such as speakers, printers, and the like.

컴퓨터(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 communications. Remote computer (s) 1148 may be a workstation, computing device computer, router, personal computer, portable computer, microprocessor-based entertainment device, peer device, or other conventional network node, and typically is associated with computer 1102. Although many or all of the components described above are included, for simplicity, only memory storage 1150 is shown. The logical connections shown include wired / wireless connections to a local area network (LAN) 1152 and / or a larger network, such as a telecommunications network (WAN) 1154. Such LAN and WAN networking environments are commonplace in offices and businesses, facilitating enterprise-wide computer networks such as intranets, all of which may be connected to worldwide computer networks, such as 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. Adapter 1156 may facilitate wired or wireless communication to LAN 1152, which also includes a wireless access point installed therein for communicating with wireless adapter 1156. When used in a WAN networking environment, the computer 1102 may include a modem 1158, connect to a communication computing device on the WAN 1154, or establish communications over the WAN 1154, such as over the Internet. Other means. The modem 1158, which may be an internal or external and wired or wireless device, is connected to the system bus 1108 via the serial port interface 1142. In a networked environment, program modules or portions thereof described with respect to computer 1102 may be stored in remote memory / storage device 1150. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers can be used.

컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.Computer 1102 is associated with any wireless device or entity disposed and operating in wireless communication, such as a printer, scanner, desktop and / or portable computer, portable data assistant, communications satellite, wireless detectable tag. Communicate with any equipment or location and telephone. This includes at least Wi-Fi and Bluetooth wireless technology. Thus, the communication can be a predefined structure 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) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wireless Fidelity (Wi-Fi) allows you to connect to the Internet without wires. Wi-Fi is a wireless technology such as a cell phone that allows such a device, for example, a computer, to transmit and receive data indoors and outdoors, i. Wi-Fi networks use a wireless technology called IEEE 802.11 (a, b, g, etc.) to provide secure, reliable, high-speed wireless connections. Wi-Fi may be used to connect computers to each other, to the Internet, and to a wired network (using IEEE 802.3 or Ethernet). Wi-Fi networks can 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 that include both bands (dual band). have.

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

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 "소프트웨어"로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.One of ordinary skill in the art of the disclosure 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 in electronic hardware, It will be appreciated that for purposes of the present invention, various forms of program or design code, or combinations thereof, may be implemented. 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 upon the particular application and design constraints imposed on the overall system. One skilled in the art of the present disclosure may implement the described functionality in various ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 "제조 물품"은 임의의 컴퓨터-판독가능 장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 여기서 매체는 저장 매체 및 전송 매체를 포함할 수 있다. 예를 들어, 컴퓨터-판독가능 저장 매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 또한, 여기서 제시되는 다양한 저장 매체는 정보를 저장하기 위한 하나 이상의 장치 및/또는 다른 기계-판독가능한 매체를 포함한다. 또한, 전송 매체는 명령(들) 및/또는 데이터를 전달할 수 있는 무선 채널 및 다양한 다른 매체를 포함하지만, 이들로 제한되는 것은 아니다. The various embodiments presented herein may be embodied in 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. Here, the medium may include a storage medium and a transmission medium. For example, computer-readable storage media may include magnetic storage devices (eg, hard disks, floppy disks, magnetic strips, etc.), optical discs (eg, CDs, DVDs, etc.), smart cards, and flashes. Memory devices (eg, EEPROM, cards, sticks, key drives, etc.), but are not limited to these. In addition, various storage media presented herein include one or more devices and / or other machine-readable media for storing information. In addition, the transmission medium includes, but is not limited to, a wireless channel and various other media capable of carrying command (s) and / or data.

제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It is to be understood that the specific order or hierarchy of steps in the processes presented is an example of exemplary approaches. Based upon design priorities, it is understood that the specific order or hierarchy of steps in the processes may be rearranged within the scope of the present disclosure. The accompanying method claims present 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 presented embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be 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 limited to the embodiments presented herein but should be construed in the broadest scope consistent with the principles and novel features presented herein.

Claims (1)

컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.


Computer program stored on a computer readable storage medium.


KR1020190169081A 2019-12-17 2019-12-17 Method for moving data extent KR20190143428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190169081A KR20190143428A (en) 2019-12-17 2019-12-17 Method for moving data extent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190169081A KR20190143428A (en) 2019-12-17 2019-12-17 Method for moving data extent

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020180069968A Division KR102089291B1 (en) 2018-06-19 2018-06-19 Method for moving data extent

Publications (1)

Publication Number Publication Date
KR20190143428A true KR20190143428A (en) 2019-12-30

Family

ID=69103433

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190169081A KR20190143428A (en) 2019-12-17 2019-12-17 Method for moving data extent

Country Status (1)

Country Link
KR (1) KR20190143428A (en)

Similar Documents

Publication Publication Date Title
KR101956236B1 (en) Data replication technique in database management system
US7587569B2 (en) System and method for removing a storage server in a distributed column chunk data store
KR102127522B1 (en) Computer program stored in computer readable medium, database server and audit performing server
US8214388B2 (en) System and method for adding a storage server in a distributed column chunk data store
US11269956B2 (en) Systems and methods of managing an index
KR20190134115A (en) Method and apparatus for providing efficient indexing and computer program included in computer readable medium therefor
KR102089291B1 (en) Method for moving data extent
KR20200056526A (en) Technique for implementing change data capture in database management system
KR102062531B1 (en) Computer program stored in computer readable medium and database server transforming decision table into decision tree
US20190188186A1 (en) Consistent hashing configurations supporting multi-site replication
KR20190022600A (en) Data replication technique in database management system
KR20190143428A (en) Method for moving data extent
KR102085608B1 (en) Recovery server and computer programs
KR20170122151A (en) Method and apparatus for reducing query processing time by dynamically changing algorithms and computer readable medium therefor
KR102214697B1 (en) A computer program for providing space managrment for data storage in a database management system
KR102057055B1 (en) Method for managing index
KR20200078426A (en) Recovery server and computer programs
KR20190143419A (en) Computer program stored in computer readable medium and database server reallocating an extent
KR101947504B1 (en) Method for extent allocation of data file
KR20190012249A (en) Method for extent allocation of data file
KR20200001575A (en) Method for managing index
KR20210013747A (en) A computer program for providing space managrment for data storage in a database management system
KR20200004272A (en) Computer program stored in computer readable medium and database server transforming decision table into decision tree
KR20200047497A (en) Computer program stored in computer readable medium, database server and audit performing server
US20200019334A1 (en) Storage system

Legal Events

Date Code Title Description
A107 Divisional application of patent
N231 Notification of change of applicant