Академический Документы
Профессиональный Документы
Культура Документы
CO M
WWW.PARETOANALYSTS.COM
Page 1
4/16/2012
Data warehousing is an efficient way to manage demand for lots of information from lots of users. Data warehousing provides the capability to analyze large amounts of historical data for nuggets of wisdom that can provide an organization with competitive advantage.
What is OLAP?
OLAP stands for Online Analytical Processing. It uses database tables (fact and dimension tables) to enable multidimensional viewing, analysis and querying of large amounts of data. E.g. OLAP technology could provide management with fast answers to complex queries on their operational data or enable them to analyze their company's historical data for trends and patterns.
What is OLTP?
OLTP stands for Online Transaction Processing. OLTP uses normalized tables to quickly record large amounts of transactions while making sure that these updates of data occur in as few places as possible. Consequently OLTP database are designed for recording the daily operations and transactions of a business. E.g. a timecard system that supports a large production environment must record successfully a large number of updates during critical periods like lunch hour, breaks, startup and close of work.
the answers to a query before users ask for it, the query processing time can be reduced. This is key in providing fast query performance in OLAP.
ROLAP Cubes: stands for Relational OLAP. In ROLAP cubes a copy of data from the fact table is not made and the data aggregates are stored in tables in the source relational database. A ROLAP cube is best when there is limited space on the Analysis Server and query performance is not very important. ROLAP local cubes contain the dimensions and cube definitions but aggregates are calculated when they are needed. ROLAP cubes requires less storage space than MOLAP and HOLAP cubes.
Size of a row (bytes) = (4 * 7) + (8 + 4). Size of a row (bytes) = 40 bytes. Number of rows in fact table = (number of transactions per hour) * (8 hours) * (365 days in a year). Number of rows in fact table = (2000 product incidents per hour) * (8 Hours ) * (365 days in a year). Number of rows in fact table = 2000 * 8 * 365 Number of rows in fact table = 5840000 Size of fact table (1 year) = (Number of rows in fact table) * (Size of a row) Size Size Size Size (bytes per year) = 5840000 * 40 (bytes per year) = 233600000. (megabytes per year) = 233600000 / (1024*1024) (in megabytes for 5 years) = (23360000 * 5) / (1024 *1024) Size of fact table (megabytes) = 1113.89 MB Size of fact table (gigabytes) = 1113.89 / 1024 Size of fact table (gigabytes) = 1.089 GB of of of of fact fact fact fact table table table table
WWW.PARETOANALYSTS.COM
Page 5
4/16/2012