A multi-dimensional database is optimized for data warehousing and online analytical processing applications. It uses the concept of a data cube to represent the dimensions of data available to a user, with three or more dimensions labeled as X, Y and Z. This differs from a relational database which is based on tables, rows, and columns. A multi-dimensional database allows for complex analysis of sales or other measures across dimensions like product, geography, and time at high speeds.