PostgreSQL中高效并行处理的共享内存机制设计

Yoshifumi Ujibashi, Minoru Nakamura, T. Tabaru, T. Hashida, Motoyuki Kawaba, L. Harada
{"title":"PostgreSQL中高效并行处理的共享内存机制设计","authors":"Yoshifumi Ujibashi, Minoru Nakamura, T. Tabaru, T. Hashida, Motoyuki Kawaba, L. Harada","doi":"10.1109/IISA.2015.7388103","DOIUrl":null,"url":null,"abstract":"PostgreSQL is a reliable and mature OSS RDBMS that has become widely utilized in enterprise systems recently. In order to meet the increasing performance requirements of such systems, PostgreSQL OSS Community enforced PostgreSQL version 9.4 parallel execution framework introducing the Dynamic Shared Memory and the Dynamic Background Workers. However, the Dynamic Shared Memory does not guarantee that shared data are mapped to the same address space in the processes and thus data with pointers cannot be straightly shared without local copies. In this paper we propose a new shared memory framework called Shared MemoryContext that provides a shared memory mapped to the same address to all processes. It enables an efficient parallel processing in PostgreSQL by avoiding unnecessary data copies of inter-process shared data. The Shared MemoryContext interface is compatible with PostgreSQL's MemoryContext interface and thus existing PostgreSQL routines can be used for parallel processing without modification.","PeriodicalId":433872,"journal":{"name":"2015 6th International Conference on Information, Intelligence, Systems and Applications (IISA)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Design of a Shared Memory mechanism for efficient paralell processing in PostgreSQL\",\"authors\":\"Yoshifumi Ujibashi, Minoru Nakamura, T. Tabaru, T. Hashida, Motoyuki Kawaba, L. Harada\",\"doi\":\"10.1109/IISA.2015.7388103\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"PostgreSQL is a reliable and mature OSS RDBMS that has become widely utilized in enterprise systems recently. In order to meet the increasing performance requirements of such systems, PostgreSQL OSS Community enforced PostgreSQL version 9.4 parallel execution framework introducing the Dynamic Shared Memory and the Dynamic Background Workers. However, the Dynamic Shared Memory does not guarantee that shared data are mapped to the same address space in the processes and thus data with pointers cannot be straightly shared without local copies. In this paper we propose a new shared memory framework called Shared MemoryContext that provides a shared memory mapped to the same address to all processes. It enables an efficient parallel processing in PostgreSQL by avoiding unnecessary data copies of inter-process shared data. The Shared MemoryContext interface is compatible with PostgreSQL's MemoryContext interface and thus existing PostgreSQL routines can be used for parallel processing without modification.\",\"PeriodicalId\":433872,\"journal\":{\"name\":\"2015 6th International Conference on Information, Intelligence, Systems and Applications (IISA)\",\"volume\":\"29 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-07-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 6th International Conference on Information, Intelligence, Systems and Applications (IISA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IISA.2015.7388103\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 6th International Conference on Information, Intelligence, Systems and Applications (IISA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IISA.2015.7388103","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

PostgreSQL是一种可靠、成熟的OSS RDBMS,近年来在企业系统中得到了广泛的应用。为了满足这些系统日益增长的性能要求,PostgreSQL OSS社区强制实施了PostgreSQL 9.4版本并行执行框架,引入了动态共享内存和动态后台工作者。但是,动态共享内存不能保证共享数据映射到进程中的相同地址空间,因此,如果没有本地副本,就不能直接共享带有指针的数据。在本文中,我们提出了一个新的共享内存框架,称为shared MemoryContext,它为所有进程提供了一个映射到相同地址的共享内存。它通过避免进程间共享数据的不必要的数据副本,在PostgreSQL中实现了高效的并行处理。Shared MemoryContext接口与PostgreSQL的MemoryContext接口兼容,因此现有的PostgreSQL例程无需修改即可用于并行处理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Design of a Shared Memory mechanism for efficient paralell processing in PostgreSQL
PostgreSQL is a reliable and mature OSS RDBMS that has become widely utilized in enterprise systems recently. In order to meet the increasing performance requirements of such systems, PostgreSQL OSS Community enforced PostgreSQL version 9.4 parallel execution framework introducing the Dynamic Shared Memory and the Dynamic Background Workers. However, the Dynamic Shared Memory does not guarantee that shared data are mapped to the same address space in the processes and thus data with pointers cannot be straightly shared without local copies. In this paper we propose a new shared memory framework called Shared MemoryContext that provides a shared memory mapped to the same address to all processes. It enables an efficient parallel processing in PostgreSQL by avoiding unnecessary data copies of inter-process shared data. The Shared MemoryContext interface is compatible with PostgreSQL's MemoryContext interface and thus existing PostgreSQL routines can be used for parallel processing without modification.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信