当前位置:网站首页>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
边栏推荐
- DanceNN:字节自研千亿级规模文件元数据存储系统概述
- Mock test
- 04 Lua operator
- How to choose the wireless gooseneck anchor microphone and handheld microphone scheme
- 昆腾全双工数字无线收发芯片KT1605/KT1606/KT1607/KT1608适用对讲机方案
- Zhimeng dedecms security setup Guide
- On the security of key passing and digital signature
- Modify the test case name generated by DDT
- 磁盘管理与文件系统
- How does flash cache data in memory?
猜你喜欢
无线鹅颈麦主播麦手持麦无线麦克风方案应当如何选择
面试百分百问到的进程,你究竟了解多少
Sail soft segmentation solution: take only one character (required field) of a string
SQL database
Use itextpdf to intercept the page to page of PDF document and divide it into pieces
[pyGame games] how did angry birds, a mobile game that became popular all over the world 10 years ago, dominate the list? Classic return
Loggie source code analysis source file module backbone analysis
100 deep learning cases | day 41 - convolutional neural network (CNN): urbansound 8K audio classification (speech recognition)
LVM与磁盘配额
阿里研发三面,面试官一套组合拳让我当场懵逼
随机推荐
PHP高效读大文件处理数据
Introduction notes to PHP zero Foundation (13): array related functions
vscode如何比较两个文件的异同
STM32__ 03 - beginner timer
NVIDIA显卡驱动报错
Node access to Alipay open platform sandbox to achieve payment function
Disk management and file system
05 Lua 控制结构
G008-hwy-cc-estor-04 Huawei Dorado V6 storage simulator configuration
MySql主从复制
The font of the soft cell changes color
Xinwangda: HEV and Bev super fast charging fist products are shipped on a large scale
安装及管理程序
Use case labeling mechanism of robot framework
On the security of key passing and digital signature
◰ GL shadow map core steps
Detailed explanation of information abstract, digital signature, digital certificate, symmetric encryption and asymmetric encryption
关于局域网如何组建介绍
Derivation of Σ GL perspective projection matrix
MySQL master-slave synchronization pit avoidance version tutorial