반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Tkinter
- dataframe
- matplotlib
- Presto
- PostgreSQL
- c#
- PANDAS
- GIT
- Python
- gas
- Kotlin
- list
- numpy
- Redshift
- django
- PySpark
- 파이썬
- Google Spreadsheet
- Apache
- Java
- SQL
- Github
- hive
- array
- google apps script
- string
- Google Excel
- math
- Excel
Archives
- Today
- Total
달나라 노트
Hive : hive.vectorized.execution (Vector화 사용하기) 본문
728x90
반응형
Hive는 기본적으로 한번에 1개의 row를 처리합니다.
Hive에선 vectorized option이 있는데 이 option을 활성화하여 벡터화를 이용하면
한 번에 1024개의 row를 처리하여 table scan, join, aggregate 등의 과정에서 실행 속도를 높일 수 있습니다.
set hive.vectorized.execution.enabled = true;
set hive.vectorized.execution.reduce.enabled = true;
set hive.vectorized.execution.reduce.groupby.enabled=true;
vectorization option은 위와 같습니다.
728x90
반응형
'SQL > Apache Hive' 카테고리의 다른 글
| Hive : instr (특정 문자열 위치 찾기) (0) | 2021.09.13 |
|---|---|
| Hive : current_date (오늘 날짜 출력하기, unix_timestamp로 현재 시간 출력하기) (0) | 2021.08.24 |
| Hive : hive.execution.engine (hive engine 설정) (0) | 2021.06.04 |
| Hive : hive.exec.dynamic.partition (동적 partition, 정적 partition, dynamic partition, static partition) (0) | 2021.06.04 |
| Hive : hive.mapred.mode (Hive data full scan하기. partition 모두 조회하기) (0) | 2021.06.04 |
Comments