KR20210053830A - A computer program for asynchronous data processing in a database management system - Google Patents

A computer program for asynchronous data processing in a database management system Download PDF

Info

Publication number
KR20210053830A
KR20210053830A KR1020210054053A KR20210054053A KR20210053830A KR 20210053830 A KR20210053830 A KR 20210053830A KR 1020210054053 A KR1020210054053 A KR 1020210054053A KR 20210054053 A KR20210054053 A KR 20210054053A KR 20210053830 A KR20210053830 A KR 20210053830A
Authority
KR
South Korea
Prior art keywords
task
tasks
sub
processing
data
Prior art date
Application number
KR1020210054053A
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 KR1020210054053A priority Critical patent/KR20210053830A/en
Publication of KR20210053830A publication Critical patent/KR20210053830A/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/23Updating
    • G06F16/2308Concurrency control
    • 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
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24532Query optimisation of parallel queries
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations

Landscapes

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

Abstract

In an embodiment of the present disclosure for solving problems, provided is a computer program stored in a computer-readable storage medium executable by one or more processors, the computer program causes the one or more processors to perform operations for asynchronous data processing in a base management system. The operations comprise: dividing an operation corresponding to a query into one or more operations when receiving the query issued from a client; allocating a sub-task for each of the one or more tasks to each of one or more worker threads; determining whether to balance the processing of the one or more tasks; and reallocating sub-tasks of the tasks related to imbalance to the worker threads when it is determined that the processing of the one or more tasks is imbalanced.

Description

데이터베이스 관리 시스템에서 비동기적 데이터 처리를 위한 컴퓨터 프로그램{A COMPUTER PROGRAM FOR ASYNCHRONOUS DATA PROCESSING IN A DATABASE MANAGEMENT SYSTEM}A computer program for asynchronous data processing in a database management system {A COMPUTER PROGRAM FOR ASYNCHRONOUS DATA PROCESSING IN A DATABASE MANAGEMENT SYSTEM}

본 개시는 데이터베이스 관리 시스템(DBMS)에 관한 것으로, 보다 구체적으로 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 위한 컴퓨터 프로그램에 관한 것이다.The present disclosure relates to a database management system (DBMS), and more particularly, to a computer program for asynchronous data processing in a database management system.

데이터베이스는 여러 사람에 공유되어 사용될 목적으로 통합하여 관리되는 표준 데이터의 집합을 의미한다. 일반적으로 한 조직체의 특정 영역과 연관된 데이터를 수집하며, 이는 여러 수준의 의사 결정을 지원하기 위한 정보를 제공하기 위해 사용될 수 있다.Database refers to a set of standard data that is integrated and managed for the purpose of being shared and used by multiple people. In general, it collects data related to a specific area of an organization, which can be used to provide information to support decision-making at different levels.

오늘날 데이터의 양이 갈수록 방대해짐에 따라 데이터베이스에서 필요한 데이터를 검색하거나 데이터를 변경(삽입, 수정, 삭제 및 갱신)하기 위해서 이를 효율적으로 지원하는 데이터베이스 관리 시스템(이하, DBMS)의 활용도가 높아지고 있다.As the amount of data becomes larger today, the use of a database management system (hereinafter, DBMS) that efficiently supports it to search for necessary data from a database or to change (insert, modify, delete, and update) data is increasing.

DBMS는 모든 데이터를 테이블 형태로 데이터베이스 저장할 수 있다. 테이블은 데이터베이스에서 데이터를 저장하는 기본 구조를 말하며, 하나의 테이블은 하나 이상의 레코드들로 구성된다. 이러한 DBMS는 외부로부터 특정 질의(Query)가 입력되는 경우, 입력된 질의에 따라 데이터베이스에 데이터를 선택, 삽입, 삭제 및 갱신 등의 기능을 수행한다. 여기서 질의란, 데이터베이스의 테이블에 저장되어 있는 데이터에 대한 어떠한 요구, 즉 데이터에 대한 어떠한 조작을 하기 원하는지를 기술한 것을 의미하는 것으로서, SQL(Structured Query Language)과 같은 언어를 통해 표현될 수 있다.DBMS can store all data in a database in the form of a table. A table is a basic structure for storing data in a database, and a table consists of one or more records. When a specific query is input from the outside, such a DBMS performs functions such as selecting, inserting, deleting, and updating data in the database according to the input query. Here, a query means a description of what kind of request for data stored in a database table, that is, what kind of manipulation you want to perform on the data, and can be expressed through a language such as SQL (Structured Query Language).

상기 DBMS에서는 레코드를 테이블의 형태로 디스크 상에 저장하고, 외부(클라이언트 또는 다른 응용 프로그램)로부터의 질의에 대응하여 이를 갱신한다. 이때, 외부의 질의에 대응하는 하나의 task를 하나의 CPU가 처리하는 경우, 부하가 크고 속도가 느려질 수 있기 때문에, 여러 개의 CPU를 병렬로 연결하여 동기식 처리 방식을 통해 데이터 처리 속도를 향상시킬 수 있다. The DBMS stores records on disk in the form of tables and updates them in response to queries from outside (clients or other applications). At this time, if one CPU processes one task corresponding to an external query, the load may be high and the speed may be slow. Therefore, the data processing speed can be improved through a synchronous processing method by connecting several CPUs in parallel. have.

동기식 처리 방식은, 직렬적으로 task를 수행하는 것을 의미할 수 있다. 구체적으로, 동기식 처리 방식은 task를 순차적으로 실행하는 것으로, 스레드가 특정 작업을 수행하는 경우, 다음 작업을 할당하여 대기시키고, 스레드가 특정 작업의 처리를 완료하면 대기 중이던 다음 작업을 처리하도록 하는 방식이다.The synchronous processing method may mean serially performing a task. Specifically, the synchronous processing method is to execute tasks sequentially. When a thread performs a specific task, it allocates and waits for the next task, and when the thread finishes processing a specific task, it processes the next task that was waiting. to be.

다만, 동기식 처리 방식을 통해 task를 순차적으로 수행하는 경우, 작업을 수행하는 복수의 스레드 간의 데이터 처리 속도 차이에 따라, 각 스레드에서 처리되는 작업이 불균형하여 특정 스레드가 대기 상태로 머물 수 있다. 이는, 스레드 자원 사용에 있어 비효율적이며, 작업 처리 속도의 저하를 초래할 우려가 있다. However, when a task is sequentially performed through a synchronous processing method, a specific thread may remain in a standby state due to unbalanced tasks processed in each thread according to a difference in data processing speed between a plurality of threads performing the task. This is inefficient in the use of thread resources, and there is a concern that the work processing speed may be deteriorated.

따라서, DBMS에서 데이터 흐름에 따라 복수의 스레드에게 비동기적으로 작업을 할당하여 각 스레드가 균형적으로 작업을 수행하도록 함으로써 자원 활용에 효율성을 증대시키기 위한 컴퓨터 프로그램의 수요가 당 업계에 존재할 수 있다.Accordingly, there may be a demand in the industry for a computer program to increase efficiency in resource utilization by asynchronously allocating tasks to a plurality of threads according to data flow in the DBMS so that each thread performs tasks in a balanced manner.

일본 등록 특허 제4611830호Japanese Patent No. 4611830

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 위한 컴퓨터 프로그램을 제공하기 위한 것이다.The present disclosure is conceived in response to the above-described background technology, and is to provide a computer program for asynchronous data processing in a database management system.

전술한 과제를 해결하기 위한 본 개시의 일 실시예에, 하나 이상의 프로세서들에 의해 실행 가능한 컴퓨터 판독가능 매체에 저장된 컴퓨터 프로그램이 개시된다. 상기 컴퓨터 프로그램은 하나 이상의 프로세서에 의해 실행되는 경우, 상기 하나 이상의 프로세서들로 하여금 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 위한 동작들을 수행하도록 하며, 상기 동작들은: 클라이언트로부터 발행된 쿼리를 수신하는 경우, 상기 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할하는 동작, 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하는 동작, 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하는 동작 및 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당하는 동작을 포함할 수 있다.In one embodiment of the present disclosure for solving the above-described problem, a computer program stored in a computer-readable medium executable by one or more processors is disclosed. When the computer program is executed by one or more processors, it causes the one or more processors to perform operations for asynchronous data processing in a database management system, and the operations are: When receiving a query issued from a client , An operation of dividing an operation corresponding to the query into one or more tasks, an operation of allocating a sub-task for each of the one or more tasks to each of one or more worker threads, an operation of determining whether or not the processing of the one or more tasks is balanced And when it is determined that the processing of the one or more tasks is unbalanced, reassigning a subtask of the task related to the imbalance to a worker thread.

대안적으로, 제 1 항에 있어서, 상기 하나 이상의 작업 각각은, 상기 쿼리에 대응하는 동작들을 일정 기준으로 분류한 그룹으로, 데이터를 병렬 처리하는 병렬 처리 관계, 또는 데이터를 연계 처리하는 종속 관계 중 적어도 하나의 관계를 형성할 수 있다.Alternatively, the method of claim 1, wherein each of the one or more tasks is a group in which operations corresponding to the query are classified on a predetermined basis, and one of a parallel processing relationship for parallel processing of data, or a dependency relationship for linking data. At least one relationship can be formed.

대안적으로, 상기 하나 이상의 작업이 종속 관계를 형성하는 경우, 상기 종속 관계를 형성하는 작업들은, 상기 서브 작업의 처리 결과에 따라 생성되는 데이터를 슬레이브 작업에 전달하는 마스터 작업 및 상기 마스터 작업으로부터 전달받은 데이터에 기초하여 연산을 수행하는 상기 슬레이브 작업을 포함할 수 있다.Alternatively, when the one or more tasks form a dependency relationship, the tasks that form the dependency relationship are a master task that transmits data generated according to the processing result of the sub task to a slave task and from the master task. It may include the slave operation that performs an operation based on the received data.

대안적으로, 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하는 동작은, 상기 하나 이상의 작업 중 마스터 작업을 수행하기 위해 워커 스레드에게 상기 마스터 작업의 서브 작업을 할당하는 동작, 상기 마스터 작업에 대한 작업 진행도가 사전 결정된 임계치 이상인 경우, 상기 마스터 작업에 대응하는 슬레이브 작업을 수행하기 위한 적어도 하나의 추가 할당 워커 스레드를 식별하는 동작 및 상기 추가 할당 워커 스레드에게 상기 슬레이브 작업에 대한 서브 작업을 할당하는 동작을 포함할 수 있다.Alternatively, the operation of allocating sub-tasks for each of the one or more tasks to each of one or more worker threads may include allocating a sub-task of the master task to a worker thread in order to perform a master task among the one or more tasks, When the work progress for the master task is more than a predetermined threshold, an operation of identifying at least one additional allocation worker thread for performing a slave task corresponding to the master task, and the additional allocation worker thread for the slave task It may include an operation of allocating sub-tasks.

대안적으로, 상기 추가 할당 워커 스레드는, 상기 마스터 작업에 대응하는 작업을 수행하는 워커 스레드, 서브 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나일 수 있다. Alternatively, the additional assignment worker thread may be at least one of a worker thread that performs a task corresponding to the master task, a worker thread that is not assigned a sub task, or a worker thread that performs an action corresponding to another query. have.

대안적으로, 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하는 동작은, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량에 기초하여 상기 균형 여부를 판별하는 동작 또는, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신한 작업 관련 메시지에 기초하여 상기 균형 여부를 판별하는 동작 중 적어도 하나의 동작을 포함할 수 있다. Alternatively, the determining whether the processing of the one or more jobs is balanced may include determining whether the balance is based on the amount of memory allocated to each of the one or more jobs, or a sub for each of the one or more jobs. It may include at least one of the operations of determining whether the balance is based on the work-related message received from the one or more worker threads that process the work.

대안적으로, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량에 기초하여 상기 균형 여부를 판별하는 동작은, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하는 동작 및 상기 하나 이상의 작업 각각이 형성하는 종속 관계 별 메모리 사용량이 사전 결정된 제 2 임계 사용량을 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하는 동작을 포함하고, 상기 종속 관계 별 메모리 사용량은, 마스터 작업 및 슬레이브 작업 각각에 포함된 작업들 각각의 메모리 사용량의 합으로 식별될 수 있다.Alternatively, the operation of determining whether the balance is based on the memory usage allocated to each of the one or more tasks is, when the memory usage allocated to each of the one or more tasks exceeds a predetermined first threshold usage, the one An operation of determining that the processing of the one or more tasks is unbalanced, and an operation of determining that the processing of the one or more tasks is unbalanced when the memory usage for each dependency relationship formed by each of the one or more tasks exceeds a predetermined second threshold amount of use. Including, the memory usage for each dependency relationship may be identified as the sum of the memory usage of each of the tasks included in each of the master task and the slave task.

대안적으로, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신한 작업 관련 메시지에 기초하여 상기 균형 여부를 판별하는 동작은, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신된 작업 관련 메시지에 기초하여 상기 하나 이상의 작업 각각의 데이터 처리 결과를 식별하는 동작 및 상기 하나 이상의 작업 간의 데이터 처리 결과의 차이가 사전 결정된 임계치를 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하는 동작을 포함할 수 있다.Alternatively, the operation of determining whether the balance is based on a job-related message received from the one or more worker threads processing sub-tasks for each of the one or more jobs, processing sub-tasks for each of the one or more jobs Identifying a data processing result of each of the one or more jobs based on a job-related message received from the one or more worker threads and when the difference between the data processing result between the one or more jobs exceeds a predetermined threshold, the one It may include an operation of determining that the processing of the above operation is unbalanced.

대안적으로, 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당하는 동작은, 상기 작업의 불균형과 관련된 작업의 서브 작업을 수행하기 위한 추가 할당 워커 스레드를 식별하는 동작 및 상기 추가 할당 워커 스레드에게 상기 불균형과 관련된 서브 작업을 할당하는 동작을 포함하고, 그리고 상기 추가 할당 워커 스레드는, 상기 불균형과 관련된 작업에 대한 서브 작업을 수행하는 워커 스레드, 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나일 수 있다.Alternatively, when it is determined that the processing of the one or more tasks is unbalanced, the operation of reallocating the subtask of the task related to the imbalance to a worker thread is additional to perform the subtask of the task related to the imbalance of the task. An operation of identifying an assignment worker thread and an operation of allocating a subtask related to the imbalance to the additional assignment worker thread, and the additional assignment worker thread is a worker thread that performs a subtask on the work related to the imbalance , It may be at least one of a worker thread that is not assigned a task, or a worker thread that performs an operation corresponding to another query.

본 개시의 다른 실시예에서 데이터베이스 관리 시스템에서 비동기적 데이터 처리를 위한 방법이 개시된다. 상기 방법은, 클라이언트로부터 발행된 쿼리를 수신하는 경우, 상기 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할하는 단계, 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하는 단계, 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하는 단계 및 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당하는 단계를 포함할 수 있다. In another embodiment of the present disclosure, a method for asynchronous data processing in a database management system is disclosed. The method comprises, when receiving a query issued from a client, dividing an operation corresponding to the query into one or more tasks, allocating subtasks for each of the one or more tasks to each of one or more worker threads, the Determining whether or not the processing of one or more jobs is balanced, and when it is determined that the processing of the one or more jobs is unbalanced, reassigning a sub-task of the job related to the imbalance to a worker thread.

본 개시의 다른 일 실시예에 따르면 데이터베이스 관리 시스템에서 비동기적 데이터 처리를 위한 서버가 개시된다. 상기 서버는 하나 이상의 코어를 포함하는 프로세서, 상기 프로세서에 의해 실행가능한 프로그램 코드들을 저장하는 메모리 및 클라이언트와 데이터를 송수신하는 네트워크부를 포함하며, 상기 프로세서는, 상기 클라이언트로부터 발행된 쿼리를 수신하는 경우, 상기 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할하고, 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하고, 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하고, 그리고 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당할 수 있다.According to another embodiment of the present disclosure, a server for asynchronous data processing in a database management system is disclosed. The server includes a processor including one or more cores, a memory storing program codes executable by the processor, and a network unit for transmitting and receiving data to and from the client, and the processor, when receiving a query issued from the client, The operation corresponding to the query is divided into one or more tasks, subtasks for each of the one or more tasks are allocated to each of one or more worker threads, and the balance of the processing of the one or more tasks is determined, and the one When it is determined that the processing of the above task is unbalanced, the subtask of the task related to the imbalance can be reallocated to the worker thread.

본 개시는 데이터베이스 관리 시스템에서 비동기적 데이터 처리를 수행하는 컴퓨터 프로그램을 제공할 수 있다.The present disclosure can provide a computer program that performs asynchronous data processing in a database management system.

다양한 양상들이 이제 도면들을 참조로 기재되며, 여기서 유사한 참조 번호들은 총괄적으로 유사한 구성요소들을 지칭하는데 이용된다. 이하의 실시예에서, 설명 목적을 위해, 다수의 특정 세부사항들이 하나 이상의 양상들의 총체적 이해를 제공하기 위해 제시된다. 그러나, 그러한 양상(들)이 이러한 구체적인 세부사항들 없이 실시될 수 있음은 명백할 것이다.
도 1은 본 개시의 일 실시예와 관련된 서버의 블록 구성도를 도시한다.
도 2는 본 개시의 일 실시예와 관련된 하나의 쿼리에 대응하는 하나 이상의 작업 및 서브 작업을 개략적으로 나타낸 도면이다.
도 3은 본 개시의 일 실시예와 관련된 하나의 쿼리에 대응하여 분할된 작업을 예시적으로 도시한 예시도이다.
도 4는 본 개시의 일 실시예와 관련된 하나의 쿼리에 대응하여 분할된 작업을 수행하는 과정을 개략적으로 나타낸 예시도이다.
도 5는 본 개시의 다른 실시예와 관련된 하나의 쿼리에 대응하여 분할된 작업을 예시적으로 도시한 예시도이다.
도 6은 본 개시의 또 다른 실시예와 관련된 하나의 쿼리에 대응하여 분할된 작업을 예시적으로 도시한 예시도이다.
도 7은 본 개시의 일 실시예와 관련된 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 제공하기 위한 순서도를 도시한다.
도 8은 본 개시의 일 실시예와 관련된 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 수행하기 위한 모듈을 도시한다.
도 9는 본 개시의 일 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.
Various aspects are now described with reference to the drawings, wherein like reference numbers are used collectively to refer to like elements. In the examples that follow, for illustrative purposes, a number of specific details are presented to provide a comprehensive understanding of one or more aspects. However, it will be apparent that such aspect(s) may be practiced without these specific details.
1 is a block diagram of a server according to an embodiment of the present disclosure.
2 is a diagram schematically illustrating one or more tasks and subtasks corresponding to one query related to an embodiment of the present disclosure.
3 is an exemplary diagram illustrating a divided operation in response to one query related to an embodiment of the present disclosure.
4 is an exemplary diagram schematically illustrating a process of performing a divided operation in response to one query related to an embodiment of the present disclosure.
5 is an exemplary diagram illustrating a partitioned operation in response to one query related to another embodiment of the present disclosure.
6 is an exemplary diagram illustrating a partitioned operation in response to one query related to another embodiment of the present disclosure.
7 is a flowchart for providing asynchronous data processing in a database management system according to an embodiment of the present disclosure.
8 illustrates a module for performing asynchronous data processing in a database management system according to an embodiment of the present disclosure.
9 shows a simplified and general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented.

다양한 실시예들이 이제 도면을 참조하여 설명된다. 본 명세서에서, 다양한 설명들이 본 개시의 이해를 제공하기 위해서 제시된다. 그러나, 이러한 실시예들은 이러한 구체적인 설명 없이도 실행될 수 있음이 명백하다.Various embodiments are now described with reference to the drawings. In this specification, various descriptions are presented to provide an understanding of the present disclosure. However, it is clear that these embodiments may be implemented without this specific description.

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

더불어, 용어 "또는"은 배타적 "또는"이 아니라 내포적 "또는"을 의미하는 것으로 의도된다. 즉, 달리 특정되지 않거나 문맥상 명확하지 않은 경우에, "X는 A 또는 B를 이용한다"는 자연적인 내포적 치환 중 하나를 의미하는 것으로 의도된다. 즉, X가 A를 이용하거나; X가 B를 이용하거나; 또는 X가 A 및 B 모두를 이용하는 경우, "X는 A 또는 B를 이용한다"가 이들 경우들 어느 것으로도 적용될 수 있다. 또한, 본 명세서에 사용된 "및/또는"이라는 용어는 열거된 관련 아이템들 중 하나 이상의 아이템의 가능한 모든 조합을 지칭하고 포함하는 것으로 이해되어야 한다.In addition, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or”. That is, unless specified otherwise or is not clear from the context, "X employs A or B" is intended to mean one of the natural inclusive substitutions. That is, X uses A; X uses B; Or when X uses both A and B, "X uses A or B" can be applied to either of these cases. In addition, the term “and/or” as used herein should be understood to refer to and include all possible combinations of one or more of the listed related items.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하는 것으로 이해되어야 한다. 다만, "포함한다" 및/또는 "포함하는"이라는 용어는, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다. 또한, 달리 특정되지 않거나 단수 형태를 지시하는 것으로 문맥상 명확하지 않은 경우에, 본 명세서와 청구범위에서 단수는 일반적으로 "하나 또는 그 이상"을 의미하는 것으로 해석되어야 한다.In addition, the terms "comprises" and/or "comprising" should be understood to mean that the corresponding features and/or components are present. However, it is to be understood that the terms "comprising" and/or "comprising" do not exclude the presence or addition of one or more other features, elements, and/or groups thereof. In addition, unless otherwise specified or when the context is not clear to indicate a singular form, the singular in the specification and claims should be interpreted as meaning "one or more" in general.

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

본 개시와 관련된 데이터베이스 관리 시스템에서 비동기적 데이터 처리는, 서버(100)를 통해 구현될 수 있다. In the database management system related to the present disclosure, asynchronous data processing may be implemented through the server 100.

클라이언트는 서버(100)와 통신을 위한 매커니즘을 갖는 임의의 형태의 노드(들)를 의미할 수 있다. 예를 들어, 이러한 클라이언트는 PC, 랩탑 컴퓨터, 워크스테이션, 단말 및/또는 네트워크 접속성을 갖는 임의의 전자 디바이스를 포함할 수 있다. 또한, 클라이언트는 에이전트, API(Application Programming Interface) 및 플러그-인(Plug-in) 중 적어도 하나에 의해 구현되는 임의의 서버를 포함할 수도 있다.The client may mean any type of node(s) having a mechanism for communication with the server 100. For example, such clients may include PCs, laptop computers, workstations, terminals, and/or any electronic device with network connectivity. In addition, the client may include any server implemented by at least one of an agent, an application programming interface (API), and a plug-in.

본 개시의 일 실시예에 따르면, 클라이언트로부터 발행된 쿼리에 따라서, 서버(100)의 후술될 동작들이 수행될 수 있다.According to an embodiment of the present disclosure, operations to be described later of the server 100 may be performed according to a query issued from a client.

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

DBMS는 서버(100)에서 쿼리에 대한 파싱, 필요한 데이터를 검색, 삽입, 수정 및/또는 삭제 등과 같은 동작들을 수행하는 것을 허용하기 위한 프로그램으로써, 서버(100)의 저장부(120)에서 프로세서(130)에 의하여 구현될 수 있다. The DBMS is a program for allowing the server 100 to perform operations such as parsing a query and searching for, inserting, modifying, and/or deleting necessary data. In the storage unit 120 of the server 100, the processor ( 130).

서버(100)는 임의의 타입의 데이터베이스로서 명령들을 실행 및 저장하기 위한 프로세서(130) 및 저장부(120)를 포함하는 디바이스를 포함할 수 있으나 이로 한정되지는 않는다. 즉, 서버(100)는 소프트웨어, 펌웨어, 하드웨어 또는 이들의 조합을 포함할 수도 있다. 소프트웨어는 데이터베이스 테이블, 스키마, 인덱스 및/또는 데이터를 생성, 삭제 및 수정하기 위한 애플리케이션(들)을 포함할 수 있다. 서버(100)는 클라이언트 또는 다른 컴퓨팅 디바이스로부터의 트랜잭션을 수신할 수 있으며, 예시적인 트랜잭션들은 서버(100)에서의 데이터, 테이블 및/또는 인덱스 등을 검색, 삽입, 수정, 삭제 및/또는 레코드 관리하는 것을 포함할 수 있다. The server 100 may include a device including a processor 130 and a storage unit 120 for executing and storing instructions as a database of any type, but is not limited thereto. That is, the server 100 may include software, firmware, hardware, or a combination thereof. The software may include application(s) for creating, deleting and modifying database tables, schemas, indexes and/or data. The server 100 may receive transactions from a client or other computing device, and exemplary transactions include searching, inserting, modifying, deleting, and/or managing records of data, tables and/or indexes, etc. in the server 100 May include doing.

*도 1은 본 개시의 일 실시예와 관련된 서버의 블록 구성도를 도시한다. * FIG. 1 shows a block diagram of a server according to an embodiment of the present disclosure.

도 1에 도시되는 바와 같이, 서버(100)는 네트워크부(110), 저장부(120) 및 프로세서(130)를 포함할 수 있다. 전술한 컴포넌트들은 예시적인 것으로서, 본 개시내용의 권리범위가 전술한 컴포넌트들로 제한되지 않는다. 즉, 본 개시내용의 실시예들에 대한 구현 양태에 따라서 추가적인 컴포넌트들이 포함되거나 또는 전술한 컴포넌트들 중 일부가 생략될 수 있다. As shown in FIG. 1, the server 100 may include a network unit 110, a storage unit 120, and a processor 130. The above-described components are exemplary, and the scope of the present disclosure is not limited to the above-described components. That is, additional components may be included or some of the above-described components may be omitted according to implementation aspects of the embodiments of the present disclosure.

본 개시의 일 실시예에 따르면, 서버(100)는 클라이언트와 데이터를 송수신하는 네트워크부(110)를 포함할 수 있다. 또한, 네트워크부(110)는 서버(100)와 클라이언트와의 통신 기능을 제공할 수 있다. 네트워크부(110)는 클라이언트로부터의 입력을 수신할 수 있다. 예를 들어, 네트워크부(110)는 클라이언트로부터 데이터의 저장, 변경 및 조회와 인덱스 빌드의 변경 및 조회와 관련된 요청을 수신할 수 있다. 네트워크부(110)는 서버(100)의 외부에 위치하는 경우, 특정 테이블에 대하여 수신한 SQL에 기초한 연산을 수행하여 생성한 출력 테이블을 서버(100)로부터 수신할 수 있다. 추가적으로, 네트워크부(110)는 서버(100)로 프로시저를 호출하는 방식으로 서버(100)와 클라이언트 간의 정보 전달을 허용할 수 있다. 추가 실시예로서, 본 명세서에서의 네트워크부(110)는 데이터베이스 링크(dblink)를 포함할 수도 있으며, 이에 따라 서버(100)는 이러한 데이터베이스 링크를 통해 통신하여 다른 데이터베이스 서버로부터 데이터들을 수신할 수도 있다.According to an embodiment of the present disclosure, the server 100 may include a network unit 110 that transmits and receives data to and from a client. In addition, the network unit 110 may provide a communication function between the server 100 and a client. The network unit 110 may receive an input from a client. For example, the network unit 110 may receive a request related to storage, change, and inquiry of data and change and inquiry of an index build from a client. When the network unit 110 is located outside the server 100, the network unit 110 may receive an output table generated by performing an operation based on the received SQL for a specific table from the server 100. Additionally, the network unit 110 may allow information transfer between the server 100 and the client by calling a procedure to the server 100. As a further embodiment, the network unit 110 in the present specification may include a database link (dblink), and accordingly, the server 100 may receive data from another database server by communicating through such a database link. .

본 개시의 일 실시예에 따르면, 저장부(120)는 영구 저장 매체(persistent storage) 및 메모리를 포함할 수 있다.According to an embodiment of the present disclosure, the storage unit 120 may include a persistent storage medium and a memory.

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

메모리는, 예를 들어 동적 램(DRAM, dynamic random access memory), 정적 램(SRAM, static random access memory) 등의 랜덤 액세스 메모리(RAM)와 같은, 프로세서가 직접 접근하는 주된 저장 장치로서 전원이 꺼지면 저장된 정보가 순간적으로 지워지는 휘발성(volatile) 저장 장치를 의미할 수 있지만, 이들로 한정되는 것은 아니다. 이러한 메모리는 프로세서(130)에 의하여 동작 될 수 있다. 메모리는 데이터 값을 포함하는 데이터 테이블(data table)을 임시로 저장할 수 있다. 데이터 테이블은 데이터 값을 포함할 수 있으며, 본 개시의 일 실시예에서 데이터 테이블의 데이터 값은 메모리로부터 영구 저장 매체에 기록될 수 있다. 추가적인 양상에서, 메모리는 버퍼 캐시를 포함하며, 상기 버퍼 캐시의 데이터 블록에는 데이터가 저장될 수 있다. 버퍼 캐시에 저장된 데이터는 백그라운드 프로세스에 의하여 영구 저장 매체에 기록될 수 있다.Memory is the primary storage device directly accessed by the processor, such as, for example, random access memory (RAM) such as dynamic random access memory (DRAM) and static random access memory (SRAM). It may refer to a volatile storage device in which stored information is instantaneously erased, but is not limited thereto. Such a memory may be operated by the processor 130. The memory may temporarily store a data table including data values. The data table may include data values, and in an embodiment of the present disclosure, the data values of the data table may be recorded from a memory to a permanent storage medium. In a further aspect, the memory 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 a persistent storage medium by a background process.

본 개시의 일 실시예에 따르면, 프로세서(130)는 통산적으로 서버(100)의 전반적인 동작을 제어할 수 있다. 프로세서(130)는 위에서 살펴본 구성요소들을 통해 신호, 데이터, 정보 등을 처리하거나, 저장부(120)에 저장된 응용프로그램을 구동함으로써, 데이터베이스 관리 성능을 향상시키기 위한 동작들을 수행할 수 있다. According to an embodiment of the present disclosure, the processor 130 may control the overall operation of the server 100 in general. The processor 130 may perform operations for improving database management performance by processing signals, data, information, etc. through the above-described components or by driving an application program stored in the storage unit 120.

본 개시의 일 실시예에 따르면, 프로세서(130)는 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있다. 구체적으로, 프로세서(130)는 클라이언트로부터 발행된 쿼리를 수신하여 쿼리에 대응하는 동작을 식별할 수 있으며, 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있다.According to an embodiment of the present disclosure, the processor 130 may divide an operation corresponding to a query into one or more tasks. Specifically, the processor 130 may receive a query issued from a client to identify an operation corresponding to the query, and may divide the operation corresponding to the query into one or more operations.

작업은, 쿼리에 대응하는 동작들을 일정 기준으로 분류한 그룹으로, 각각의 작업들은 서로 데이터를 병렬 처리하는 병렬 처리 관계, 또는 데이터를 연계 처리하는 종속 관계 중 적어도 하나의 관계를 형성할 수 있다. 또한, 작업은 워커 스레드에서 처리되는 데이터 처리의 최소 단위인 하나 이상의 서브 작업을 포함할 수 있다. 하나 이상의 서브 작업은, 작업 각각에서 워커 스레드가 처리할 수 있는 최소 단위일 수 있다. 예를 들어, 작업이 2000개의 로우를 포함하는 제 1 테이블의 레코드를 스캔하는 작업의 경우, 제 1 테이블의 1~1000 로우(row)의 레코드를 스캔하는 제 1 서브 작업 및 제 1 테이블의 1001~2000 로우의 레코드를 스캔하는 제 2 서브 작업을 포함할 수 있다. 전술한 각 서브 작업의 스캔 범위에 대한 구체적인 수치의 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다. A task is a group in which operations corresponding to a query are classified on a predetermined basis, and each of the tasks may form at least one of a parallel processing relationship for processing data in parallel with each other, or a dependency relationship for linking data with each other. In addition, the task may include one or more subtasks, which are the smallest units of data processing processed in the worker thread. One or more sub-tasks may be a minimum unit that a worker thread can process in each task. For example, in the case of a job of scanning records of a first table including 2000 rows, a first sub-job of scanning records of 1 to 1000 rows of the first table and 1001 of the first table A second sub-task of scanning records of ~2000 rows may be included. The description of specific numerical values for the scan range of each of the above-described sub-tasks is merely an example, and the present disclosure is not limited thereto.

병렬 처리 관계는, 작업들 간의 형성되는 데이터 처리 관계가 데이터 처리의 병렬 수행이 가능한 관계일 수 있다. 예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 제 1 테이블 스캔에 대한 제 1 작업, 제 2 테이블 스캔에 대한 제 2 작업, 제 1 테이블 및 제 2 테이블의 특정 칼럼(column)에 대한 정렬을 수행하는 제 3 작업으로 분할되는 경우, 각 테이블을 스캔하는 작업은 병렬로 수행될 수 있다. 즉, 제 1 작업 및 제 2 작업은 병렬 처리 관계일 수 있다. 전술한 각 작업에 대한 구체적인 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.In the parallel processing relationship, a data processing relationship formed between tasks may be a relationship in which data processing can be performed in parallel. For example, an operation corresponding to a query is performed by the processor 130 in a first operation for a first table scan, a second operation for a second table scan, and a specific column of the first table and the second table. When divided into a third operation that performs sorting for each table, the operation of scanning each table may be performed in parallel. That is, the first task and the second task may be in a parallel processing relationship. Detailed description of each of the above-described tasks is merely an example, and the present disclosure is not limited thereto.

종속 처리 관계는, 데이터를 연계 처리하는 작업들 간에 형성되는 관계일 수 있으며, 마스터 작업 및 슬레이브 작업을 포함할 수 있다. 마스터 작업은, 하나 이상의 작업 각각에 대한 서브 작업의 처리 결과를 슬레이브 작업에 전달하는 작업일 수 있다. 또한, 슬레이브 작업은 마스터 작업의 처리 결과에 대한 데이터에 기초하여 연산을 수행하는 작업일 수 있다. 예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 제 1 테이블 스캔에 대한 제 1 작업 및 제 1 테이블의 제 1 칼럼 및 제 2 칼럼의 레코드들에 대한 병합을 수행하는 제 2 작업으로 분할되는 경우, 제 1 작업에 대한 처리 이후, 제 2 작업의 처리가 수행될 수 있다. 즉, 제 1 테이블을 스캔하는 제 1 작업과, 제 1 작업을 통해 스캔된 레코드들을 병합하는 제 2 작업은 서로 종속 처리 관계일 수 있다. 이 경우, 제 1 작업은 제 2 작업으로 처리된 데이터를 전달하는 마스터 작업일 수 있으며, 제 2 작업은 제 1 작업의 처리 결과에 따른 데이터를 입력으로 하여 연산을 수행하는 슬레이브 작업일 수 있다. 전술한 각 작업에 대한 구체적인 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다. The dependent processing relationship may be a relationship formed between jobs that process data in association, and may include a master job and a slave job. The master job may be a job of transferring a processing result of a sub job for each of one or more jobs to a slave job. In addition, the slave operation may be an operation that performs an operation based on data on a processing result of the master operation. For example, the operation corresponding to the query is a first operation for a first table scan by the processor 130 and a second operation for merging records of the first column and the second column of the first table. In the case of division, after processing for the first job, processing for the second job may be performed. That is, a first operation of scanning the first table and a second operation of merging records scanned through the first operation may have a dependency processing relationship with each other. In this case, the first task may be a master task that transfers data processed as the second task, and the second task may be a slave task that performs an operation by inputting data according to the processing result of the first task. Detailed description of each of the above-described tasks is merely an example, and the present disclosure is not limited thereto.

보다 구체적인 예를 들어, 클라이언트로부터 발행된 제 1 쿼리(200)가 T1 및 T2 테이블을 C3칼럼의 레코드를 기준으로 정렬하기 위한 쿼리인 경우, 프로세서(130)는 해당 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있다. 자세히 설명하면, 프로세서(130)는 제 1 쿼리(200)에 대한 동작을 도 2에 도시된 바와 같이, T1 테이블의 레코드를 스캔하기 위한 제 1 작업(210), T2 테이블의 레코드를 스캔하기 위한 제 2 작업(220), 그리고 제 1 작업(210) 및 제 2 작업(220)을 통해 스캔된 레코드들을 C3 칼럼의 레코드들을 기준으로 정렬하는 제 3 작업(230)으로 분할할 수 있다. 이러한 분할은 쿼리에 대한 실행 계획(plan)에 기초하여 수행될 수 있다. For a more specific example, if the first query 200 issued from the client is a query for sorting tables T1 and T2 based on records of column C3, the processor 130 performs one or more operations corresponding to the query. Can be divided into tasks. In detail, the processor 130 performs an operation for the first query 200 as shown in FIG. 2, a first operation 210 for scanning a record in the T1 table, and a first operation 210 for scanning a record in the T2 table. The second task 220 and the records scanned through the first task 210 and the second task 220 may be divided into a third task 230 that sorts the records of column C3 based on the records. This partitioning can be performed based on a plan for the query.

이 경우, 제 1 작업(210) 및 제 2 작업(220)은 각 테이블을 스캔하는 작업으로 서로 병렬 처리 관계일 수 있다. 다시 말해, T1 테이블 및 T2 테이블 각각의 레코드 스캔하는 제 1 작업(210) 및 제 2 작업(220)은 병렬로 수행될 수 있다. 또한, 제 1 작업(210) 및 제 2 작업(220)에서 각 테이블의 레코드에 스캔 작업이 수행된 이후, 제 3 작업(230)에 대한 처리가 수행될 수 있다. T1 테이블을 스캔하는 제 1 작업(210)과 제 1 작업을 통해 스캔된 레코드들을 병합하는 제 3 작업(230)은 서로 종속 처리 관계일 수 있다. 또한, T2 테이블을 스캔하는 제 2 작업(220)과 제 2 작업을 통해 스캔된 레코드들을 병합하는 제 3 작업(230)은 서로 종속 처리 관계일 수 있다. 즉, 제 1 작업(210)과 제 2 작업(220)은 처리된 데이터(즉, 스캔된 레코드)를 제 3 작업(230)으로 전달하는 마스터 작업일 수 있으며, 제 3 작업(230)은 제 1 작업(210)과 제 2 작업(220)의 처리 결과에 따른 데이터에 기초하여 정렬을 위한 연산을 수행하는 슬레이브 작업일 수 있다. In this case, the first task 210 and the second task 220 are tasks for scanning each table and may have a parallel processing relationship with each other. In other words, the first operation 210 and the second operation 220 of scanning records of each of the T1 table and the T2 table may be performed in parallel. In addition, after a scan operation is performed on a record of each table in the first operation 210 and the second operation 220, the third operation 230 may be processed. The first operation 210 of scanning the T1 table and the third operation 230 of merging the records scanned through the first operation may have a dependency processing relationship with each other. In addition, the second operation 220 of scanning the T2 table and the third operation 230 of merging the records scanned through the second operation may have a dependency processing relationship with each other. That is, the first task 210 and the second task 220 may be master tasks for transferring processed data (ie, scanned records) to the third task 230, and the third task 230 It may be a slave operation that performs an operation for alignment based on data according to processing results of the first operation 210 and the second operation 220.

또한, 프로세서(130)에 의해 분할된 제 1 작업(210), 제 2 작업(220) 및 제 3 작업(230) 각각은 하나 이상의 서브 작업을 포함할 수 있다. 도 2에 도시된 바와 같이, 제 1 작업(210)은, T1 테이블에서 1~1000 로우의 레코드를 스캔하기 위한 제 1 서브 작업(211) 및 T1 테이블에서 1001~2000 로우의 레코드를 스캔하기 위한 제 2 서브 작업(212)을 포함할 수 있다. 또한, 제 2 작업(220)은, T2 테이블에서 1~1000 로우의 레코드를 스캔하기 위한 제 1 서브 작업(221) 및 T2 테이블에서 1001~2000 로우의 레코드를 스캔하기 위한 제 2 서브 작업(222)을 포함할 수 있다. 또한, 제 3 작업(230)은, 제 1 작업(210) 및 제 2 작업(220)을 통해 스캔된 레코드들을 C3 칼럼의 레코드들의 크기를 구간 별 분할하여 정렬을 수행하기 위한 제 1 서브 작업(231) 및 제 2 서브 작업(232)을 포함할 수 있다. 구체적으로, 제 3 작업(230)의 제 1 서브 작업(231)은 0~100까지의 C3 칼럼의 레코드를 기준으로 정렬을 수행하는 서브 작업일 수 있으며, 제 3 작업(230)의 제 2 서브 작업(232)은 101~200까지의 C3 칼럼의 레코드를 기준으로 정렬을 수행하는 서브 작업일 수 있다. 도 2를 참조하여 서술한 쿼리, 작업, 서브 작업에 대한 구체적인 기재들은, 본 개시의 이해를 돕기 위한 예시일 뿐, 본 개시는 이에 제한되지 않는다. In addition, each of the first task 210, the second task 220, and the third task 230 divided by the processor 130 may include one or more subtasks. As shown in FIG. 2, the first operation 210 includes a first sub-operation 211 for scanning records of 1 to 1000 rows in the T1 table and a first sub-operation 211 for scanning records of 1001 to 2000 rows in the T1 table. A second sub-task 212 may be included. Further, the second operation 220 includes a first sub-operation 221 for scanning records of 1 to 1000 rows in the T2 table and a second sub-operation 222 for scanning records of 1001 to 2000 rows in the T2 table. ) Can be included. In addition, the third operation 230 is a first sub-task for performing sorting by dividing the size of the records in column C3 by section for the records scanned through the first operation 210 and the second operation 220 ( 231) and a second sub-task 232. Specifically, the first sub-task 231 of the third task 230 may be a sub-task that performs sorting based on the records of column C3 from 0 to 100, and the second sub-task of the third task 230 The task 232 may be a sub-task that performs sorting based on the records in the C3 column of 101 to 200. Detailed descriptions of queries, tasks, and subtasks described with reference to FIG. 2 are only examples to aid understanding of the present disclosure, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따르면, 프로세서(130)는 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당할 수 있다. 구체적으로, 프로세서(130)는 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있으며, 분할된 하나 이상의 작업 각각은 병렬 처리 관계 또는, 종속 처리 관계를 형성함에 따라, 병렬적으로 처리되거나, 종속적으로 처리될 수 있다. 또한, 하나 이상의 작업 각각은 병렬 처리 가능한 하나 이상의 서브 작업을 포함할 수 있다. 다시 말해, 프로세서(130)는 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드로 할당하여 각 작업의 서브 작업이 병렬적으로 수행되도록 할 수 있다.According to an embodiment of the present disclosure, the processor 130 may allocate a sub-task for each of one or more tasks to each of one or more worker threads. Specifically, the processor 130 may divide an operation corresponding to a query into one or more tasks, and each of the divided one or more tasks forms a parallel processing relationship or a dependent processing relationship, so that they are processed in parallel or are dependent on Can be treated as In addition, each of the one or more tasks may include one or more sub-tasks capable of parallel processing. In other words, the processor 130 may allocate sub-tasks for each of one or more tasks to one or more worker threads so that sub-tasks of each task are performed in parallel.

예를 들어, 제 1 작업이 제 1 테이블을 스캔하는 작업이며, 제 2 작업이 제 2 테이블을 스캔하는 작업인 경우, 제 1 작업 및 제 2 작업은 병렬적으로 처리될 수 있다. 또한, 제 1 작업은, 제 1 테이블의 1~100까지의 로우를 스캔하는 제 1 서브 작업 및 101~200까지의 로우를 스캔하는 제 2 서브 작업을 포함할 수 있으며, 제 2 작업은 제 2 테이블의 1~50까지의 로우를 스캔하는 제 1 서브 작업 및 51~100까지의 로우를 스캔하는 제 2 서브 작업을 포함할 수 있다. 이 경우, 제 1 작업 및 제 2 작업 각각에 포함된 서브 작업들은 병렬적으로 수행될 수 있다. 즉, 제 1 작업과 제 2 작업이 병렬로 처리됨과 동시에 각 작업에 대응하는 서브 작업들 또한 병렬 처리가 가능할 수 있다. 전술한 작업 및 서브 작업에 대한 구체적인 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다. For example, when a first job is a job of scanning a first table and a second job is a job of scanning a second table, the first job and the second job may be processed in parallel. In addition, the first operation may include a first sub-task of scanning rows 1 to 100 of the first table and a second sub-task of scanning rows 101 to 200, and the second operation is a second operation. A first sub-task of scanning rows 1 to 50 of the table and a second sub-task of scanning rows 51 to 100 may be included. In this case, sub-tasks included in each of the first task and the second task may be performed in parallel. That is, while the first task and the second task are processed in parallel, subtasks corresponding to each task may also be processed in parallel. Specific descriptions of the above-described tasks and sub-tasks are only examples, and the present disclosure is not limited thereto.

즉, 프로세서(130)는 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할하고, 하나 이상의 작업 각각에 병렬 처리 가능한 서브 작업들을 하나 이상의 워커 스레드로 할당하여 병렬적으로 처리되도록 함으로써, 쿼리에 대응하는 동작의 처리 속도를 향상시킬 수 있다.That is, the processor 130 divides the operation corresponding to the query into one or more tasks, and assigns subtasks capable of parallel processing to each of the one or more tasks to one or more worker threads to be processed in parallel, so that the operation corresponding to the query Can improve the processing speed.

본 개시의 일 실시예에 따르면, 프로세서(130)는 마스터 작업에 대한 서브 작업이 수행된 이후, 슬레이브 작업에 대한 서브 작업이 수행되도록 할 수 있다. 구체적으로, 하나 이상의 작업이 종속 관계를 형성하는 경우, 슬레이브 작업은 마스터 작업의 수행 결과에 따라 전달되는 데이터를 통해 연산을 수행하기 때문에, 마스터 작업에 대한 서브 작업이 수행된 이후 시점에 수행되어야 할 수 있다. 이에 따라, 프로세서(130)는 마스터 작업에 대한 서브 작업을 하나 이상의 워커 스레드에게 할당하여 데이터를 처리한 이후, 마스터 작업에 대응하는 슬레이브 작업에 대한 서브 작업을 하나 이상의 워커 스레드에게 할당할 수 있다.According to an embodiment of the present disclosure, after the sub-task for the master task is performed, the processor 130 may allow the sub-task for the slave task to be performed. Specifically, if more than one task forms a dependency relationship, the slave task performs an operation through the data transmitted according to the execution result of the master task. Therefore, it should be performed at the point in time after the sub task for the master task is performed. I can. Accordingly, the processor 130 may allocate the sub-task for the master task to one or more worker threads to process data, and then allocate the sub-task for the slave task corresponding to the master task to one or more worker threads.

자세히 설명하면, 프로세서(130)는 하나 이상의 작업 중 마스터 작업을 수행하기 위해 워커 스레드에게 마스터 작업의 서브 작업을 할당할 수 있다. 또한, 프로세서(130)는 마스터 작업에 대한 작업 진행도가 사전 결정된 임계치 이상인 경우, 마스터 작업에 대응하는 슬레이브 작업을 수행하기 위한 적어도 하나의 추가 할당 워커 스레드를 식별할 수 있다. 추가 할당 워커 스레드는, 마스터 작업에 대응하는 작업을 수행하는 워커 스레드, 서브 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나일 수 있다. 또한, 프로세서(130)는 추가 할당 워커 스레드에게 슬레이브 작업에 대한 서브 작업을 할당할 수 있다. In detail, the processor 130 may allocate a subtask of the master task to a worker thread in order to perform the master task among one or more tasks. Also, the processor 130 may identify at least one additional allocated worker thread for performing the slave task corresponding to the master task when the progress of the task for the master task is equal to or greater than a predetermined threshold. The additional allocation worker thread may be at least one of a worker thread that performs a task corresponding to the master task, a worker thread that is not assigned a sub task, or a worker thread that performs an operation corresponding to another query. In addition, the processor 130 may allocate a subtask for a slave task to an additional assignment worker thread.

즉, 프로세서(130)는 마스터 작업에 대한 서브 작업이 사전 결정된 임계치만큼 처리되는 시점(즉, 슬레이브 작업에 대한 서브 작업이 처리 가능한 시점)에 대응하여 추가 할당 워커 스레드에게 슬레이브 작업에 대한 서브 작업을 할당하여 처리되도록 할 수 있다. 또한, 마스터 작업에 대한 서브 작업을 수행하는 워커 스레드, 서브 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나를 추가 할당 워커 스레드로 식별하여 비동기적으로 작업을 할당할 수 있어, 유휴 워커 스레드를 최소화시킬 수 있다. That is, the processor 130 provides the subtask for the slave task to the additional assignment worker thread in response to the time when the subtask for the master task is processed by a predetermined threshold (that is, when the subtask for the slave task can be processed). You can assign it to be processed. In addition, at least one of a worker thread that performs sub-tasks on the master task, a worker thread that has not been assigned a sub-task, or a worker thread that performs an operation corresponding to another query is identified as an additionally assigned worker thread to work asynchronously. Can be allocated, minimizing idle worker threads.

따라서, 각 작업의 처리 가능한 최적의 시기에 각 작업의 서브 작업에 워커 스레드를 할당할 수 있어, 데이터 처리의 흐름을 원활하게 할 수 있다. 또한, 유휴 워커 스레드를 식별하여 비동기적으로 작업에 대한 서브 작업을 처리하도록 하여 워커 스레드 자원 활용에 효율을 증대시킬 수 있다.Therefore, it is possible to allocate worker threads to sub-tasks of each task at an optimal time in which each task can be processed, thereby smoothing the flow of data processing. In addition, by identifying idle worker threads to asynchronously process sub-tasks for tasks, it is possible to increase the efficiency in utilizing worker thread resources.

프로세서(130)가 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하는 보다 구체적인 과정은 도 3 및 도 4를 참조하여 이하에서 후술하도록 한다.A more detailed process in which the processor 130 allocates sub-tasks for each of one or more tasks to each of one or more worker threads will be described later with reference to FIGS. 3 and 4.

도 3에 도시된 바와 같이, 클라이언트로부터 발행된 제 2 쿼리(300)가 테이블 T에 대한 정렬(즉, order by)을 수행하기 위한 쿼리인 경우, 프로세서(130)는 테이블 T에 대한 정렬 동작을 하나 이상의 작업으로 분할할 수 있다. 자세히 설명하면, 프로세서(130)는 제 2 쿼리(300)에 대응하는 동작이 테이블 T에 C2 칼럼에 위치한 레코드를 기준으로 각 로우의 레코드를 정렬하는 동작임을 식별할 수 있다. 프로세서(130)는 제 2 쿼리(300)에 대응하는 동작을 T 테이블의 레코드들을 스캔하기 위한 제 1 작업(400) 및 제 1 작업을 통해 식별된 레코드들을 C2 칼럼의 레코드를 기준으로 정렬하는 제 2 작업(500)으로 분할할 수 있다. 이 경우, 제 1 작업(400)의 수행 결과가 제 2 작업(500)의 입력에 해당하는 종속 관계이므로, 제 1 작업(400)이 마스터 작업일 수 있으며, 제 2 작업(500)은 마스터 작업에 대응하는 슬레이브 작업일 수 있다. As shown in FIG. 3, when the second query 300 issued from the client is a query for performing sorting (ie, order by) on table T, the processor 130 performs a sorting operation on table T. Can be divided into more than one task. In detail, the processor 130 may identify that the operation corresponding to the second query 300 is an operation of sorting the records of each row based on the record located in the column C2 of table T. The processor 130 performs an operation corresponding to the second query 300 as a first operation 400 for scanning records in the T table and a first operation for sorting the records identified through the first operation based on the records in column C2. Can be divided into two tasks 500. In this case, since the execution result of the first task 400 is a dependency relationship corresponding to the input of the second task 500, the first task 400 may be a master task, and the second task 500 is a master task. It may be a slave operation corresponding to.

제 1 작업(400)은 도 4에 도시된 바와 같이, 테이블 T의 1~4 로우의 레코드를 스캔하기 제 1 서브 작업(411) 및 테이블 T의 5~8 로우의 레코드들을 스캔하기 위한 제 2 서브 작업(421)을 포함할 수 있다. 프로세서(130)는 제 1 서브 작업(411)을 제 1 워커 스레드(410)에 할당하고, 제 2 서브 작업(421)을 제 2 워커 스레드(420)에 할당하여 각 서브 작업이 병렬적으로 수행되도록 할 수 있다. 프로세서(130)는 제 1 작업(즉, 마스터 작업, 400)의 처리 결과(즉, 테이블 T의 레코드 스캔)를 제 2 작업에 전달할 수 있다. As shown in FIG. 4, the first operation 400 is a first sub-task 411 for scanning records of rows 1 to 4 of table T and a second sub-task 411 for scanning records of rows 5 to 8 of table T. It may include a sub-task 421. The processor 130 allocates the first sub-task 411 to the first worker thread 410, and allocates the second sub-task 421 to the second worker thread 420 to perform each sub-task in parallel. You can do it. The processor 130 may transmit the processing result of the first operation (ie, the master operation, 400) (ie, the record scan of the table T) to the second operation.

제 1 작업(400)의 처리 결과에 대한 데이터를 전달받는 제 2 작업(즉, 슬레이브 작업, 500)은 C2 칼럼의 0~40까지의 레코드를 기준으로 정렬을 수행하는 제 1 서브 작업(511) 및 C2 칼럼의 41 이상의 레코드를 기준으로 정렬을 수행하는 제 2 서브 작업(521)을 포함할 수 있다. The second operation (that is, the slave operation 500) receiving data on the processing result of the first operation 400 is a first sub-operation 511 that performs sorting based on records from 0 to 40 in the C2 column. And a second sub-task 521 of performing sorting based on 41 or more records in column C2.

또한, 프로세서(130)는, 도 4에 도시된 바와 같이, 제 2 작업(500)의 제 1 서브 작업(511)을 제 3 워커 스레드(510)에게 할당할 수 있으며, 제 2 작업(500)의 제 2 서브 작업(521)을 제 4 워커 스레드(520)에게 할당할 수 있다. 이 경우, 제 3 워커 스레드(510) 및 제 4 워커 스레드(520)는 프로세서(130)에 의해 식별된 추가 할당 워커 스레드일 수 있다. 즉, 제 3 워커 스레드(510) 및 제 4 워커 스레드(520)는 마스터 작업을 수행하는 워커 스레드(즉, 제 1 워커 스레드(410) 또는, 제 2 워커 스레드(420))이거나, 서브 작업이 할당되지 않은 워커 스레드(즉, 유휴 워커 스레드)이거나 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나일 수 있다. In addition, the processor 130 may allocate the first sub-task 511 of the second task 500 to the third worker thread 510, as shown in FIG. 4, and the second task 500 The second sub-task 521 of may be assigned to the fourth worker thread 520. In this case, the third worker thread 510 and the fourth worker thread 520 may be additionally allocated worker threads identified by the processor 130. That is, the third worker thread 510 and the fourth worker thread 520 are worker threads that perform the master task (ie, the first worker thread 410 or the second worker thread 420), or the subtask is It may be an unallocated worker thread (ie, an idle worker thread), or at least one of a worker thread that performs an operation corresponding to another query.

프로세서(130)는 제 3 워커 스레드(510) 및 제 4 워커 스레드(520) 각각이 제 1 서브 작업(511) 및 제 2 서브 작업(521)을 수행하여 처리된 데이터에 기초하여 도 4에 도시된 바와 같은 결과 테이블(600)을 생성할 수 있다. 도 3 및 도 4를 참조하여 전술한 작업 및 서브 작업 구체적인 수치에 대한 기재는 예시일 뿐, 본 개시는 3개 이상의 작업 및 서브 작업을 포함할 수 있음이 당 업계의 통상의 지식을 가진 자에게 자명할 것이다.The processor 130 is shown in FIG. 4 based on data processed by each of the third worker thread 510 and the fourth worker thread 520 performing the first sub-task 511 and the second sub-task 521. The result table 600 as described above may be generated. Description of the above-described tasks and sub-tasks specific values with reference to FIGS. 3 and 4 is only an example, and the present disclosure may include three or more tasks and sub-tasks to those of ordinary skill in the art. It will be self-evident.

즉, 프로세서(130)는 하나 이상의 작업(즉, 마스터 작업 및 슬레이브 작업) 각각에 대한 서브 작업들을 병렬로 처리할 수 있다. 이에 따라, 각 작업의 서브 작업들에 대한 병렬 수행을 통해 데이터 처리의 속도를 향상시킴과 동시에, 서브 작업을 수행에 가중되는 부하를 분담시킬 수 있다.That is, the processor 130 may process sub-tasks for each of one or more tasks (ie, a master task and a slave task) in parallel. Accordingly, it is possible to increase the speed of data processing through parallel execution of the sub-tasks of each task, and to share the load that is added to the execution of the sub-tasks.

본 개시의 일 실시예에 따르면, 프로세서(130)는 하나 이상의 작업의 처리에 대한 균형 여부를 판별할 수 있다. 프로세서(130)는 하나 이상의 작업들의 병렬 처리에서 병목 등 비효율적인 상태가 발생하는지 여부를 판별할 수 있다. 프로세서(130)는 각각의 작업의 진행이 고르게 수행되는지, 병목이 발생하는지 여부를 판별할 수 있다. 프로세서(130)는 작업과 관련한 리소스 사용량, 작업의 진행 상태 등에 기초하여 하나 이상의 작업들 사이의 처리 균형 여부를 판단할 수 있다. 구체적으로, 프로세서(130)는 하나 이상의 작업 각각에 할당된 메모리 사용량 및 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 하나 이상의 워커 스레드로부터 수신된 작업 관련 메시지 중 적어도 하나에 기초하여 각 작업에서 수행되는 데이터 처리의 균형 여부를 판별할 수 있다.According to an embodiment of the present disclosure, the processor 130 may determine whether to balance processing of one or more tasks. The processor 130 may determine whether an inefficient state such as a bottleneck occurs in parallel processing of one or more tasks. The processor 130 may determine whether the progress of each task is performed evenly or whether a bottleneck occurs. The processor 130 may determine whether to balance processing among one or more tasks based on a resource usage related to a task, a task progress state, and the like. Specifically, the processor 130 is performed in each task based on at least one of a memory usage allocated to each of one or more tasks and a task-related message received from one or more worker threads that process subtasks for each of the one or more tasks. It is possible to determine whether data processing is balanced or not.

자세히 설명하면, 프로세서(130)는 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있다. 이 경우, 하나 이상의 작업 각각에는 데이터를 임시 저장 가능한 메모리가 할당될 수 있으며, 작업에 포함된 서브 작업의 데이터 처리 결과가 각각의 메모리에 임시 저장(즉, 버퍼)될 수 있다.In detail, the processor 130 may divide an operation corresponding to a query into one or more tasks. In this case, a memory capable of temporarily storing data may be allocated to each of the one or more jobs, and a data processing result of a sub-job included in the job may be temporarily stored (ie, buffered) in each memory.

프로세서(130)는 하나 이상의 작업 각각에 할당된 메모리 사용량을 식별할 수 있다. 또한, 프로세서(130)는 하나 이상의 작업 각각의 메모리 사용량과 사전 결정된 임계 사용량의 비교에 기초하여 하나 이상의 작업 각각에서 수행되는 데이터 처리의 균형 여부를 판별할 수 있다. The processor 130 may identify the amount of memory allocated to each of one or more tasks. Also, the processor 130 may determine whether to balance data processing performed in each of the one or more tasks based on a comparison between the memory usage of each of the one or more tasks and a predetermined threshold usage.

구체적으로, 프로세서(130)는 하나 이상의 작업 각각에 할당된 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 경우, 하나 이상의 작업의 처리가 불균형한 것으로 판단할 수 있다. 제 1 임계 사용량은, 각 작업에서 수행되는 데이터 처리가 적정한지 여부를 판단하는 기준일 수 있다.Specifically, when the memory usage allocated to each of the one or more tasks exceeds a predetermined first threshold usage, the processor 130 may determine that the processing of one or more tasks is unbalanced. The first threshold usage may be a criterion for determining whether data processing performed in each task is appropriate.

예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 제 1 테이블 스캔에 대한 제 1 작업, 제 2 테이블 스캔에 대한 제 2 작업으로 분할되며, 제 1 작업의 메모리 사용량이 20%이고, 제 2 작업의 메모리 사용량이 70%이고, 그리고 사전 결정된 임계 사용량이 65%인 경우, 프로세서(130)는 제 2 작업에 대한 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 것을 식별하여, 작업의 처리가 불균형한 것으로 판단할 수 있다. For example, an operation corresponding to a query is divided into a first operation for a first table scan and a second operation for a second table scan by the processor 130, and the memory usage of the first operation is 20%, When the memory usage of the second job is 70%, and the predetermined threshold usage is 65%, the processor 130 identifies that the memory usage for the second job exceeds the first predetermined threshold usage, It can be judged that the treatment is unbalanced.

다른 예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 테이블 스캔에 대한 제 1 작업, 스캔된 테이블의 레코드에 대한 hash join을 수행하는 제 2 작업 및 제 2 작업의 결과에 대한 필터를 적용하는 제 3 작업으로 분할되며, 각 작업의 메모리 사용량이 18%, 75% 및 12%이고, 그리고 사전 결정된 제 1 임계 사용량이 70%인 경우, 프로세서(130)는 제 2 작업에 대한 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 것을 식별하여, 작업의 처리가 불균형한 것으로 판단할 수 있다. 전술한 각 작업에 대한 메모리 사용량 및 사전 결정된 제 1 임계 사용량의 구체적인 수치에 대한 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.For another example, an operation corresponding to a query is performed by the processor 130 to perform a first operation for a table scan, a second operation for performing a hash join on the records of the scanned table, and a filter for the result of the second operation. It is divided into a third task to be applied, and when the memory usage of each task is 18%, 75%, and 12%, and the first predetermined threshold usage is 70%, the processor 130 uses the memory usage for the second task. It can be determined that the processing of the job is unbalanced by identifying that it exceeds this predetermined first threshold usage amount. The description of specific values of the memory usage and the predetermined first threshold usage for each operation described above are only examples, and the present disclosure is not limited thereto.

또한, 프로세서(130)는 하나 이상의 작업 각각이 형성하는 종속 관계 별 메모리 사용량이 사전 결정된 제 2 임계 사용량을 초과하는 경우, 하나 이상의 작업의 처리가 불균형한 것으로 판단할 수 있다. 종속 관계 별 메모리 사용량은, 마스터 작업 및 슬레이브 작업 각각에 포함된 작업들의 메모리 사용량의 합일 수 있다. 제 2 임계 사용량은 마스터 작업 및 슬레이브 작업 즉, 종속 관계를 형성하는 작업들 간의 데이터 처리가 적정한지 여부를 판단하는 기준일 수 있다. In addition, the processor 130 may determine that the processing of one or more tasks is unbalanced when the memory usage for each dependency relationship formed by each of the one or more tasks exceeds a predetermined second threshold usage amount. The memory usage for each dependency relationship may be the sum of the memory usage of tasks included in each of the master task and the slave task. The second threshold usage may be a criterion for determining whether data processing between the master task and the slave task, that is, tasks forming a dependency relationship, is appropriate.

구체적인 예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 제 1 테이블을 스캔하는 제 1 작업, 제 2 테이블을 스캔하는 제 2 작업, 그리고 제 1 작업 및 제 2 작업을 통해 스캔된 레코드들에 대한 정렬을 수행하는 제 3 작업으로 분할되는 경우, 각 작업의 메모리 사용량은 40%, 55% 및 45%이며, 사전 결정된 제 1 임계 사용량 및 사전 결정된 제 2 임계 사용량 각각은 70% 및 90%일 수 있다. 제 1 작업 및 제 2 작업은 제 3 작업에 처리된 데이터를 전달하는 마스터 작업이며, 제 3 작업은 마스터 작업에서 처리된 데이터에 기초하여 연산을 수행하는 슬레이브 작업일 수 있다. 이 경우, 종속 관계 별 메모리 사용량은, 마스터 작업인 제 1 작업의 메모리 사용량과 제 2 작업의 메모리 사용량의 합을 통해 95%로 식별될 수 있으며, 슬레이브 작업인 제 3 작업의 메모리 사용량을 통해 45%로 식별될 수 있다. 즉, 각 작업의 메모리 사용량은 사전 결정된 제 1 임계 사용량(즉, 75%)을 초과하지 않으나, 각 종속 관계 별 메모리 사용량 중 마스터 작업의 메모리 사용량(95%)이 사전 결정된 제 2 임계 사용량(90%)을 초과하므로, 프로세서(130)는 하나 이상의 작업에서 수행되는 데이터 처리를 불균형으로 판단할 수 있다. 전술한 각 작업에 대한 메모리 사용량, 사전 결정된 제 1 임계 사용량 및 사전 결정된 제 2 임계 사용량의 구체적인 수치에 대한 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.For a specific example, the operation corresponding to the query is a first operation of scanning a first table, a second operation of scanning a second table, and records scanned through the first operation and the second operation by the processor 130 When divided into a third task that performs sorting on the fields, the memory usage of each task is 40%, 55%, and 45%, and the first predetermined threshold usage and the second predetermined threshold usage are 70% and 90, respectively. It can be %. The first task and the second task may be a master task that transfers processed data to the third task, and the third task may be a slave task that performs an operation based on data processed by the master task. In this case, the memory usage by dependency relationship can be identified as 95% through the sum of the memory usage of the first task, which is the master task, and the memory usage of the second task, and 45 through the memory usage of the third task, which is a slave task. Can be identified by %. That is, the memory usage of each task does not exceed the first predetermined threshold usage (i.e., 75%), but the memory usage of the master task (95%) among the memory usage for each dependency relationship is the second threshold usage (90%). %), the processor 130 may determine that data processing performed in one or more tasks is unbalanced. The description of specific values of the memory usage, the first predetermined threshold usage, and the second predetermined threshold usage for each task described above are only examples, and the present disclosure is not limited thereto.

즉, 프로세서(130)는 특정 작업에 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 경우, 특정 작업에 데이터 처리가 비 효율적인 상태로 판단하여 하나 이상의 작업 각각에서 수행되는 데이터 처리가 불균형한 것으로 판단할 수 있다. 또한, 프로세서(130)는 마스터 작업과 슬레이브 작업 각각의 종속 관계 별 메모리 사용량이 사전 결정된 제 2 임계 사용량을 초과하는 경우, 형성된 종속 관계에서 데이터가 처리되지 못하고 지연되는 병목 현상이 발생하는 것으로 판단하여 하나 이상의 작업 각각에서 수행되는 데이터 처리가 불균형한 것으로 판단할 수 있다. 예를 들어, 마스터 작업이 수행되지 않아 슬레이브 작업에 대한 처리가 불가능한 경우로 판단할 수 있다. That is, when the memory usage for a specific task exceeds a predetermined first threshold usage, the processor 130 determines that data processing for a specific task is inefficient, and the data processing performed in each of the one or more tasks is unbalanced. can do. In addition, the processor 130 determines that a bottleneck occurs in which data cannot be processed and a delay occurs when the memory usage for each dependency relationship between the master job and the slave job exceeds a predetermined second threshold usage. It may be determined that data processing performed in each of one or more tasks is unbalanced. For example, it may be determined that the processing of the slave operation is impossible because the master operation is not performed.

또한, 프로세서(130)는 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 하나 이상의 워커 스레드로부터 수신된 작업 관련 메시지에 기초하여 하나 이상의 작업 각각에서 수행되는 데이터 처리의 균형 여부를 판별할 수 있다. 워커 스레드로부터 수신하는 작업 관련 메시지는, 서브 작업에 대한 처리 완료에 관한 메시지일 수 있다.Also, the processor 130 may determine whether to balance data processing performed in each of the one or more tasks based on a task-related message received from one or more worker threads that process sub-tasks for each of the one or more tasks. The task-related message received from the worker thread may be a message relating to completion of processing for a sub-task.

구체적으로, 프로세서(130)는 하나 이상의 워커 스레드로부터 수신한 작업 관련 메시지에 기초하여 하나 이상의 작업 각각의 데이터 처리 결과를 식별할 수 있다. 각 작업의 데이터 처리 결과는 서브 작업이 완료된 정도 나타낼 수 있다. 또한, 하나 이상의 작업 각각의 데이터 처리 결과의 차이가 사전 결정된 임계치 이하인 경우, 하나 이상의 작업 각각에서 수행되는 데이터 처리를 균형으로 판별할 수 있다. 또한, 프로세서(130) 하나 이상의 작업 각각의 데이터 처리 결과의 차이가 사전 결정된 임계치를 초과하는 경우, 하나 이상의 작업 각각에서 수행되는 데이터 처리를 불균형으로 판별할 수 있다. Specifically, the processor 130 may identify a data processing result of each of one or more tasks based on a task-related message received from one or more worker threads. The data processing result of each task can indicate the degree to which the sub task is completed. In addition, when the difference between the data processing results of each of the one or more jobs is equal to or less than a predetermined threshold, the data processing performed in each of the one or more jobs may be determined as a balance. In addition, when the difference between the data processing results of each of the one or more tasks of the processor 130 exceeds a predetermined threshold, the data processing performed in each of the one or more tasks may be determined as unbalanced.

