KR20180085633A - 질의 처리 장치 및 방법 - Google Patents
질의 처리 장치 및 방법 Download PDFInfo
- Publication number
- KR20180085633A KR20180085633A KR1020170009426A KR20170009426A KR20180085633A KR 20180085633 A KR20180085633 A KR 20180085633A KR 1020170009426 A KR1020170009426 A KR 1020170009426A KR 20170009426 A KR20170009426 A KR 20170009426A KR 20180085633 A KR20180085633 A KR 20180085633A
- Authority
- KR
- South Korea
- Prior art keywords
- partition
- query
- column set
- column
- horizontal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
- G06F16/24554—Unary operations; Data partitioning operations
- G06F16/24557—Efficient disk access during query execution
-
- G06F17/30386—
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
- G06F16/24554—Unary operations; Data partitioning operations
-
- G06F17/30194—
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
도 2는 본 발명의 실시 예에 따른 파티션 컬럼셋을 구성하는 과정의 흐름도이다.
도 3은 본 발명의 실시 예에 따른 질의 처리 방법의 흐름도이다.
도 4는 본 발명의 실시 예에 따른 질의 처리 과정을 나타낸 예시도이다.
도 5는 본 발명의 실시 예에 따른 질의 처리 장치의 구조도이다.
Claims (16)
- 질의 처리 장치가, 질의를 처리하는 방법으로서,
질의가 입력되면 데이터 테이블에 파티션이 있는 경우, 상기 입력된 질의에 대응하는 파티션을 선택하는 단계;
상기 선택된 파티션에 적어도 하나의 파티션 컬럼셋이 있는 경우, 상기 입력된 질의에 대응하는 적어도 하나의 파티션 컬럼셋을 선택하는 단계; 및
상기 선택된 파티션 컬럼셋에 대해 상기 질의를 처리하는 단계
를 포함하는, 질의 처리 방법. - 제1항에 있어서,
상기 파티션 컬럼셋은 상기 데이터 테이블이 적어도 하나의 수평 파티션으로 분할되어 있는 경우, 상기 수평 파티션 각각에 대하여 상기 데이터 테이블을 구성하는 적어도 하나의 컬럼을 묶은 컬럼셋을 캐시 테이블로 저장한 데이터 구조인, 질의 처리 방법. - 제1항에 있어서,
상기 데이터 테이블의 파티션 각각에 대하여 적어도 하나의 파티션 컬럼셋이 선택적으로 형성되어 있으며, 상기 파티션별로 형성된 파티션 컬럼셋의 수와 파티션 컬럼셋을 형성하는 컬럼의 종류가 다른, 질의 처리 방법. - 제3항에 있어서,
상기 파티션 컬럼셋을 선택하는 단계는 상기 입력된 질의의 조건절을 분석하고, 상기 선택된 파티션에 대하여 형성된 적어도 하나의 파티션 컬럼셋이 형성되어 있는 경우, 상기 분석 결과를 토대로 상기 적어도 하나의 파티션 컬럼셋 중에서 하나의 파티션 컬럼셋을 선택하는, 질의 처리 방법. - 제1항에 있어서,
상기 데이터 테이블에 파티션이 없는 경우, 상기 데이터 테이블에 대하여 상기 질의를 처리하는 단계; 및
상기 선택된 파티션에 파티션 컬럼셋이 없는 경우, 상기 선택된 파티션에 대하여 상기 질의를 처리하는 단계
를 더 포함하는, 질의 처리 방법. - 제1항에 있어서,
상기 질의 처리 장치는 분산 질의 처리 엔진인, 질의 처리 방법. - 질의 처리를 위한 컬럼셋을 구성하는 방법으로서,
질의의 워크로드를 분석하여 데이터 테이블을 복수의 수평 파티션으로 나누는 단계; 및
각 수평 파티션에 대하여 상기 질의의 워크로드의 분석 결과를 토대로, 상기 데이터 테이블을 구성하는 적어도 하나의 컬럼을 묶은 파티션 컬럼셋을 선택적으로 적어도 하나 구성하는 단계
를 포함하는, 구성 방법. - 제7항에 있어서,
상기 수평 파티션별로 형성된 파티션 컬럼셋의 수가 다른, 구성 방법. - 제7항에 있어서,
상기 수평 파티션별로 파티션 컬럼셋을 구성하는 컬럼의 종류가 다른, 구성 방법. - 제7항에 있어서,
상기 구성하는 단계는 상기 파티션 컬럼셋을 캐시 테이블로 저장하는 단계를 포함하는, 구성 방법. - 제7항에 있어서,
상기 구성하는 단계는
각 수평 파티션에 대하여 복수의 파티션 컬럼셋들이 형성되어 있는 경우, 적어도 하나의 수평 파티션에 대하여 상기 복수의 파티션 컬럼셋들 중 적어도 2개의 파티션 컬럼셋을 하나로 통합하는 단계
를 더 포함하는, 구성 방법. - 질의를 입력받도록 구성되는 입출력부; 그리고
상기 입출력부와 연결되고, 질의 처리를 수행하는 프로세서를 포함하며,
상기 프로세서는,
상기 입출력부를 통해 질의가 입력되면 데이터 테이블의 수평 파티션들 중에서 상기 입력된 질의에 대응하는 수평 파티션을 선택하고, 상기 선택된 수평 파티션에 적어도 하나의 파티션 컬럼셋이 있는 경우, 상기 입력된 질의에 대응하는 적어도 하나의 파티션 컬럼셋을 선택하고, 상기 선택된 파티션 컬럼셋에 대해 상기 질의를 처리하도록 구성되는, 질의 처리 장치. - 제12항에 있어서,
상기 파티션 컬럼셋은 상기 데이터 테이블이 적어도 하나의 수평 파티션으로 분할되어 있는 경우, 상기 수평 파티션 각각에 대하여 상기 데이터 테이블을 구성하는 적어도 하나의 컬럼을 묶은 컬럼셋을 캐시 테이블로 저장한 데이터 구조인, 질의 처리 장치. - 제12항에 있어서,
상기 데이터 테이블의 파티션 각각에 대하여 적어도 하나의 파티션 컬럼셋이 선택적으로 형성되어 있으며, 상기 파티션별로 형성된 파티션 컬럼셋의 수와 파티션 컬럼셋을 형성하는 컬럼의 종류가 다른, 질의 처리 장치. - 제14항에 있어서,
상기 프로세서는, 상기 입력된 질의의 조건절을 분석하고, 상기 선택된 파티션에 대하여 적어도 하나의 파티션 컬럼셋이 형성되어 있는 경우에, 상기 분석 결과를 토대로 상기 적어도 하나의 파티션 컬럼셋 중에서 하나의 파티션 컬럼셋을 선택하도록 구성되는, 질의 처리 장치. - 제12항에 있어서,
상기 수평 파티션에 대응하는 데이터 블록과 상기 파티션 컬럼셋에 대응하는 데이터 블록이 분산 파일 시스템의 여러 노드에 분산 저장되어 있으며,
상기 질의 처리 장치는 상기 입력된 질의에 대응하는 수평 파티션의 파티션 컬럼셋에 대응하는 데이터 블록을 읽어와 질의를 처리하는, 질의 처리 장치.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020170009426A KR20180085633A (ko) | 2017-01-19 | 2017-01-19 | 질의 처리 장치 및 방법 |
| US15/800,762 US20180203896A1 (en) | 2017-01-19 | 2017-11-01 | Method and apparatus for processing query |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020170009426A KR20180085633A (ko) | 2017-01-19 | 2017-01-19 | 질의 처리 장치 및 방법 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR20180085633A true KR20180085633A (ko) | 2018-07-27 |
Family
ID=62840884
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020170009426A Ceased KR20180085633A (ko) | 2017-01-19 | 2017-01-19 | 질의 처리 장치 및 방법 |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US20180203896A1 (ko) |
| KR (1) | KR20180085633A (ko) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102774660B1 (ko) * | 2023-11-29 | 2025-03-05 | 주식회사 리얼타임테크 | 점진적 질의 처리를 수행하는 방법 및 그 시스템 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111538713B (zh) * | 2020-04-02 | 2023-10-17 | 咪咕文化科技有限公司 | 面向Hive的多模式数据处理方法、装置及电子设备 |
| CN112347097B (zh) * | 2020-09-23 | 2022-07-29 | 中国科学院信息工程研究所 | 支持多版本Hive表分区的数据加载、查询方法及电子装置 |
| US11983182B2 (en) * | 2020-10-27 | 2024-05-14 | Dell Products L.P. | System and method to enable a data analytics in a smart data accelerator interface device |
| CN119166679A (zh) * | 2024-09-06 | 2024-12-20 | 北京奥星贝斯科技有限公司 | 应用于分区分裂过程中的数据查询方法及装置、电子设备 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8838598B2 (en) * | 2007-11-30 | 2014-09-16 | International Business Machines Corporation | System and computer program product for automated design of range partitioned tables for relational databases |
-
2017
- 2017-01-19 KR KR1020170009426A patent/KR20180085633A/ko not_active Ceased
- 2017-11-01 US US15/800,762 patent/US20180203896A1/en not_active Abandoned
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102774660B1 (ko) * | 2023-11-29 | 2025-03-05 | 주식회사 리얼타임테크 | 점진적 질의 처리를 수행하는 방법 및 그 시스템 |
| WO2025116066A1 (ko) * | 2023-11-29 | 2025-06-05 | 주식회사 리얼타임테크 | 점진적 질의 처리를 수행하는 방법 및 그 시스템 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20180203896A1 (en) | 2018-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10915528B2 (en) | Pluggable storage system for parallel query engines | |
| US10963428B2 (en) | Multi-range and runtime pruning | |
| US11429609B2 (en) | Geo-scale analytics with bandwidth and regulatory constraints | |
| US11226963B2 (en) | Method and system for executing queries on indexed views | |
| US11030196B2 (en) | Method and apparatus for processing join query | |
| EP2743845B1 (en) | Graph traversal operator inside a column store | |
| US9195701B2 (en) | System and method for flexible distributed massively parallel processing (MPP) database | |
| WO2019109732A1 (zh) | 一种基因变异数据分布式存储方法及架构 | |
| US11068504B2 (en) | Relational database storage system and method for supporting fast query processing with low data redundancy, and method for query processing based on the relational database storage method | |
| KR20180085633A (ko) | 질의 처리 장치 및 방법 | |
| JP6479186B2 (ja) | 計算機システム及びデータベース管理方法 | |
| GB2507094A (en) | Selecting and loading a subset of data from a database backup | |
| US20150120758A1 (en) | Distributed processing of data records | |
| US11934927B2 (en) | Handling system-characteristics drift in machine learning applications | |
| KR101955376B1 (ko) | 비공유 아키텍처 기반의 분산 스트림 처리 엔진에서 관계형 질의를 처리하는 방법, 이를 수행하기 위한 기록 매체 및 장치 | |
| Awada et al. | Cost Estimation Across Heterogeneous SQL-Based Big Data Infrastructures in Teradata IntelliSphere. | |
| CN106682047A (zh) | 一种数据导入方法以及相关装置 | |
| CN106716400A (zh) | 一种数据表的分区管理方法及装置 | |
| KR101772333B1 (ko) | 이종 NoSQL 데이터베이스들간의 지능적 조인 전략 제공 방법 및 시스템 | |
| Khafagy | Indexed map-reduce join algorithm | |
| Qu et al. | Distributed snapshot maintenance in wide-column NoSQL databases using partitioned incremental ETL pipelines | |
| Singh | NoSQL: A new horizon in big data | |
| Munir et al. | ATUN-HL: Auto tuning of hybrid layouts using workload and data characteristics | |
| Kaplanis et al. | HB+ tree: use hadoop and HBase even your data isn't that big | |
| KR20140098529A (ko) | 데이터에 대한 접근 패턴이 서로 상이한 olap 응용 및 oltp 응용을 동시에 효과적으로 지원하는 장치 및 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20170119 |
|
| PG1501 | Laying open of application | ||
| A201 | Request for examination | ||
| PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20211006 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20170119 Comment text: Patent Application |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20230418 Patent event code: PE09021S01D |
|
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 20230701 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20230418 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |