The Research and Practice of Performance Optimization Based on Hive

Author
YeWenZuo
Advisor
ZhengTao
School
Nanjing University
Major
Engineering
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
367
Citations
2

Request the full text

Abstract

With the dramatic growth of the rapid expansion of the market of network information processing and information processing amount of data , the distributed computing processing technology for large-scale and ultra large scale data engineering research topic attracting much attention . , Engineering research and development community is generally concerned about the Hadoop technology can be widely used in the Internet field , domestic universities and research institutes Hadoop data storage , resource management , job scheduling , performance optimization , high availability and security features conducting in-depth analysis . In this paper, the demand for Taobao e-commerce systems , storage processing transaction data and applications , system Hadoop - based data warehouse infrastructure - Hive performance optimization method . This paper first gives the definition of the the Hadoop system calculates characteristics , Hadoop Map / Reduce task allocation and file storage system HDFS . Divided into three levels to achieve the purpose of tuning leads to executable optimization method by introducing the analysis of the underlying parameters and change the value of parameters to achieve the effect . Describe and analyze the similarities and differences of a common database with distributed data processing based on the the the Hadoop system infrastructure Hive SQL-like language HQL . Typical code case , expounded the Hive 's logical characteristics , leads to the corresponding optimization direction and parameter adjustment program , respectively, from the data type of problem to solve data tilt problem with the internal optimizations to reduce the Job , combined with Taobao data demand characteristics such as a few aspects , modify the code script optimization data . The measured data show that the optimization algorithm has achieved good results .

Table of contents

Abstract 4-5 Abstract 5-6 directory 6-9 Chapter Introduction 9-13 1.1 Background 9-10 1.2 issues raised 10-11 1.3 Solutions 11 1.4 major work 11-12 1.5 paper is organized 12-13 Chapter Hadoop. principle and performance tuning strategy 13-25 2.1 Hadoop's features and benefits 13-14 2.2 HDFS system 14-16 2.2.1 Hadoop file system 14 2.2.2 Hadoop architecture 14-15 2.2.3 Hadoop calculated 15-16 2.2.4 data access strategy 16 2.3 Hadoop technology applications 16 2.4 Hadoop job scheduling priority 16-25 2.4.1 Map side tuning parameters 16-21 2.4.2 Reduce side tuning parameters 21-25 the data warehouse basic framework - Hive 25-34 3.1 Hive part of the convention to optimize and the SQL logical achieve 25-28 3.1.1 Hive defined 25 3.1.2 Hive and the similarities and differences of the database 25-28 3.1.3 part of the query logic implementation examples 28 3.2 full sort 28-31 3.3 Cartesian product 31 3.4 exist in clause 31-32 3.5 Hive reducer number distribution 32 3.6 merge Map / Reduce operating 32-34 Chapter the Hive code tuning program analysis 34-56 4.1 tuning environment 34 the direction of the 4.2 code optimization 34-35 4.3 Hadoop computing framework characteristics 35 4.4 internal comes optimized way to 35-39 4.4.1 row cropping (Column Pruning) 35-36 4.4.2 partition cropping (Partition Pruning) 36 4.4.3 Join 36-37 4.4.4 Map Join 37-38 4.4.5 group by 38-39 4.4.6 merge small file 39 4.5 external code commonly used to adjust optimize the way a typical case analysis 39-56 4.5.1 skillfully using SQL improve query efficiency 40-41 4.5.2 invalid id associated tilt 41-42 4.5.3 different data types associated tilt 42 4.5.4 Hive optimize the characteristics of the union all 42-43 4.5.5 solve Hive on the short board of the union all optimized 43-45 4.5.6 to take advantage of the group by alternative count (distinct) to achieve optimal results 45-47 4.5.7 Hive union all characteristics reduce the Map / Reduce the number 47-48 4.5.8 on Hive optimization module (union all) recommendations 48 the 4.5.9 data skew solve method 48-49 4.5.10 map join depth use 49-50 4.5.11 using a combination KEY the equipartition tilt the record 50-51 the 4.5.12 uv problem solving 51-56 Chapter Summary and Outlook 56-58 Acknowledgements 58-59 the References 59-61

Related dissertations

  1. Querying Relational Database Based on Hadoop Platform and Its Implementation
    HuangZhongYuan ·Fudan University ·2011 ·Master's thesis
  2. The Research on Data Processing Cloud Platform of Large Open Style Wharf Mooring Monitoring System
    SunLei ·Dalian Jiaotong University ·2013 ·Master's thesis
  3. Web Information Crawler of Design and Implementation Based on Computing Cluster
    WangWenSheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Design and Implement of Video Crawler System Based on Hadoop
  5. Research and Design on Hadoop-based Cloud Storage Platform of New Campus
    GengChangXing ·Tianjin University ·2012 ·Master's thesis
  6. Research of Data Storage and Management on Huatu Online Library System Based on HDFS
    YangCan ·Central South University ·2013 ·Master's thesis
  7. MapReduce Performance Research and Optimization Based on Block Aggregation
    LiJun ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. Design and Implementation of Data Processing System Based on Taihu Cyanophytes of Internet of Things
    LuJia ·Northeastern University ·2012 ·Master's thesis
  9. The Research and Performance Optimization of Cloud Transcoding System Based on Hadoop
    WangLiFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. The Design and Implementation of Open Report System Based on the Hadoop
  11. N-gram Language Model Based on Distributed System
  12. Research and Implementation of Automatic Text Classification Based on Hadoop
    ZhangYongYong ·Harbin Institute of Technology ·2013 ·Master's thesis
  13. Platform of Higher Education Resources Based on Cloud Storage
  14. Design and Implementation of the Crawler Log Data Information Extraction and Statistical System
  15. The Research and Implementation of Parallelism of Information Retrieval Related Algorithms Based on Mapreduce
    XiaoZuo ·Nanjing University ·2012 ·Master's thesis
  16. Research on Data Management and Parallel Docking in Virtual Screening Based on Hadoop
    LiJingWei ·Lanzhou University ·2013 ·Master's thesis
  17. Research of Massive Data Processing and Mining in Database Marketing Based on Hadoop
    WangHaiFei ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  18. Research on Parallel Mining Algorithm Based on Hadoop
    WangHui ·Capital Normal University ·2013 ·Master's thesis
  19. The Key Technologies Research of Web Text Mining Based on Hadoop
    ChenLingLing ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  20. Research of Job Scheduling Technology in Hadoop Platform