예를 들어, 쿼리에 대응하는 동작은 프로세서(130)에 의해 제 1 테이블 스캔에 대한 제 1 작업, 제 1 작업을 통해 스캔된 레코드를 정렬하는 제 2 작업으로 분할될 수 있다. 또한, 사전 결정된 임계치는 700일 수 있으며, 제 1 작업에 대한 서브 작업들을 수행하는 워커 스레드들로부터 제 1 테이블에 1000 로우까지의 스캔을 완료하였다는 작업 관련 메시지를 수신하고, 그리고 제 2 작업에 대한 서브 작업들을 수행하는 워커 스레드들로부터 200 로우까지의 정렬을 완료하였다는 작업 관련 메시지를 수신할 수 있다. 이 경우, 프로세서(130)는 제 1 작업과 제 2 작업의 데이터 처리 결과 차이가 800으로 사전 결정된 임계치인 700을 초과하는 것을 식별하여 하나 이상의 작업의 처리를 불균형으로 판단할 수 있다. 즉, 프로세서(130)는 테이블에 대한 스캔 작업은 1000 로우까지 완료되었으나, 스캔된 레코드들에 대한 정렬 작업은 200 로우까지 완료된 것을 식별하여, 레코드 정렬 작업(즉, 제 2 작업)에 병목이 발생한 것으로 판단할 수 있다. For example, the operation corresponding to the query may be divided into a first operation for a first table scan by the processor 130 and a second operation for sorting records scanned through the first operation. In addition, the predetermined threshold may be 700, and a task-related message indicating that a scan of up to 1000 rows has been completed in the first table is received from worker threads performing subtasks for the first task, and A task-related message indicating that the alignment of up to 200 rows has been completed may be received from worker threads that perform subtasks for the task. In this case, the processor 130 may determine that the difference in the data processing result of the first job and the second job exceeds 700, which is a predetermined threshold of 800, and determines the processing of one or more jobs as unbalanced. That is, the processor 130 identifies that the table scan operation has been completed up to 1000 rows, but the sorting operation for the scanned records has been completed up to 200 rows, so that a bottleneck occurs in the record sorting operation (i.e., the second operation). It can be judged as.

다른 예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 테이블 스캔에 대한 제 1 작업, 스캔된 테이블의 레코드에 대한 hash join을 수행하는 제 2 작업 및 제 2 작업의 결과에 대한 필터를 적용하는 제 3 작업으로 분할될 수 있다. For another example, an operation corresponding to a query is performed by the processor 130 to perform a first operation for a table scan, a second operation for performing a hash join on the records of the scanned table, and a filter for the result of the second operation. It can be divided into a third task to apply.

또한, 사전 결정된 임계치는 500일 수 있으며, 제 1 작업에 대한 서브 작업들을 수행하는 워커 스레드들로부터 테이블에 1000 로우까지의 스캔을 완료하였다는 작업 관련 메시지를 수신하며, 제 2 작업에 대한 서브 작업들을 수행하는 워커 스레드들로부터 700 로우까지 join을 완료하였다는 작업 관련 메시지를 수신하고, 그리고 제 3 작업에 대한 서브 작업들을 수행하는 워커 스레드들로부터 20 로우 까지의 filter 처리를 완료하였다는 작업 관련 메시지를 수신할 수 있다. 이 경우, 프로세서(130)는 제 2 작업과 제 3 작업의 데이터 처리 결과 차이가 680으로 사전 결정된 임계치인 500을 초과하는 것을 식별하여 하나 이상의 작업의 처리를 불균형으로 판단할 수 있다. 즉, 프로세서(130)는 join 작업은 700 로우까지 완료되었으나, 조인된 레코드들에 대한 필터 작업은 20 로우까지 완료된 것을 식별하여, 조인된 레코드들에 대한 필터 작업(즉, 제 3 작업)에 병목이 발생한 것으로 판단할 수 있다. 전술한 각 작업에 관한 데이터 처리의 구체적인 수치 및 사전 결정된 임계치에 대한 구체적인 수치에 대한 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.In addition, a predetermined threshold may be 500, and a task-related message indicating that a scan of up to 1000 rows in the table has been completed is received from worker threads performing sub-tasks for the first task, and a sub-task for the second task. A task-related message indicating that the join has been completed up to 700 rows is received from the worker threads performing the tasks, and a task-related message indicating that filter processing of up to 20 rows has been completed from the worker threads performing subtasks for the third task. Can be received. In this case, the processor 130 may determine that the difference in the data processing result of the second task and the third task exceeds 500, which is a predetermined threshold of 680, and determines the processing of one or more tasks as unbalanced. That is, the processor 130 identifies that the join operation has been completed up to 700 rows, but the filter operation for the joined records has completed up to 20 rows, and is a bottleneck in the filter operation (that is, the third operation) for the joined records. It can be determined that this has occurred. The description of specific values of the data processing for each of the above-described tasks and the specific values of the predetermined threshold are only examples, and the present disclosure is not limited thereto.

즉, 프로세서(130)는 각 작업의 서브 작업을 수행하는 워커 스레드들로부터 수신한 작업 관련 메시지를 통해 각 작업의 데이터 처리 정도를 식별할 수 있으며, 각 작업의 처리 정도가 사전 결정된 임계치를 초과하는 시점을 하나 이상의 작업의 처리가 불균형한 것으로 판단할 수 있다. That is, the processor 130 can identify the data processing degree of each job through the job-related messages received from the worker threads performing sub-tasks of each job, and the processing level of each job exceeds a predetermined threshold. The point in time may be determined as unbalanced processing of one or more tasks.

본 개시의 일 실시예에 따르면, 프로세서(130)는 하나 이상의 작업의 처리가 불균형한 것으로 판단한 경우, 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당할 수 있다. 구체적으로, 프로세서(130)는 작업의 불균형과 관련된 작업의 서브 작업을 수행하기 위한 추가 할당 워커 스레드를 식별할 수 있다. 추가 할당 워커 스레드는, 불균형과 관련된 작업에 대한 서브 작업을 수행하는 워커 스레드, 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하는 동작을 수행하는 워커 스레드 중 적어도 하나일 수 있다. According to an embodiment of the present disclosure, when it is determined that the processing of one or more tasks is unbalanced, the processor 130 may reallocate a subtask of a task related to the imbalance to a worker thread. Specifically, the processor 130 may identify an additional allocated worker thread for performing a sub-task of a task related to a task imbalance. The additionally allocated worker thread may be at least one of a worker thread that performs a sub-task for a task related to the imbalance, a worker thread that is not assigned a task, or a worker thread that performs an operation corresponding to another query.

예를 들어, 쿼리에 대응하는 동작이 프로세서(130)에 의해 제 1 테이블을 스캔하는 제 1 작업, 제 2 테이블을 스캔하는 제 2 작업, 그리고 제 1 작업 및 제 2 작업을 통해 스캔된 레코드들에 대한 정렬을 수행하는 제 3 작업으로 분할되는 경우, 각 작업의 메모리 사용량은 80%, 55% 및 45%이며, 사전 결정된 제 1 임계 사용량은 75%일 수 있다. 프로세서(130)는 제 1 테이블을 스캔하는 작업이 사전 결정된 제 1 임계 사용량을 초과하는 것을 식별할 수 있다. 즉, 프로세서(130)는 제 1 작업(즉, 마스터 작업)의 처리 결과로 생성된 데이터가 제 3 작업(즉, 슬레이브 작업)에서 소비되지 않은 것으로 판단하여 제 3 작업의 서브 작업을 수행하기 위한 추가 할당 워커 스레드를 식별할 수 있다. 이 경우, 추가 할당 워커 스레드는, 제 1 작업의 서브 작업을 수행하는 워커 스레드, 제 2 작업의 서브 작업을 수행하는 워커 스레드일 수 있다. For example, an operation corresponding to a query is performed by the processor 130 in a first operation of scanning a first table, a second operation of scanning a second table, and records scanned through the first operation and the second operation. When divided into the third task for performing sorting, the memory usage of each task may be 80%, 55%, and 45%, and the first predetermined threshold usage may be 75%. The processor 130 may identify that the operation of scanning the first table exceeds a first predetermined threshold usage amount. That is, the processor 130 determines that the data generated as a result of the processing of the first task (ie, the master task) is not consumed in the third task (ie, the slave task), and performs the subtask of the third task. Additional allocation worker threads can be identified. In this case, the additional assignment worker thread may be a worker thread that performs a sub-task of the first task or a worker thread that performs a sub-task of the second task.

프로세서(130)는 마스터 작업에 해당하는 제 1 작업 및 제 2 작업의 서브 작업 중 적어도 하나를 수행하는 워커 스레드를 추가 할당 워커 스레드로 식별하여 불균형에 관련된 작업인 제 3 작업(즉, 슬레이브 작업)의 서브 작업을 할당할 수 있다. The processor 130 identifies a worker thread that performs at least one of the subtasks of the first task and the second task corresponding to the master task as an additionally allocated worker thread, and is a third task (ie, a slave task) that is a task related to the imbalance. You can assign sub-tasks.

이에 따라, 테이블 스캔에 대한 작업을 수행하는 마스터 작업의 워커 스레드가 줄어들고, 레코드 정렬 작업을 수행하는 슬레이브 작업의 워커 스레드가 증가할 수 있다. 따라서, 제 3 작업의 서브 작업에 대한 처리 속도가 증가하여 제 1 작업에서 처리되는 데이터를 소비할 수 있으므로, 제 1 작업의 메모리 사용량이 감소될 수 있다(즉, 제 1 작업의 처리 결과 버퍼된 데이터가 제 3 작업을 통해 소비될 수 있다). 제 1 작업의 메모리 사용량이 감소되어 사전 결정된 제 1 임계 사용량 이하가 되는 경우, 프로세서(130)는 각 작업의 처리가 균형한 것으로 판단하여 제 3 작업의 서브 작업을 할당한 워커 스레드에게 다시 제 1 작업 및 제 2 작업의 서브 작업을 할당하여 테이블에 대한 스캔인 마스터 작업을 수행하도록 할 수 있다. 전술한 각 작업의 메모리 사용량 및 사전 결정된 메모리 사용량에 대한 구체적인 기재는 예시일 뿐, 본 개시는 이에 제한되지 않는다.Accordingly, the number of worker threads of the master job that performs the work on the table scan may be reduced, and the number of worker threads of the slave work that performs the record sorting work may increase. Accordingly, the processing speed for the sub-task of the third task increases, and data processed in the first task can be consumed, so that the memory usage of the first task can be reduced (that is, the processing result of the first task is buffered. Data can be consumed through a third operation). When the memory usage of the first task is reduced and becomes less than or equal to the predetermined first threshold usage, the processor 130 determines that the processing of each task is balanced, and returns the first task to the worker thread that has allocated the sub task of the third task. The master task, which is a scan for the table, can be performed by assigning a task and a sub task of the second task. The detailed description of the memory usage and the predetermined memory usage of each operation described above is only an example, and the present disclosure is not limited thereto.

도 5를 참조하여 보다 구체적으로 설명하면, 제 3 쿼리(700)를 수신하는 경우, 프로세서(130)는 T1(711) 및 T2(721) 테이블을 C1 칼럼의 레코드들을 기준으로 정렬하는 동작을 하나 이상의 작업으로 분할할 수 있다. 구체적으로, 프로세서(130)는 T1 테이블(711)의 레코드들을 스캔하기 위한 제 1 작업(710), T2 테이블(721)의 레코드들을 스캔하기 위한 제 2 작업(720), 그리고 제 1 작업(710) 및 제 2 작업(720)을 통해 스캔된 레코드들을 C1 칼럼의 레코드를 기준으로 정렬하는 제 3 작업(730)으로 분할할 수 있다. 이 경우, 제 1 작업(710) 및 제 2 작업(720)의 수행 결과가 제 3 작업(730)의 입력에 해당하는 종속 관계이므로, 제 1 작업(710) 및 제 2 작업(720)은 마스터 작업일 수 있으며, 제 3 작업은 마스터 작업에 대응하는 슬레이브 작업일 수 있다.Referring to FIG. 5 in more detail, when receiving the third query 700, the processor 130 sorts the tables T1 711 and T2 721 based on the records in the column C1. It can be divided into the above tasks. Specifically, the processor 130 includes a first operation 710 for scanning the records of the T1 table 711, a second operation 720 for scanning the records of the T2 table 721, and the first operation 710. ) And the records scanned through the second operation 720 may be divided into a third operation 730 that sorts the records based on the records in the C1 column. In this case, since the execution result of the first task 710 and the second task 720 is a dependency relationship corresponding to the input of the third task 730, the first task 710 and the second task 720 are master It may be an operation, and the third operation may be a slave operation corresponding to the master operation.

제 1 작업(710)은 T1 테이블(711)의 1~10 로우의 레코드를 스캔하기 위한 제 1 서브 작업 및 T1 테이블(711)의 11~20 로우의 레코드를 스캔하기 위한 제 2 서브 작업을 포함할 수 있다, 또한, 제 2 작업(720)은 T2 테이블(721)의 1~10 로우의 레코드를 스캔하기 위한 제 1 서브 작업 및 T2 테이블(721)의 11~20 로우의 레코드를 스캔하기 위한 제 2 서브 작업을 포함할 수 있다. 또한, 제 3 작업(730)은 C1 칼럼의 0~10까지의 레코드를 기준으로 정렬을 수행하는 제 1 서브 작업 및 C1 칼럼의 21~40 까지의 레코드를 기준으로 정렬을 수행하는 제 2 서브 작업을 포함할 수 있다.The first operation 710 includes a first sub-task for scanning records of rows 1 to 10 of the T1 table 711 and a second sub-task for scanning records of rows 11 to 20 of the T1 table 711. In addition, the second operation 720 includes a first sub-operation for scanning records of rows 1 to 10 of the T2 table 721 and a first sub-operation for scanning records of rows 11 to 20 of the T2 table 721. It may include a second sub-task. In addition, the third operation 730 is a first sub-task that performs sorting based on records from 0 to 10 in column C1 and a second sub-task that sorts based on records from column C1 to 21 to 40. It may include.

예를 들어, 제 2 작업(720)의 메모리 사용량 85%로 사전 결정된 제 1 임계 사용량(80%)을 초과하는 경우, 프로세서(130)는 제 2 작업(720)의 제 1 서브 작업 및 제 2 서브 작업을 통해 처리된 데이터가 제 3 작업(730)에서 소비되지 못하는 것을 식별하여 각 작업의 데이터 처리가 불균형한 것으로 판단할 수 있다. 이에 따라, 프로세서(130)는 T2 테이블(721)을 스캔하는 제 2 작업(710)의 제 1 서브 작업 및 제 2 서브 작업을 수행하는 워커 스레드들 중 적어도 하나의 워커 스레드에게 제 3 작업의 서브 작업을 할당할 수 있다. For example, when the memory usage of the second task 720 exceeds a predetermined first threshold usage amount (80%) as 85%, the processor 130 may perform the first subtask and the second subtask of the second task 720. By identifying that the data processed through the sub-task is not consumed in the third task 730, it may be determined that the data processing of each task is unbalanced. Accordingly, the processor 130 provides at least one of the worker threads performing the first sub-task and the second sub-task of the second task 710 to scan the T2 table 721 to a sub-task of the third task. Tasks can be assigned.

즉, 프로세서(130)는 제 2 작업(720)의 제 1 서브 작업의 수행을 완료한 워커 스레드 또는, 제 2 작업(720)의 제 2 서브 작업의 수행을 완료한 워커 스레드 중 적어도 하나의 워커 스레드에게 제 3 작업(730)의 제 3 서브 작업(C1 칼럼의 41 이상의 레코드를 기준으로 정렬을 수행)을 할당할 수 있다. 프로세서(130)가 불균형과 관련된 제 3 작업(730)의 서브 작업을 제 2 작업(720)의 서브 작업을 수행하는 워커 스레드에게 재할당함에 따라, 제 3 작업(730)을 수행하는 워커 스레드의 수가 증가하고, 제 2 작업(720)의 서브 작업을 수행하는 워커 스레드 수가 감소할 수 있다. 다시 말해, 처리량이 많은 작업을 식별하고, 해당 작업에 비 동기적으로 추가 할당 워커 스레드를 식별하여 해당 작업의 서브 작업에 할당시킴으로써, 데이터의 우선적으로 처리할 수 있도록 할 수 있다. That is, the processor 130 is at least one of a worker thread that has completed the execution of the first sub-task of the second task 720 or a worker thread that has completed the execution of the second sub-task of the second task 720. A third sub-task (sorting based on 41 or more records in column C1) of the third task 730 may be assigned to the thread. As the processor 130 reallocates the subtask of the third task 730 related to the imbalance to the worker thread performing the subtask of the second task 720, the worker thread performing the third task 730 The number may increase, and the number of worker threads performing sub-tasks of the second operation 720 may decrease. In other words, it is possible to prioritize data processing by identifying a task with high throughput, identifying an additionally allocated worker thread asynchronously to the task and assigning it to a subtask of the task.

다른 예를 들어, 도 6을 참조하면, 쿼리에 대응하는 동작이 프로세서(130)에 의해 테이블 스캔에 대한 제 1 작업(810), 스캔된 테이블의 레코드에 대한 hash join을 수행하는 제 2 작업(820) 및 제 2 작업(820)의 결과에 대한 필터를 적용하는 제 3 작업(830)으로 분할되며, 각 작업의 메모리 사용량이 18%, 75% 및 12%이고, 그리고 사전 결정된 제 1 임계 사용량이 70%인 경우, 프로세서(130)는 제 2 작업에 대한 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 것을 식별하여, 작업의 처리가 불균형한 것으로 판단할 수 있다. 즉, 프로세서(130)는 제 2 작업(820)의 처리 결과로 생성된 데이터가 제 3 작업(830)에서 소비되지 않은 것으로 판단하여 제 3 작업(830)의 처리 속도를 향상시키기 위해, 제 3 작업(830)의 서브 작업을 수행하기 위한 추가 할당 워커 스레드를 식별할 수 있다. 이 경우, 추가 할당 워커 스레드는, 제 1 작업(810) 및 제 2 작업(820)의 서브 작업을 수행하는 워커 스레드일 수 있다. For another example, referring to FIG. 6, an operation corresponding to a query is performed by the processor 130 for a first operation 810 for a table scan, and a second operation for performing a hash join on a record of the scanned table ( 820) and a third task 830 that applies a filter on the result of the second task 820, the memory usage of each task is 18%, 75%, and 12%, and a predetermined first threshold usage In the case of 70%, the processor 130 may identify that the memory usage for the second job exceeds the first predetermined threshold usage, and determine that the processing of the job is unbalanced. That is, the processor 130 determines that the data generated as a result of the processing of the second operation 820 is not consumed in the third operation 830, and in order to improve the processing speed of the third operation 830, Additional allocation worker threads for performing sub-tasks of task 830 may be identified. In this case, the additional assignment worker thread may be a worker thread that performs sub-tasks of the first task 810 and the second task 820.

즉, 프로세서(130)는 불균형과 관련된 제 2 작업(820)에 대한 서브 작업을 수행하는 워커 스레드 또는, 제 1 작업(810)의 서브 작업을 수행하는 워커 스레드에게 제 3 작업(830)의 서브 작업을 비 동기적으로 할당하여. 제 3 작업(830)의 처리 속도를 향상시켜 제 2 작업(820)의 메모리에 버퍼링된 데이터를 빠르게 소비하도록 할 수 있다. That is, the processor 130 is a sub-task of the third task 830 to a worker thread that performs a sub-task for the second task 820 related to the imbalance or a worker thread that performs a sub-task of the first task 810. By assigning tasks asynchronously. By improving the processing speed of the third operation 830, data buffered in the memory of the second operation 820 may be quickly consumed.

이에 따라, 제 3 작업(830)의 서브 작업에 대한 처리 속도가 증가하여 제 2 작업(820)에 처리되는 데이터를 소비할 수 있으므로, 제 2 작업(820)의 메모리 사용량이 감소될 수 있다. 즉, 제 2 작업(820)의 처리 결과 버퍼된 데이터가 제 3 작업의 처리 속도 향상으로 인해 소비될 수 있어, 병목 현상이 해소될 수 있다. Accordingly, the processing speed of the sub-task of the third task 830 increases, and data processed in the second task 820 may be consumed, and thus the memory usage of the second task 820 may be reduced. That is, the data buffered as a result of the processing of the second job 820 may be consumed due to an increase in the processing speed of the third job, so that a bottleneck may be eliminated.

또한, 제 3 작업(830)의 처리 속도 향상으로 인해 제 2 작업(820)의 메모리 사용량이 감소되어 사전 결정된 제 1 임계 사용량 이하가 되는 경우, 프로세서(130)는 각 작업의 처리가 균형적인 것으로 판단하여, 제 3 작업(830)의 서브 작업을 할당한 워커 스레드에게 다시 제 1 작업(810) 및 제 2 작업(820)의 서브 작업을 할당하여 테이블 스캔 또는, hash join에 대한 작업을 수행하도록 할 수 있다. In addition, when the memory usage of the second task 820 decreases due to the increase in the processing speed of the third task 830 and falls below the predetermined first threshold usage, the processor 130 determines that the processing of each task is balanced. After determining, assigning the subtasks of the first task 810 and the second task 820 back to the worker thread that has assigned the subtask of the third task 830 to perform a table scan or a hash join operation. can do.

따라서, 프로세서(130)는 하나 이상의 작업 각각에, 특정 워커 스레드들을 매칭시켜 대응하는 작업을 수행하도록 하는 것이 아닌, 데이터의 흐름에 따라 특정 작업에 병목 현상이 생기는 경우, 다른 작업의 워커 스레드 또는, 유휴 워커 스레드를 비 동기적으로 할당함으로써, 각 작업 간 데이터 처리가 효율적으로 이루어지게 할 수 있다. 즉, 작업의 처리 상황에 따라 유동적인 데이터 처리가 가능하여 쿼리에 대응하는 데이터 처리의 속도가 향상될 수 있으며, 특정 작업에서 발생하는 병목 현상을 빠르게 해소시킬 수 있다. Therefore, the processor 130 does not match specific worker threads to each of one or more tasks to perform a corresponding task, but when a bottleneck occurs in a specific task according to the flow of data, a worker thread of another task or, By asynchronously allocating idle worker threads, it is possible to efficiently process data between tasks. That is, it is possible to process data in a flexible manner according to the processing status of a job, so that the speed of data processing corresponding to a query can be improved, and a bottleneck occurring in a specific job can be quickly resolved.

도 7은 본 개시의 일 실시예와 관련된 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 위한 방법을 예시적으로 도시한 순서도이다.7 is a flowchart illustrating a method for asynchronous data processing in a database management system according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따르면, 서버(100)는 클라이언트로부터 발행된 쿼리를 수신하는 경우, 상기 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할할 수 있다(910). According to an embodiment of the present disclosure, when receiving a query issued from a client, the server 100 may divide an operation corresponding to the query into one or more tasks (910).

본 개시의 일 실시예에 따르면, 서버(100)는 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당할 수 있다(920). According to an embodiment of the present disclosure, the server 100 may allocate sub-tasks for each of one or more tasks to each of one or more worker threads (920).

본 개시의 일 실시예에 따르면, 서버(100)는 하나 이상의 작업의 처리에 대한 균형 여부를 판별할 수 있다(930). According to an embodiment of the present disclosure, the server 100 may determine whether to balance processing of one or more tasks (930 ).

본 개시의 일 실시예에 따르면, 서버(100)는 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당할 수 있다(940). According to an embodiment of the present disclosure, when it is determined that the processing of one or more tasks is unbalanced, the server 100 may reallocate a subtask of a task related to the imbalance to a worker thread (940).

전술한 도 7에 도시된 단계들은 필요에 의해 순서가 변경될 수 있으며, 적어도 하나 이상의 단계가 생략 또는 추가될 수 있다. 즉, 전술한 단계는 본 개시의 일 실시예에 불과할 뿐, 본 개시의 권리 범위는 이에 제한되지 않는다.The order of the steps illustrated in FIG. 7 may be changed as needed, and at least one or more steps may be omitted or added. That is, the above-described steps are only one embodiment of the present disclosure, and the scope of the present disclosure is not limited thereto.

도 8은 본 개시의 일 실시예와 관련된 데이터 베이스 관리 시스템에서 비동기적 데이터 처리를 수행하기 위한 모듈을 도시한다.8 illustrates a module for performing asynchronous data processing in a database management system according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따르면, 서버는 다음과 같은 모듈에 의해 구현될 수 있다.According to an embodiment of the present disclosure, the server may be implemented by the following modules.

본 개시의 일 실시예에 따르면, 서버(100)는 클라이언트로부터 발행된 쿼리를 수신하는 경우, 상기 쿼리에 대응하는 동작을 하나 이상의 작업으로 분할하기 위한 모듈(1010), 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하기 위한 모듈(1020), 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하기 위한 모듈(1030) 및 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당하기 위한 모듈(1040)을 포함할 수 있다. According to an embodiment of the present disclosure, when receiving a query issued from a client, the server 100 provides a module 1010 for dividing an operation corresponding to the query into one or more tasks, and for each of the one or more tasks. A module 1020 for allocating sub-tasks to each of one or more worker threads, a module 1030 for determining whether the processing of the one or more tasks is balanced, and when the processing of the one or more tasks is determined to be unbalanced, the A module 1040 for reallocating a sub-task of a task related to imbalance to a worker thread may be included.

대안적으로, 제 1 항에 있어서, 상기 하나 이상의 작업 각각은, 상기 쿼리에 대응하기 위한 모듈들을 일정 기준으로 분류한 그룹으로, 데이터를 병렬 처리하는 병렬 처리 관계, 또는 데이터를 연계 처리하는 종속 관계 중 적어도 하나의 관계를 형성할 수 있다.Alternatively, the method of claim 1, wherein each of the one or more tasks is a group in which modules corresponding to the query are classified on a predetermined basis, a parallel processing relationship for parallel processing of data, or a dependency relationship for linking data. At least one of the relationships can be formed.

대안적으로, 상기 하나 이상의 작업이 종속 관계를 형성하는 경우, 상기 종속 관계를 형성하는 작업들은, 상기 서브 작업의 처리 결과에 따라 생성되는 데이터를 슬레이브 작업에 전달하는 마스터 작업 및 상기 마스터 작업으로부터 전달받은 데이터에 기초하여 연산을 수행하는 상기 슬레이브 작업을 포함할 수 있다.Alternatively, when the one or more tasks form a dependency relationship, the tasks that form the dependency relationship are a master task that transmits data generated according to the processing result of the sub task to a slave task and from the master task. It may include the slave operation that performs an operation based on the received data.

대안적으로, 상기 하나 이상의 작업 각각에 대한 서브 작업을 하나 이상의 워커 스레드 각각에 할당하기 위한 모듈은, 상기 하나 이상의 작업 중 마스터 작업을 수행하기 위해 워커 스레드에게 상기 마스터 작업의 서브 작업을 할당하기 위한 모듈, 상기 마스터 작업에 대한 작업 진행도가 사전 결정된 임계치 이상인 경우, 상기 마스터 작업에 대응하는 슬레이브 작업을 수행하기 위한 적어도 하나의 추가 할당 워커 스레드를 식별하기 위한 모듈 및 상기 추가 할당 워커 스레드에게 상기 슬레이브 작업에 대한 서브 작업을 할당하기 위한 모듈을 포함할 수 있다.Alternatively, a module for allocating a sub-task for each of the one or more tasks to each of one or more worker threads is configured to allocate a sub-task of the master task to a worker thread in order to perform a master task among the one or more tasks. Module, a module for identifying at least one additional allocation worker thread for performing a slave job corresponding to the master job, and the slave to the additional allocation worker thread when the progress of the work on the master job is greater than or equal to a predetermined threshold It may include a module for allocating sub-tasks for the task.

대안적으로, 상기 추가 할당 워커 스레드는, 상기 마스터 작업에 대응하는 작업을 수행하는 워커 스레드, 서브 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하기 위한 모듈을 수행하는 워커 스레드 중 적어도 하나일 수 있다. Alternatively, the additional assignment worker thread is at least one of a worker thread that performs a task corresponding to the master task, a worker thread that is not assigned a sub task, or a worker thread that performs a module for responding to other queries. I can.

