| 注册
首页|期刊导航|计算机工程|基于格结构的分布式表连接优化方法

基于格结构的分布式表连接优化方法

尚文 游进国 吴康 付琬婷 李晓武 贾连印

计算机工程2026,Vol.52Issue(9):388-401,14.
✕
计算机工程2026,Vol.52Issue(9):388-401,14.DOI:10.19678/j.issn.1000-3428.0252206

基于格结构的分布式表连接优化方法

Distributed Table Joining Optimization Method Based on Lattice Structure

尚文 1游进国 2吴康 1付琬婷 1李晓武 1贾连印2

作者信息

  • 1. 昆明理工大学信息工程与自动化学院,云南 昆明 650500
  • 2. 昆明理工大学信息工程与自动化学院,云南 昆明 650500||云南省人工智能重点实验室,云南 昆明 650500
  • 折叠

摘要

Abstract

In distributed computing frameworks,inefficient data transfer in the Shuffle phase has become a key bottleneck in data connectivity.Existing methods have certain limitations in dealing with table joins,such as broadcast joins and Hash joins in Spark are both susceptible to data skewing,which makes the load between nodes unbalanced.Aiming at this problem,the paper focuses on joining aggregated queries,and proposes a table joining method based on lattice structure:by precomputing the storage table partition data in the form of lattice structure,and utilizing the convex set property of equivalence class,i.e.,the data cells containing the upper bound of equivalence class and contained by the lower bound of equivalence class,whose aggregation values are equal to the aggregation values of equivalence class,so as to realize the quick matching and calculation.Since the query data cells as a compressed form of basic table data,the data size and skew are more concise and uniform,the article uses the query data cells instead of table data to perform data transfer and connection,which greatly reduces the data Shuffle and computational complexity.The method proposed in the paper has been implemented in Spark,and experiments based on the TPC-H dataset show that:the method of the paper reduces the data Shuffle by about 45.06%in large dataset scenarios,meanwhile,the workload among the nodes is more balanced compared to the benchmark method,and the query response time is shortened by 14.23%on average.

关键词

Spark/连接查询/等价类/格结构/数据Shuffle

Key words

Spark/join query/equivalence class/lattice structure/data Shuffle

分类

信息技术与安全科学

引用本文复制引用

尚文,游进国,吴康,付琬婷,李晓武,贾连印..基于格结构的分布式表连接优化方法[J].计算机工程,2026,52(9):388-401,14.

基金项目

国家自然科学基金(62462042,62062046). (62462042,62062046)

计算机工程

1000-3428

访问量0
|
下载量0
段落导航相关论文