当前位置:网站首页>IM 体系结构:CPU架构:SIMD向量处理(IM-2.3)
IM 体系结构:CPU架构:SIMD向量处理(IM-2.3)
2022-04-23 11:37:00 【Grainger】
接第二章 Oracle Database In-Memory 体系结构(IM-2.2)
本篇为IM 体系结构下篇
CPU架构:SIMD向量处理(Vector Processing)
对于需要在IM列存储中扫描的数据,数据库使用SIMD(单指令,多数据)向量处理。
IM列存储最大化了可以加载到向量寄存器和求值的列条目的数量。 不是一次一个地评估列中的每个条目,数据库在单个CPU指令中评估一组列值。 SIMD向量处理使数据库能够每秒扫描数十亿行。
例如,应用程序发出查询以查找 sales 表中使用 promo_id
值为 9999
的订单总数。sales
表驻留在IM列存储中。 查询通过仅扫描 sales.promo_id
列开始,如下图所示:
图 2-12 SIMD向量处理
CPU按如下方式计算数据:
- 将前8个值(数值根据数据类型和压缩模式而变化)从 promo_id 列装入SIMD寄存器,然后将它们与单个指令中的值9999进行比较。
- 丢弃条目。
- 将另外8个值加载到SIMD寄存器中,然后以此方式继续,直到它已评估所有条目。
山东Oracle用户组(Shandong Oracle User Group),简称:SDOUG,是一个充满朝气、年轻的非营利性组织,旨在为济南及周边地区技术爱好者提供一个交流平台。SDOUG会不定期组织线下技术分享活动,促进本地区及周边IT技术的发展、帮助技术爱好者提高自己。分享技术、分享快乐,SDOUG在路上。
版权声明
本文为[Grainger]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/1986080
边栏推荐
- Resolution due to AMD not found_ ags_ x64. DLL, unable to continue code execution. Reinstallation of the program may solve this problem, Forza horizon 5
- MQ的了解
- Nacos Foundation (6): Nacos configuration management model
- Nacos Foundation (8): login management
- Usage record of map < qstring, bool >
- PyTorch 神经网络训练器
- laravel-admin表单验证
- Advanced file IO of system programming (13) -- IO multiplexing - Select
- 探究机器人教育的器材与教学
- When the activity is in progress! Click the link to join the live studio to participate in "can AI really save energy?" Let's have a discussion!
猜你喜欢
激活函数之relu函数
2022爱分析· 工业互联网厂商全景报告
解读机器人编程课程的生物认知度
一文详解头部位姿估计【收藏好文】
Redis学习之五---高并发分布式锁实战
On the integration of steam education in early childhood education
SOFA Weekly | 年度优秀 Committer 、本周 Contributor、本周 QA
Yunna | how to manage the company's fixed assets and how to manage fixed assets
Nacos Foundation (9): Nacos configuration management from single architecture to microservices
Interpretation of 2022 robot education industry analysis report
随机推荐
零钱兑换II——【LeetCode】
Résumé de la relation entre GPU, cuda et cudnn
解决由于找不到amd_ags_x64.dll,无法继续执行代码。重新安装程序可能会解决此问题,地平线(Forza Horizon 5)
How does QT turn qwigdet into qdialog
2022 love analysis · panoramic report of industrial Internet manufacturers
Laravel always returns JSON response
GPU, CUDA,cuDNN三者的关系总结
Maker education for primary and middle school students to learn in happiness
Learning go language 0x02: understanding slice
抓包整理————tcp 协议[八]
分享两个实用的shell脚本
Golang Pen & interview 01
MySQL Router重装后重新连接集群进行引导出现的——此主机中之前已配置过的问题
The listing of saiweidian Technology Innovation Board broke: a decrease of 26% and the market value of the company was 4.4 billion
On lambda powertools typescript
TclError: no display name and no $DISPLAY environment variable
Compress the curl library into a sending string of utf8 and send it with curl library
1.Electron开发环境搭建
谁说抠图要会 PS?这个开源神器还能批量抠,效果拔群!
qt5. 8. You want to use SQLite in the 64 bit static library, but the static library has no method to compile the supporting library