Optimization Strategy of Parallel Query Processing Based on Multi-core Architecture

Yongheng Chen, Wanli Zuo, Fengling He, Kerui Chen
{"title":"Optimization Strategy of Parallel Query Processing Based on Multi-core Architecture","authors":"Yongheng Chen, Wanli Zuo, Fengling He, Kerui Chen","doi":"10.4156/JCIT.VOL5.ISSUE8.24","DOIUrl":null,"url":null,"abstract":"Chip Multi-Processor (CMP) could support more than two threads to execute simultaneously, and some executing units are owned by each core. Because threads share various resources of CMP, such as L2-Cache, among many threads, CMP system is inherently different from multiprocessors system and, CMP is also different from simultaneously multithreading (SMT). In this paper a novel and complete approach on how to parallelism for relational database multithreaded query execution that strives for maximum resource utilization for both CPU and disk activities. The focus of this approach is on how to use the multithreaded parallel technique to optimize and process queries based on multicore architecture. A set of algorithms for implementing and optimizing the best query plan, such as the algorithms for scheduling and parallel executing the query plan, the algorithms for allocating thread to sub-query and memory to the buffers between operations in pipelining execution, are proposed in this method. Additionally this paper analysis and optimize the implementation of parallel buffers and multithread. In the experiments, this paper evaluates performance of the parallel buffers and tests the coordination of the multithread.","PeriodicalId":360193,"journal":{"name":"J. Convergence Inf. Technol.","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Convergence Inf. Technol.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4156/JCIT.VOL5.ISSUE8.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Chip Multi-Processor (CMP) could support more than two threads to execute simultaneously, and some executing units are owned by each core. Because threads share various resources of CMP, such as L2-Cache, among many threads, CMP system is inherently different from multiprocessors system and, CMP is also different from simultaneously multithreading (SMT). In this paper a novel and complete approach on how to parallelism for relational database multithreaded query execution that strives for maximum resource utilization for both CPU and disk activities. The focus of this approach is on how to use the multithreaded parallel technique to optimize and process queries based on multicore architecture. A set of algorithms for implementing and optimizing the best query plan, such as the algorithms for scheduling and parallel executing the query plan, the algorithms for allocating thread to sub-query and memory to the buffers between operations in pipelining execution, are proposed in this method. Additionally this paper analysis and optimize the implementation of parallel buffers and multithread. In the experiments, this paper evaluates performance of the parallel buffers and tests the coordination of the multithread.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于多核架构的并行查询处理优化策略
芯片多处理器(CMP)可以支持两个以上的线程同时执行,并且每个内核拥有一些执行单元。由于线程在多个线程之间共享各种CMP资源(如L2-Cache), CMP系统本质上不同于多处理器系统,也不同于同步多线程(SMT)。本文提出了一种新颖而完整的方法,讨论如何并行处理关系数据库多线程查询执行,从而为CPU和磁盘活动争取最大的资源利用率。该方法的重点是如何使用多线程并行技术来优化和处理基于多核体系结构的查询。该方法提出了一套实现和优化最佳查询计划的算法,如调度和并行执行查询计划的算法、分配子查询线程的算法和在流水线执行操作之间分配缓冲区内存的算法。此外,本文还对并行缓冲区和多线程的实现进行了分析和优化。在实验中,本文评估了并行缓冲区的性能,并测试了多线程的协调性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Research on Maximal Frequent Pattern Outlier Factor for Online High-Dimensional Time-Series Outlier Detection Spirit: Security and Privacy in Real-Time Monitoring System Integrating Product Information Management (PIM) with Internet-Mediated Transactions (IMTs) Area Optimization in Floorplanning Using AP-TCG People Summarization by Combining Named Entity Recognition and Relation Extraction
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1