5

OLTP和OLAP

 2 years ago
source link: https://zsmhub.github.io/post/database/oltp%E5%92%8Colap/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

OLTP和OLAP

2020-10-10 约 293 字 预计阅读 1 分钟

根据数据库处理的业务数据量,以及处理数据的不同方式,人们把数据库分为 OLTP 和 OLAP 两大类型。

OLTP vs OLAP

常见的 Oracle、MySQL 等数据库都属于 OLTP 类型,也就是 On-Line Transaction Processing,联机事务处理。OLTP 数据库处理请求和数据时对延迟要求很高,并且要保证数据的完整性和一致性。此类数据库是面向最终客户的,需要具备 7x24 不间断服务能力。

OLAP 的含义是联机分析数据处理,这种数据库需要存储海量、但很少更新修改的数据,主要用于多维度历史数据分析统计目的。出于这种需求,OLAP 数据库需要确保足够高的查询效率,至少 90% 的请求要在很短的时间内返回。另一方面,OLAP 数据库并不是直接面对最终客户,而是更关注数据吞吐。

文章作者 ZsmHub

上次更新 2020-10-10

许可协议 CC BY-NC-ND 4.0

赞赏支持
微服务 悟道

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK