What is the difference between view and materialized view?
Correct Answer
View: - Tail raid data representation is provided by a view to access data from its table - It has logical structure can not occupy space - Changes get affected in corresponding tables Materialized view - Pre calculated data persists in materialized view - It has physical data space occupation - Changes will not get affected in corresponding tables
Technology problems
Search Results
1. Explain the difference between star and snowflake schemas.
Correct Answer: Star schema: A highly de-normalized technique A star schema has one fact table and is associated with numerous dimensions table and depicts a star Snow flake schema: The normalized principles applied star schema is known as Snow flake schema Every dimension table is associated with sub dimension table Differences: - A dimension table will not have parent table in star schema, whereas snow flake schemas have one or more parent tables - The dimensional table itself consists of hierarchies of dimensions in star schema, where as hierarchies are split into different tables in snow flake schema The drilling down data from top most hierarchies to the lowermost hierarchies can be done
Correct Answer: Dimensional modeling is often used in Data warehousing In simpler words it is a rational or consistent design technique used to build a data warehouse DM uses facts and dimensions of a warehouse for its design A snow and star flake schema represent data modeling
Correct Answer: OLTP stands for OnLine Transaction Processing Applications that supports and manges transactions which involve high volumes of data are supported by OLTP system OLTP is based on client-server architecture and supports transactions across networks OLAP stands for OnLine Analytical Processing Business data analysis and complex calculations on low volumes of data are performed by OLAP An insight of data coming from various resources can be gained by a user with the support of OLAP
Correct Answer: Business facts or measures and foreign keys are persisted in fact tables which are referred as candidate keys in dimension tables Additive values are usually provided by the fact tables which acts as independent variables by which dimensional attributes are analyzed Attributes that are used to constrain and group data for performing data warehousing queries are persisted in the dimension tables
5. Explain the difference between data mining and data warehousing.
Correct Answer: Data mining is a method for comparing large amounts of data for the purpose of finding patterns Data mining is normally used for models and forecasting Data mining is the process of correlations, patterns by shifting through large data repositories using pattern recognition techniques Data warehousing is the central repository for the data of several business systems in an enterprise Data from various resources extracted and organized in the data warehouse selectively for analysis and accessibility
6. Difference between ER Modeling and Dimensional Modeling.
Correct Answer: Dimensional modelling is very flexible for the user perspective Dimensional data model is mapped for creating schemas Where as ER Model is not mapped for creating shemas and does not use in conversion of normalization of data into denormalized form ER Model is utilized for OLTP databases that uses any of the 1st or 2nd or 3rd normal forms, where as dimensional data model is used for data warehousing and uses 3rd normal form ER model contains normalized data where as Dimensional model contains denormalized data
Correct Answer: Data Mart is a data repository which is served to a community of people who works on knowledge (also known as knowledge workers) The data resource can be from enterprise resources or from a data warehouse
8. Explain the use of lookup tables and Aggregate tables.
Correct Answer: At the time of updating the data warehouse, a lookup table is used When placed on the fact table or warehouse based upon the primary key of the target, the update is takes place only by allowing new records or updated records depending upon the condition of lookup The materialized views are aggregate tables It contains summarized data For example, to generate sales reports on weekly or monthly or yearly basis instead of daily basis of an application, the date values are aggregated into week values, week values are aggregated into month values and month values into year values To perform this process aggregate function is used
Correct Answer: Data cleaning is also known as data scrubbing Data cleaning is a process which ensures the set of data is correct and accurate Data accuracy and consistency, data integration is checked during data cleaning Data cleaning can be applied for a set of records or multiple sets of data which need to be merged Data cleaning is performed by reading all records in a set and verifying their accuracy Typos and spelling errors are rectified Mislabeled data if available is labeled and filed Incomplete or missing entries are completed Unrecoverable records are purged, for not to take space and inefficient operations
Correct Answer: Bitmap indexes make use of bit arrays (bitmaps) to answer queries by performing bitwise logical operations Bitmap indexes are useful in the data warehousing applications Bitmap indexes have a significant space and performance advantage over other structures for such data Tables that have less number of insert or update operations can be good candidates The advantages of Bitmap indexes are: - They have a highly compressed structure, making them fast to read - Their structure makes it possible for the system to combine multiple indexes together so that they can access the underlying table faster The Disadvantage of Bitmap indexes is: - The overhead on maintaining them is enormous