ppt-8 Flashcards
views/data warehouse (11 cards)
view
virtual table made from other queries from BASE TABLES. different from join in that its “stored” in the db. seems mostly good for simplifying queries
how to make a view
CREATE VIEW name AS [query here]
view potential problems
- multi-table view cant really add new records
- cant use DISTINCT or GROUP BY in [query]
data warehouse
big data used in decision making process
- subject oriented: one topic
- integrated: different data sources work together
- time-variant: able to look at time trends
- non updateable
data mart
subset of the data warehouse that is used for a SPECIFIC problem e.g. sales, marketing, finance, etc.
usefulness of data warehouse
excellent for long term decision making. doesnt have to be as efficient. better at long term trend analysis. improve performance by getting rid of operational data
homogenous data
metadata, formatting, etc will be different when you collect from different sources. you need to consolidate them into one file
independent data mart
data mart created straight from operational sources
ETL
“extraction, transformating, and loading”
dependent data mart
data mart completely created from an existing data warehouse
logical data mart
only good for smaller databases.