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?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With