Differences between OLTP and OLAP

Source: Internet
Author: User

Online Transaction Processing OLTP (on-line transaction processing)

OLTP is the main application of traditional relational databases, mainly for basic and daily transaction processing, such as bank transactions.

 

OLAP (on-line analytical processing)

OLAP is the main application of the data warehouse system. It supports complex analysis operations, focuses on decision support, and provides intuitive and easy-to-understand query results.

 

The following table lists the comparison between OLTP and OLAP:

OLTP OLAP
User Operator and lower-level management personnel Decision makers and senior management personnel
Function Routine operations Analysis and decision-making
DB Design Application-oriented Subject-oriented
Data Current, latest, and two-dimensional discrete Historical, aggregated, multi-dimensional, and unified
Access Read/write dozens of records Read millions of records
Work Unit Simple transactions Complex Query
DB size 100mb-gb 100gb-tb

 

In general, OLTP is oriented to our application system databases, and OLAP is oriented to data warehouses.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.