当前位置:网站首页>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
边栏推荐
- Cartoon: what are IAAs, PAAS, SaaS?
- Custom implementation of Baidu image recognition (instead of aipocr)
- 蓝桥杯省一之路06——第十二届省赛真题第二场
- Dancenn: overview of byte self-developed 100 billion scale file metadata storage system
- Gartner publie une étude sur les nouvelles technologies: un aperçu du métacosme
- 欣旺达:HEV和BEV超快充拳头产品大规模出货
- ACL 2022 | dialogved: a pre trained implicit variable encoding decoding model for dialogue reply generation
- Installing labellmg tutorial in Windows
- Installation and management procedures
- 【Pygame小游戏】10年前风靡全球的手游《愤怒的小鸟》,是如何霸榜的?经典回归......
猜你喜欢

New project of OMNeT learning

How vscode compares the similarities and differences between two files

Use itextpdf to intercept the page to page of PDF document and divide it into pieces

Sail soft calls the method of dynamic parameter transfer and sets parameters in the title

DDT + Excel for interface test

【Pygame小游戏】10年前风靡全球的手游《愤怒的小鸟》,是如何霸榜的?经典回归......

Solution of garbled code on idea console

Cartoon: what are IAAs, PAAS, SaaS?

Installation and management procedures

vim编辑器的实时操作
随机推荐
The font of the soft cell changes color
Summary according to classification in sail software
An essay on the classical "tear down the wall in thinking"
vim编辑器的实时操作
STM32__03—初识定时器
Installation and management procedures
◰GL-着色器处理程序封装
Gartner announces emerging technology research: insight into the meta universe
Pseudo Distributed installation spark
ACL 2022 | dialogved: a pre trained implicit variable encoding decoding model for dialogue reply generation
Detailed explanation of UWA pipeline function | visual configuration automatic test
How much do you know about the process of the interview
Loading order of logback configuration file
深入了解3D模型相关知识(建模、材质贴图、UV、法线),置换贴图、凹凸贴图与法线贴图的区别
TypeError: set_figure_params() got an unexpected keyword argument ‘figsize‘
How vscode compares the similarities and differences between two files
Zhongang Mining: Fluorite Flotation Process
Getting started with JDBC
04 Lua operator
Regular filtering of Intranet addresses and segments