What do Transaction means in OLTP?

183 Views Asked by At

What is the meaning of transaction in OLTP? Is it same as ACID Transaction or there is something else?

NoSql database like cassandra doesn't follow ACID properties. They follow CAP. In which category Cassandra falls? Is it OLAP or OLTP?

2

There are 2 best solutions below

2
On BEST ANSWER

Despite not supporting true ACID, Cassandra is firstly an OLTP database which by definition means it's about capture, storage and processing of data from transactions in real time.

Cassandra can be used for OLAP workloads usually in combination with Apache Spark for analytics queries against the OLTP data. This is one of the really powerful use cases for Cassandra + Spark -- real time analytics so you can get insights in real time.

If you are running OLAP queries against Cassandra, the recommendation is to deploy in a multi-datacentre configuration such that:

  • the primary DC is used for OLTP workloads
  • Spark/OLAP queries are run against a separate second DC

By isolating OLTP workloads in its own DC, users of your application don't get affected by the load that analytics queries impose on the database. This ensures that the performance of your application and the user experience is consistent. Cheers!

5
On

In those context, they both mean database transaction.

OLTP emphasizes that it's a transactional system and usually came with better transaction supports such as ACID.