当前位置:网站首页>PostgreSQL column storage and row storage
PostgreSQL column storage and row storage
2022-04-23 16:49:00 【Dai Yuanpei】
Listing advantages :
1、 There is no row in the column 1666 Column restrictions
2、 Scanning a large number of records stored in columns saves resources than row storage
3、 The column storage compression ratio is high , Save space
4、 The calculation of a large amount of data stored in the column can be performed using vectorization , Efficient
Bank deposit advantage :
1、 Query... Save multiple rows fast
2、 Bank deposit DML Efficient
Simply speaking , Bank deposit fit OLTP Business , Listing is suitable for OLAP Business .
If the business is a mixed load , Both high concurrency SQL, What about real-time analysis of business ?
Oracle How to do it :
in memory column store, It's actually two copies of storage , One on disk ( Bank deposit ), A list stored in memory .
according to SQL, The optimizer selects whether to scan column storage or row storage .( Usually planNODE Row selectivity of data scanning in , Number of lines output , Number of output columns, etc )
Oracle in memory column store It's the idea of two copies of storage .
PostgreSQL How to deal with mixed business scenarios ?
At present PG Already there. SMP Optimizer functions executed in parallel , Rich aggregate functions , Window functions, etc , There are already good OLAP processing capacity . If the data storage organization can be supported in place , It is bound to give OLAP The ability to bring about a greater qualitative leap , To better fit OLTP OLAP Mixed business scenarios .
版权声明
本文为[Dai Yuanpei]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231643577267.html
边栏推荐
- 伪分布安装spark
- Deepinv20 installation MariaDB
- STM32__03—初识定时器
- [pimf] openharmony paper Club - what is the experience of wandering in ACM survey
- Idea of batch manufacturing test data, with source code
- TypeError: set_figure_params() got an unexpected keyword argument ‘figsize‘
- 英语 | Day15、16 x 句句真研每日一句(从句断开、修饰)
- Calculate pie chart percentage
- MySQL master-slave replication
- Introduction notes to PHP zero Foundation (13): array related functions
猜你喜欢
Gartner publie une étude sur les nouvelles technologies: un aperçu du métacosme
ByteVCharts可视化图表库,你想要的我都有
众昂矿业:萤石浮选工艺
RAID磁盘阵列与RAID5的创建
Set cell filling and ranking method according to the size of the value in the soft report
Disk management and file system
无线鹅颈麦主播麦手持麦无线麦克风方案应当如何选择
ACL 2022 | DialogVED:用于对话回复生成的预训练隐变量编码-解码模型
loggie 源码分析 source file 模块主干分析
Derivation of Σ GL perspective projection matrix
随机推荐
Bytevcharts visual chart library, I have everything you want
伪分布安装spark
Getting started with JDBC
Sail soft segmentation solution: take only one character (required field) of a string
信息摘要、数字签名、数字证书、对称加密与非对称加密详解
网络安全之渗透靶场实战详解
Installing labellmg tutorial in Windows
漫画:什么是IaaS、PaaS、SaaS?
英语 | Day15、16 x 句句真研每日一句(从句断开、修饰)
[pimf] openharmony paper Club - what is the experience of wandering in ACM survey
About background image gradient()!
【Pygame小游戏】10年前风靡全球的手游《愤怒的小鸟》,是如何霸榜的?经典回归......
Regular filtering of Intranet addresses and segments
安装及管理程序
Pytorch: the pit between train mode and eval mode
loggie 源码分析 source file 模块主干分析
org. apache. parquet. schema. InvalidSchemaException: A group type can not be empty. Parquet does not su
The solution of not displaying a whole line when the total value needs to be set to 0 in sail software
Log4j output log information to file
Real time operation of vim editor