Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊網路與多媒體研究所
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/54106
標題: Spark洗牌雜湊加入查詢的優化
Improved Shuffle Hash Join for Spark
作者: Shih-Wei Huang
黃世瑋
指導教授: 陳偉松(Tony Tan)
關鍵字: 分散式資料庫,Apache Spark,Spark SQL,半加入查詢,
distributed database,Apache Spark,Spark SQL,semijoin evaluation,
出版年 : 2020
學位: 碩士
摘要: Apache Spark在叢集系統中提供許多高速運算的模組,其中Spark- SQL負責分散式資料庫高效率的查詢等演算法。
在分散式資料庫,大多數程序都牽涉到分散式系統中不同節點間資料的交換這個成本高、耗時長的過程。洗牌雜湊加入查詢是一個評估加入查詢的有名演算法,但我們發現他在節點間造成不必要的資料交換,且有機會發生計算負擔不平衡的狀況。
我們提出一個洗牌雜湊加入查詢的優化版本來評估半加入查詢,其名為RDTS(Reducing Data Transfer for Semijoin)。他不只減少了節點間不必要的資料交換,也確保了各節點的計算負擔平衡。
我們用Scala這個語言在Spark上實作RDTS,且比較其與原本的差異。此外,我們的演算法能夠輕易的延伸以評估複數半加入查詢。
Apache Spark provides several modules for fast computation in cluster system. Spark SQL is one of its modules dedicated to efficient SQL query evaluation in distributed database. Most processes in distributed database require data exchange between multiple nodes in distributed system, which can be costly and time consuming.
Shuffle hash join is one well known algorithm for evaluating join in dis- tributed database system. We discover that it incurs unnecessary data ex- change and may result in load imbalance between the nodes. We propose an algorithm for semijoin/antijoin evaluation, which is an improved version of shuffle hash join, and we call it RDTS (Reducing Data Transfer for Semi- join). It not only reduces the amount of data exchange between nodes, but also guarantees load balance among the nodes.
We implement RDTS in Spark using the language Scala and compare the difference between our algorithm and shuffle hash join. Our algorithm can be easily extended for multiple semijoin/antijoin evaluation.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/54106
DOI: 10.6342/NTU202002333
全文授權: 有償授權
顯示於系所單位:資訊網路與多媒體研究所

文件中的檔案:
檔案 大小格式 
U0001-0308202023562800.pdf
  目前未授權公開取用
14.29 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved