Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Transactional and Reporting Database

A friend commented like this:

I'd recommend separating out your transactional data and your reporting data into a separate database

And another one told me:

I would implement an E-R schema in the transactional data and a star schema for the reporting database

Can anyone make both clear for me? I ask, because I really didn't get difference?

like image 767
kuzey beytar Avatar asked Aug 03 '11 22:08

kuzey beytar


People also ask

What is a reporting database?

The reporting database schema defines the tables, the fields in each table, and the relationships between fields and tables. The reporting database schema is based on dimensional modeling. Two important concepts of dimensional modeling are facts and dimensions: Facts.

What is the difference between transactional and relational databases?

Transactional databases excel at storing and querying the data required to power an application. They ensure data integrity and consistency. Most relational databases support multi-record transactions. With proper data modeling in non-relational databases, multi-record transactions are not always essential.

What is the difference between transactional and analytical database?

Transactional and analytical queries are similar in the way that they are written, but are used to serve different purposes. Transactional activities are those that support the day-to-day running of a business while analytical queries are used to provide the necessary information to support business decisions.

What are transactional and non transactional database?

Transactional table means, if data manipulation done with in transaction then rollback / commit will work. For Non Transactional table, You need to rollback the changes with manual code. No Impact of rollBack and commit. These tables are useful for performing the statements with high performance.


1 Answers

This is a transactional database: A transactional database is a DBMS where write operations on the database are able to be rolled back if they are not completed properly.

If a transactional database system loses electrical power half-way through a transaction, the partially completed transaction will be rolled back and the database will be restored to the state it was in before the transaction started.

This is a reporting database: A database used by reporting applications. Reporting databases are often duplicates of transaction databases used to off-load report processing from transaction databases.

like image 125
djhaskin987 Avatar answered Oct 20 '22 05:10

djhaskin987