当前位置:网站首页>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
边栏推荐
- 05 Lua control structure
- TypeError: set_figure_params() got an unexpected keyword argument ‘figsize‘
- 拷贝构造函数 浅拷贝与深拷贝
- Use itextpdf to intercept the page to page of PDF document and divide it into pieces
- 昆腾全双工数字无线收发芯片KT1605/KT1606/KT1607/KT1608适用对讲机方案
- Execution plan calculation for different time types
- ◰ GL shadow map core steps
- RAID磁盘阵列与RAID5的创建
- Copy constructor shallow copy and deep copy
- ∑GL-透视投影矩阵的推导
猜你喜欢

Bytevcharts visual chart library, I have everything you want

How vscode compares the similarities and differences between two files

Set the color change of interlaced lines in cells in the sail software and the font becomes larger and red when the number is greater than 100

Sail soft implements a radio button, which can uniformly set the selection status of other radio buttons

G008-hwy-cc-estor-04 Huawei Dorado V6 storage simulator configuration

Take according to the actual situation, classify and summarize once every three levels, and see the figure to know the demand

DanceNN:字节自研千亿级规模文件元数据存储系统概述

Nacos 详解,有点东西

Use if else to judge in sail software - use the title condition to judge

Selenium IDE and XPath installation of chrome plug-in
随机推荐
昆腾全双工数字无线收发芯片KT1605/KT1606/KT1607/KT1608适用对讲机方案
Differences between MySQL BTREE index and hash index
5分钟NLP:Text-To-Text Transfer Transformer (T5)统一的文本到文本任务模型
Idea of batch manufacturing test data, with source code
Use itextpdf to intercept the page to page of PDF document and divide it into pieces
LVM and disk quota
How to build tiktok user trust and drive fan growth
Sail soft segmentation solution: take only one character (required field) of a string
深度学习100例 | 第41天-卷积神经网络(CNN):UrbanSound8K音频分类(语音识别)
100 deep learning cases | day 41 - convolutional neural network (CNN): urbansound 8K audio classification (speech recognition)
Set cell filling and ranking method according to the size of the value in the soft report
Introduction to how to set up LAN
Detailed explanation of UWA pipeline function | visual configuration automatic test
正则过滤内网地址和网段
Nacos 详解,有点东西
杂文 谈谈古典的《拆掉思维里的墙》
The font of the soft cell changes color
[pyGame games] how did angry birds, a mobile game that became popular all over the world 10 years ago, dominate the list? Classic return
How vscode compares the similarities and differences between two files
Execution plan calculation for different time types