대안적으로, 상기 하나 이상의 작업의 처리에 대한 균형 여부를 판별하기 위한 모듈은, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량에 기초하여 상기 균형 여부를 판별하기 위한 모듈 또는, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신한 작업 관련 메시지에 기초하여 상기 균형 여부를 판별하기 위한 모듈 중 적어도 하나의 동작을 포함할 수 있다. Alternatively, the module for determining whether to balance the processing of the one or more jobs is a module for determining whether the balance is based on the memory usage allocated to each of the one or more jobs, or for each of the one or more jobs It may include at least one operation of a module for determining whether the balance is based on a job-related message received from the one or more worker threads that process sub-tasks for the job.

대안적으로, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량에 기초하여 상기 균형 여부를 판별하기 위한 모듈은, 상기 하나 이상의 작업 각각에 할당된 메모리 사용량이 사전 결정된 제 1 임계 사용량을 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하기 위한 모듈 및 상기 하나 이상의 작업 각각이 형성하는 종속 관계 별 메모리 사용량이 사전 결정된 제 2 임계 사용량을 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하기 위한 모듈을 포함하고, 상기 종속 관계 별 메모리 사용량은, 마스터 작업 및 슬레이브 작업 각각에 포함된 작업들 각각의 메모리 사용량의 합으로 식별될 수 있다.Alternatively, the module for determining whether the balance is based on the memory usage allocated to each of the one or more tasks, when the memory usage allocated to each of the one or more tasks exceeds a predetermined first threshold usage amount, the If the module for determining that the processing of one or more tasks is unbalanced and the memory usage for each dependency relationship formed by each of the one or more tasks exceeds the second predetermined threshold usage, it is determined that the processing of the one or more tasks is unbalanced. It includes a module to perform, and the memory usage for each dependency relationship may be identified as the sum of the memory usage of each of the tasks included in each of the master task and the slave task.

대안적으로, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신한 작업 관련 메시지에 기초하여 상기 균형 여부를 판별하기 위한 모듈은, 상기 하나 이상의 작업 각각에 대한 서브 작업을 처리하는 상기 하나 이상의 워커 스레드로부터 수신된 작업 관련 메시지에 기초하여 상기 하나 이상의 작업 각각의 데이터 처리 결과를 식별하기 위한 모듈 및 상기 하나 이상의 작업 간의 데이터 처리 결과의 차이가 사전 결정된 임계치를 초과하는 경우, 상기 하나 이상의 작업의 처리가 불균형한 것으로 판단하기 위한 모듈을 포함할 수 있다.Alternatively, the module for determining whether the balance is based on a job-related message received from the one or more worker threads processing sub-tasks for each of the one or more jobs, the sub-task for each of the one or more jobs A module for identifying a data processing result of each of the one or more jobs and a difference in a data processing result between the one or more jobs based on a job-related message received from the one or more worker threads to process exceeds a predetermined threshold, It may include a module for determining that the processing of the one or more tasks is unbalanced.

대안적으로, 상기 하나 이상의 작업의 처리가 불균형으로 판단되는 경우, 상기 불균형과 관련한 작업의 서브 작업을 워커 스레드에 재할당하기 위한 모듈은, 상기 작업의 불균형과 관련된 작업의 서브 작업을 수행하기 위한 추가 할당 워커 스레드를 식별하기 위한 모듈 및 상기 추가 할당 워커 스레드에게 상기 불균형과 관련된 서브 작업을 할당하기 위한 모듈을 포함하고, 그리고 상기 추가 할당 워커 스레드는, 상기 불균형과 관련된 작업에 대한 서브 작업을 수행하는 워커 스레드, 작업이 할당되지 않은 워커 스레드 또는, 다른 쿼리에 대응하기 위한 모듈을 수행하는 워커 스레드 중 적어도 하나일 수 있다.Alternatively, when it is determined that the processing of the one or more tasks is unbalanced, the module for reallocating the subtasks of the tasks related to the imbalance to a worker thread is for performing the subtasks of the tasks related to the imbalance of the tasks. A module for identifying an additional allocation worker thread and a module for allocating a sub-task related to the imbalance to the additional allocation worker thread, and the additional allocation worker thread performs a sub-task for the task related to the imbalance It may be at least one of a worker thread that performs a task, a worker thread that is not assigned a task, or a worker thread that executes a module for responding to other queries.

본 개시의 일 실시예에 따르면, 데이터베이스 시스템에서 비동기적 데이터 처리를 수행하기 위한 모듈은, 서버를 구현하기 위한 수단, 회로 또는, 로직에 의하여 구현될 수도 있다. According to an embodiment of the present disclosure, a module for performing asynchronous data processing in a database system may be implemented by means, circuits, or logic for implementing a server.

당업자들은 추가적으로 여기서 개시된 실시예들과 관련되어 설명된 다양한 예시적 논리적 블록들, 구성들, 모듈들, 회로들, 수단들, 로직들 및 알고리즘 단계들이 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양쪽 모두의 조합들로 구현될 수 있음을 인식해야 한다. 하드웨어 및 소프트웨어의 상호교환성을 명백하게 예시하기 위해, 다양한 예시적 컴포넌트들, 블록들, 구성들, 수단들, 로직들, 모듈들, 회로들, 및 단계들은 그들의 기능성 측면에서 일반적으로 위에서 설명되었다. 그러한 기능성이 하드웨어로 또는 소프트웨어로서 구현되는지 여부는 전반적인 시스템에 부과된 특정 어플리케이션(application) 및 설계 제한들에 달려 있다. 숙련된 기술자들은 각각의 특정 어플리케이션들을 위해 다양한 방법들로 설명된 기능성을 구현할 수 있으나, 그러한 구현의 결정들이 본 개시내용의 영역을 벗어나게 하는 것으로 해석되어서는 안된다.Those of skill in the art would further describe the various illustrative logical blocks, configurations, modules, circuits, means, logics and algorithm steps described in connection with the embodiments disclosed herein, in electronic hardware, computer software, or combinations of both. It should be recognized that it can be implemented as 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 specific application and design restrictions 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.

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

본 개시가 일반적으로 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어와 관련하여 전술되었지만, 당업자라면 본 개시가 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로 구현될 수 있다는 것을 잘 알 것이다.While the present disclosure has generally been described above with respect to computer-executable instructions that can 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, procedures, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Further, to those skilled in the art, the method of the present disclosure is not limited to single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable household appliances, etc. (each of which is It will be appreciated that other computer system configurations may be implemented, including one that may operate in connection with one or more associated devices.

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

컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있고, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 이러한 컴퓨터 판독가능 저장 매체는 휘발성 및 비휘발성 매체, 이동식 및 비-이동식 매체를 포함한다. 컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비휘발성 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 판독가능 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computers typically include a variety of computer-readable media. Any medium accessible by the computer may be a computer-readable medium, and the computer-readable medium may include a computer-readable storage medium and a computer-readable transmission medium. Such computer-readable storage media include volatile and nonvolatile media, removable and non-removable media. Computer-readable storage media includes volatile and nonvolatile media, removable and non-removable media implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer-readable storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage, 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 implement computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism. Includes information delivery media. The term modulated data signal refers to a signal in which one or more of the characteristics of the signal is set or changed so as to encode information in the signal. By way of example and not limitation, computer-readable transmission media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above-described media are also intended to be included within the scope of computer-readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An exemplary environment 1100 is shown that implements various aspects of the present disclosure, including a computer 1102, which includes a processing device 1104, a system memory 1106, and a system bus 1108. do. System bus 1108 couples system components, including but not limited to, system memory 1106 to processing device 1104. The processing unit 1104 may be any of a variety of commercially available processors. Dual processors and other multiprocessor architectures may also be used as 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 additionally 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 non-volatile memory 1110 such as ROM, EPROM, EEPROM, etc. This BIOS is a basic input/output system that helps transfer information between components within the computer 1102, such as during startup. Includes routines. RAM 1112 may also include high speed RAM such as static RAM for caching data.

컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)―이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음―, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘다를 포함한다.The computer 1102 also includes an internal hard disk drive (HDD) 1114 (e.g., EIDE, SATA)-this internal hard disk drive 1114 can also be configured for external use within a suitable chassis (not shown). Yes--, a magnetic floppy disk drive (FDD) 1116 (for example, to read from or write to a removable diskette 1118), and an optical disk drive 1120 (for example, a CD-ROM). For reading the disk 1122 or for reading from or writing to other high-capacity optical media such as DVD). The hard disk drive 1114, magnetic disk drive 1116, and optical disk drive 1120 are each connected to the system bus 1108 by a hard disk drive interface 1124, a magnetic disk drive interface 1126, and an optical drive interface 1128. ) Can be connected. The interface 1124 for implementing an external drive 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 non-volatile 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 description of the computer-readable medium above refers to a removable optical medium such as a HDD, a removable magnetic disk, and a CD or DVD, those skilled in the art may use a zip drive, a magnetic cassette, a flash memory card, a cartridge, etc. It will be appreciated that other types of computer-readable media, such as the ones, may also be used in the exemplary operating environment and that any such media may contain computer-executable instructions for performing the methods of the present disclosure.

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

사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.A user may input commands and information to the computer 1102 through one or more wired/wireless input devices, for example, a pointing device 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 through the 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, It can be connected by other interfaces such as etc.

모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.A monitor 1144 or other type of display device is also connected to the system bus 1108 through 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 communication. The remote computer(s) 1148 may be a workstation, server computer, router, personal computer, portable computer, microprocessor-based entertainment device, peer device, or other common network node, and is generally referred to as computer 1102. Although including many or all of the described components, only memory storage device 1150 is shown for simplicity. The logical connections shown include wired/wireless connections to a local area network (LAN) 1152 and/or to a larger network, eg, a wide area network (WAN) 1154. Such LAN and WAN networking environments are common in offices and companies, and facilitate enterprise-wide computer networks such as intranets, all of which can be connected to worldwide computer networks, for example the Internet.

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

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

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

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 "소프트웨어"로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.A person of ordinary skill in the art of the present disclosure includes various exemplary logical blocks, modules, processors, means, circuits and algorithm steps described in connection with the embodiments disclosed herein, electronic hardware, For the sake of clarity, it will be appreciated that it may be implemented by various forms of program or design code or a combination of both (referred to herein as "software"). To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. A person of ordinary skill in the art of the present disclosure may implement the described functions in various ways for each specific 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 implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term “article of manufacture” includes a computer program, carrier, or media accessible from any computer-readable device. For example, computer-readable media include magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips, etc.), optical disks (e.g., CD, DVD, etc.), smart cards, and flash memory. Devices (eg, EEPROM, card, stick, key drive, etc.). In addition, the various storage media presented herein include one or more devices and/or other machine-readable media for storing information. The term “machine-readable medium” includes, but is not limited to, wireless channels and various other media capable of storing, holding, and/or transmitting instruction(s) and/or data.

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

제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다. A 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 of ordinary skill in the art, and general principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure is not to be limited to the embodiments presented herein, but is to be construed in the widest scope consistent with the principles and novel features presented herein.

Claims (1)

컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.A computer program stored on a computer readable storage medium.
KR1020210054053A 2021-04-27 2021-04-27 A computer program for asynchronous data processing in a database management system KR20210053830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210054053A KR20210053830A (en) 2021-04-27 2021-04-27 A computer program for asynchronous data processing in a database management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210054053A KR20210053830A (en) 2021-04-27 2021-04-27 A computer program for asynchronous data processing in a database management system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190137095A Division KR102247249B1 (en) 2019-10-31 2019-10-31 A computer program for asynchronous data processing in a database management system

Publications (1)

Publication Number Publication Date
KR20210053830A true KR20210053830A (en) 2021-05-12

Family

ID=75918923

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210054053A KR20210053830A (en) 2021-04-27 2021-04-27 A computer program for asynchronous data processing in a database management system

Country Status (1)

Country Link
KR (1) KR20210053830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230152397A (en) 2022-04-27 2023-11-03 주식회사 매스코리아 Data management method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4611830Y1 (en) 1967-09-30 1971-04-23

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4611830Y1 (en) 1967-09-30 1971-04-23

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230152397A (en) 2022-04-27 2023-11-03 주식회사 매스코리아 Data management method

Similar Documents

Publication Publication Date Title
US11366797B2 (en) System and method for large-scale data processing using an application-independent framework
KR102247249B1 (en) A computer program for asynchronous data processing in a database management system
US6519660B1 (en) Method, system and program products for determining I/O configuration entropy
US6587938B1 (en) Method, system and program products for managing central processing unit resources of a computing environment
JP4614956B2 (en) Dynamic reassignment of data ownership
US8458714B2 (en) Method, system and program products for managing logical processors of a computing environment
KR101013073B1 (en) Apparatus for Task Distribution and Parallel Processing System and Method there of
US20030065835A1 (en) Processing channel subsystem pending i/o work queues based on priorities
US20110185364A1 (en) Efficient utilization of idle resources in a resource manager
US20150227586A1 (en) Methods and Systems for Dynamically Allocating Resources and Tasks Among Database Work Agents in an SMP Environment
JP6083290B2 (en) Distributed processing system
JP2015026372A (en) Computer-implemented method, storage medium and computer system for parallel tree based prediction
US10268741B2 (en) Multi-nodal compression techniques for an in-memory database
CN113821311A (en) Task execution method and storage device
CN112753022A (en) Automatic query retry in a database environment
Wu et al. Heuristic algorithms for task assignment and scheduling in a processor network
US6549931B1 (en) Distributing workload between resources used to access data
dos Anjos et al. Smart: An application framework for real time big data analysis on heterogeneous cloud environments
CN116136783A (en) Efficient accelerator offloading in a multi-accelerator framework
KR20210053830A (en) A computer program for asynchronous data processing in a database management system
CN117331678B (en) Heterogeneous computing power federation-oriented multi-cluster job resource specification computing method and system
JP2009037369A (en) Resource assignment method to database server
Yankovitch et al. Hypersonic: A hybrid parallelization approach for scalable complex event processing
US9110823B2 (en) Adaptive and prioritized replication scheduling in storage clusters
US20230155958A1 (en) Method for optimal resource selection based on available gpu resource analysis in large-scale container platform

Legal Events

Date Code Title Description
A107 Divisional application of patent