OLTP VS OLAP

概念

  • OLTP (On-line Transaction Processing):联机事务处理,注重的是每秒事务的处理速度和处理量,面向数据量小的场景,最典型的产品就是传统数据库;
  • OLAP (On-line Analytical Processing):联机分析处理,侧重的数据的分析,支持多维度的复杂分析,面向海量数据量场景,用于数据挖掘和分析等,代表产品有Druid;

  OLTP (On-line Transaction Processing) is characterized by a large number of short on-line transactions (INSERT, UPDATE, DELETE). The main emphasis for OLTP systems is put on very fast query processing, maintaining data integrity in multi-access environments and an effectiveness measured by number of transactions per second. In OLTP database there is detailed and current data, and schema used to store transactional databases is the entity model (usually 3NF).
  OLAP (On-line Analytical Processing) is characterized by relatively low volume of transactions. Queries are often very complex and involve aggregations. For OLAP systems a response time is an effectiveness measure. OLAP applications are widely used by Data Mining techniques. In OLAP database there is aggregated, historical data, stored in multi-dimensional schemas (usually star schema).

在这里插入图片描述

区别

在这里插入图片描述在这里插入图片描述

应用场景

在这里插入图片描述

参考:

  1. https://www.datawarehouse4u.info/OLTP-vs-OLAP.html
  2. https://stackoverflow.com/questions/21900185/what-are-oltp-and-olap-what-is-the-difference-between-them
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值