question

Matt Whitfield avatar image
Matt Whitfield asked

OLAP and OLTP databases

Seeder question: I have heard several references made to OLAP databases and OLTP databases - what do the terms mean, and what are the key differences?

olapoltp
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tom Staab avatar image
Tom Staab answered

OLAP = Online Analytical Processing OLTP = Online Transaction Processing

In general, OLAP databases are read much more frequently than written, while OLTP databases experience frequent writes. Therefore, OLAP databases tend to be more denormalized with more indexes (optimized for reading). OLTP databases, on the other hand, are typically optimized for writing with many, smaller normalized tables and only the minimum number of required indexes.

The term OLAP is sometimes used specifically for star or snowflake schemas for Analysis Services and similar tools, but it can also refer to any data warehouse.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David 1 avatar image
David 1 answered

OLTP refers to the common type of workload or usage of a database in operational systems.

OLAP refers to a set of technologies often used in decision support systems.

Sometimes the two terms are used as if they complement each other but in my view a better complement of OLTP is DSS (Decision Support System). OLTP/DSS both describe the type of use the system is put to whereas OLAP describes what technology is being used.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image
Kev Riley answered

dportas has hit on something here, the term OLAP is often used and abused.

Some of the other terms often mixed up in this are:

  • DSS : Decision Support Systems
  • EIS : Executive Information Systems
  • MIS : Management Information Systems
  • BI : Business Intelligence

all of which can be used to mean the same thing. Usually depending on whatever the trend is at the time. In the 80s, EIS was all the rage, then DSS became popular and today's buzzword is BI.

OLAP as a technology is sometimes interchanged with

  • Cubes
  • Multi-dimensional data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.