
| Name | DeptID | |
| R1 | Parijat | 20 |
| R2 | Sam | 40 |
| DeptID | Salary | |
| R1 | 20 | 60000 |
| R2 | 40 | 50000 |

Now to understand Multidimensional, you must understand the word Multi which is a short form of multiple. In above table we saw that it is a 2 dimensional (rows and column) architecture. But in case of Multidimensional, we are going to have more than 2 dimension (generally 6/8 dimension) which depends on the application you are building. It is pretty tough to imagine that kind of situation but I will try my best to explain this scenario.
So here, the multidimensional database structure will be

In this above table you can see that the salary value is recurring and this type of database structure is called denormalized. RDBMS is normalized and it stores only the required data and there will be no repetitive. Generally it is not used in Online Transaction Processing (OLTP) System because of the denormalized form. It is generally used in analyzing company’s production OLTP data and further budgeting and forecasting of that company. It displays a readymade data for end user ex. as you can see Parijat is working in dept 20 and he gets 60000 as monthly salary. If you had to view the same thing in OLTP or RDBMS then you would have required running 2-3 SQL queries. The main advantage is that it is faster than RDBMS and it can rapidly aggregate a lot of data in a very short span of time.
Multidimensional structure is defined as "a variation of the relational model that uses multidimensional structures to organize data and express the relationships between data".
A multidimensional database (MDB) is a type of database that is optimized for data warehouse and online analytical processing (OLAP) applications. Multidimensional databases are frequently created using input from existing relational databases. Whereas a relational database is typically accessed using a Structured Query Language (SQL) query, a multidimensional database allows a user to ask questions like "How many Colas have been sold in India so far this year?"