当前位置:网站首页>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
边栏推荐
- Overall plan management mode in maker Education
- Laravel增加自定义助手函数
- [Web 每日一练] 八色拼图(float)
- 小程序 支付
- Significance of actively participating in middle school robot competition
- Learn go language 0x07: stringer exercise code in go language journey
- nacos基础(5):nacos配置入门
- 怎么进行固定资产盘点,资产盘点报告如何一键生成
- 微型机器人的认知和研发技术
- MQ在laravel中简单使用
猜你喜欢

laravel编写Console脚本

Share two practical shell scripts

PDMS soft lithography process

Laravel adds custom helper functions

Significance of actively participating in middle school robot competition

On lambda powertools typescript

Cognition and R & D technology of micro robot

Interpreting the art created by robots

Exploring the equipment and teaching of robot education

nacos基础(5):nacos配置入门
随机推荐
谁说抠图要会 PS?这个开源神器还能批量抠,效果拔群!
Nacos Foundation (7): Configuration Management
分享两个实用的shell脚本
微型机器人的认知和研发技术
Learn go language 0x07: stringer exercise code in go language journey
Database design of simple voting system
Laravel admin form validation
Tensorflow common functions
stylecloud ,wordcloud 库学习及使用例子
qt5.8 64 位静态库中想使用sqlite但静态库没有编译支持库的方法
nacos基础(7):配置管理
kettle复制记录到结果和从结果获取记录使用
C# F23.StringSimilarity库 字符串重复度、文本相似度、防抄袭
激活函数之relu函数
Learning go language 0x02: understanding slice
Docker MySQL master-slave backup
Simple construction of rebbitmq
Overall plan management mode in maker Education
Sofa weekly | excellent Committee of the year, contributor of this week, QA of this week
Change exchange II - [leetcode]