简体   繁体   English

关于Oracle SQL的报告多维数据集是什么?

[英]What are reporting cubes in regards to Oracle SQL?

I am curious about what "reporting cubes" are and how they relate to Oracle SQL ? 我很好奇什么是“报告多维数据集”以及它们与Oracle SQL有何关系?

I read that they are similar to V-Lookup in Excel, but I'm not understanding much else. 我读到它们类似于Excel中的V-Lookup,但我对其他方面的了解不多。

thanks ! 谢谢 !

They're rather more than that! 他们不仅仅如此! A Cube is an Online Analytical Processing (OLAP) database, as opposed to a normal DB which is an Online Transaction Processing (OLTP) DB. 多维数据集是联机分析处理(OLAP)数据库,与普通数据库(联机事务处理(OLTP)数据库)相反。 It's a database optimised for reporting - many times faster than querying an OLTP database. 它是为报告而优化的数据库-比查询OLTP数据库快许多倍。 For example, I had a DB which took users up to 2 hours to get reports out. 例如,我有一个数据库,该数据库花费用户最多2个小时来获取报告。 We put the data in an OLAP cube and the queries took less than 10 seconds. 我们将数据放在OLAP多维数据集中,查询花费了不到10秒的时间。

This Wikipedia article is a reasonable place to start. 这篇Wikipedia文章是一个合理的起点。

Note that most OLAP databases will not be updated in real time as the OLTP db is updated, but will have to have extracts made on a regular basis. 请注意,随着OLTP数据库的更新,大多数OLAP数据库不会实时更新,但必须定期进行提取。 Also, designing an OLAP db is not like designing an OLTP one. 同样,设计OLAP数据库与设计OLTP数据库不同。 You need to analyse the queries the users are going to want, and split your data into Fact tables (the base data which is being reported) and Dimensions (how the users will want the data selected selected or summed). 您需要分析用户想要的查询,然后将数据分为事实表(正在报告的基本数据)和维度(用户希望选择或汇总所选数据的方式)。 Not too difficult once you get your head round the idea, though. 但是,一旦您掌握了这个主意,这并不太困难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM