0% found this document useful (0 votes)
20 views8 pages

Independent Book Sellers Data Warehouse and Etl Plan: Source Object Type Keep? Independentbooksellers - Dbo.Authors

The document outlines the data warehouse and ETL plan for Independent Book Sellers, detailing the source objects, their types, and whether to keep them. It specifies the transformations needed for various tables, including authors, titles, stores, and sales data. The plan aims to provide dimensional and measure data for effective reporting and analysis.

Uploaded by

adams.radiy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views8 pages

Independent Book Sellers Data Warehouse and Etl Plan: Source Object Type Keep? Independentbooksellers - Dbo.Authors

The document outlines the data warehouse and ETL plan for Independent Book Sellers, detailing the source objects, their types, and whether to keep them. It specifies the transformations needed for various tables, including authors, titles, stores, and sales data. The plan aims to provide dimensional and measure data for effective reporting and analysis.

Uploaded by

adams.radiy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Independent Book Sellers Data Warehouse and ETL Plan

Source Object Type Keep?


IndependentBookSellers.dbo.Authors Table YES
NA NA NA
IndependentBookSellers.dbo.Authors.au_id varchar(11) YES
IndependentBookSellers.dbo.Authors.au_lname varchar(40) YES
IndependentBookSellers.dbo.Authors.au_fname varchar(20) YES
IndependentBookSellers.dbo.Authors.phone char(12) NO
IndependentBookSellers.dbo.Authors.address varchar(40) NO
IndependentBookSellers.dbo.Authors.city varchar(20) YES
IndependentBookSellers.dbo.Authors.state char(2) YES
IndependentBookSellers.dbo.Authors.zip char(5) NO
IndependentBookSellers.dbo.Titles Table YES
NA NA NA
IndependentBookSellers.dbo.Titles.title_id varchar(6) YES
IndependentBookSellers.dbo.Titles.title varchar(80) YES
IndependentBookSellers.dbo.Titles.type char(12) YES
IndependentBookSellers.dbo.Titles.price money YES
IndependentBookSellers.dbo.TitleAuthors Table YES
NA NA NA
NA NA NA
IndependentBookSellers.dbo.TitleAuthors.au_id varchar(11) NO
IndependentBookSellers.dbo.TitleAuthors.title_id varchar(6) NO
IndependentBookSellers.dbo.TitleAuthors.au_ord int YES
IndependentBookSellers.dbo.Stores Table YES
NA NA NA
IndependentBookSellers.dbo.Stores.stor_id char(4) YES
IndependentBookSellers.dbo.Stores.stor_name varchar(40) YES
IndependentBookSellers.dbo.Stores.stor_address varchar(40) NO
IndependentBookSellers.dbo.Stores.city varchar(20) YES
IndependentBookSellers.dbo.Stores.state char(2) YES
IndependentBookSellers.dbo.Stores.zip char(5) NO
IndependentBookSellers.dbo.SalesHeaders Table YES
IndependentBookSellers.dbo.SalesHeaders.ord_num varchar(20) YES
IndependentBookSellers.dbo.SalesHeaders.ord_date datetime YES
IndependentBookSellers.dbo.SalesHeaders.stor_id char(4) YES
IndependentBookSellers.dbo.SalesDetails Table YES
IndependentBookSellers.dbo.SalesDetails.ord_num varchar(20) YES
IndependentBookSellers.dbo.SalesDetails.title_id varchar(6) YES
IndependentBookSellers.dbo.SalesDetails.qty smallint YES
IndependentBookSellers.dbo.SalesDetails.price money YES
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
NA NA NA
ehouse and ETL Plan
Reason
Provides dimensional data
NA
Provides convenient lookup to source data
Provides human friendly description
Provides human friendly description
Does not provide relevant grouping data
Provides relevant grouping data
Provides relevant grouping data
Does not provide relevant grouping data
Does not provide relevant grouping data
Provides dimensional data
NA
Provides convenient lookup to source data
Provides human friendly description
Provide relevant grouping data
Provides relevant comparison data for measures
Provides bridge to many-to-many dimensional data
NA
NA
Replaced By Surrogate Key
Replaced By Surrogate Key
Provides details that might affect sales data
Provides dimensional data
NA
Provides convenient lookup to source data
Provides human friendly description
Does not provide relevant grouping data
Provide relevant grouping data
Provide relevant grouping data
Does not provide relevant grouping data
Provides dimensional and measure data
Provides convenient lookup to source data
Provide relevant grouping data, but replaced by Surrogate Key
Provides FK to dimensional data, but replaced by Surrogate Key
Provides dimensional and measure data
Provides FK to dimensional data
Provides FK to dimensional data, but replaced by Surrogate Key
Provides grouping data for aggregates
Provides grouping data for aggregates
Adding table to support date based reports
NA
NA
NA
NA
NA
NA
NA
NA
NA
Associated DW Object Type
DWIndependentBookSellers.dbo.DimAuthors Table
DWIndependentBookSellers.dbo.DimAuthors.AuthorKey int
DWIndependentBookSellers.dbo.DimAuthors.AuthorID nvarchar(11)
DWIndependentBookSellers.dbo.DimAuthors.AuthorName nvarchar(100)
DWIndependentBookSellers.dbo.DimAuthors.AuthorName nvarchar(100)
NA NA
NA NA
DWIndependentBookSellers.dbo.DimAuthors.AuthorCity nvarchar(100)
DWIndependentBookSellers.dbo.DimAuthors.AuthorState nchar(2)
NA NA
DWIndependentBookSellers.dbo.DimTitles Table
DWIndependentBookSellers.dbo.DimTitles.TitleKey int
DWIndependentBookSellers.dbo.DimTitles.TitleID nvarchar(6)
DWIndependentBookSellers.dbo.DimTitles.TitleName nvarchar(100)
DWIndependentBookSellers.dbo.DimTitles.TitleType nvarchar(100)
DWIndependentBookSellers.dbo.DimTitles.TitleListPrice decimal
DWIndependentBookSellers.dbo.FactTitleAuthors Table
DWIndependentBookSellers.dbo.FactTitleAuthors.AuthorKey int
DWIndependentBookSellers.dbo.FactTitleAuthors.TitleKey int
NA NA
NA NA
DWIndependentBookSellers.dbo.FactTitleAuthors.AuthorOrder int
DWIndependentBookSellers.dbo.DimStores Table
DWIndependentBookSellers.dbo.DimStores.StoreKey int
DWIndependentBookSellers.dbo.DimStores.StoreID nchar(4)
DWIndependentBookSellers.dbo.DimStores.StoreName nvarchar(100)
NA NA
DWIndependentBookSellers.dbo.DimStores.StoreCity nvarchar(100)
DWIndependentBookSellers.dbo.DimStores.StoreState nchar(2)
NA NA
DWIndependentBookSellers.dbo.FactSales Table
DWIndependentBookSellers.dbo.FactSales.OrderNumber nvarchar(20)
DWIndependentBookSellers.dbo.FactSales.OrderDateKey int
DWIndependentBookSellers.dbo.FactSales.StoreKey int
DWIndependentBookSellers.dbo.FactSales Table
DWIndependentBookSellers.dbo.FactSales.OrderNumber varchar(20)
DWIndependentBookSellers.dbo.FactSales.TitleKey int
DWIndependentBookSellers.dbo.FactSales.SalesQty int
DWIndependentBookSellers.dbo.FactSales.SalesPrice decimal
DWIndependentBookSellers.dbo.DimDates Table
DWIndependentBookSellers.dbo.DimDates.DateKey int
DWIndependentBookSellers.dbo.DimDates.FullDate date
DWIndependentBookSellers.dbo.DimDates.USADateName varchar(100)
DWIndependentBookSellers.dbo.DimDates.MonthKey int
DWIndependentBookSellers.dbo.DimDates.MonthName varchar(100)
DWIndependentBookSellers.dbo.DimDates.QuarterKey int
DWIndependentBookSellers.dbo.DimDates.QuarterName varchar(100)
DWIndependentBookSellers.dbo.DimDates.YearKey int
DWIndependentBookSellers.dbo.DimDates.YearName varchar(100)
Transformations

Auto generate with Identity()


Cast to Unicode data type
Cast to Unicode data type, simplify length, and combine
Cast to Unicode data type, simplify length, and combine

Cast to Unicode data type and simplify length


Cast to Unicode data type

Auto generate with Identity()


Cast to Unicode data type
Cast to Unicode data type and simplify length
Cast to Unicode data type and simplify length
Cast to standard data type and Filter titles without price

FK Lookup
FK Lookup

Auto generate with Identity()


Cast to Unicode data type
Cast to Unicode data type and simplify length

Cast to Unicode data type and simplify length


Cast to Unicode data type

Cast to Unicode data type


FK Lookup
FK Lookup

Merged into FactSales


FK Lookup
Cast to standard data type
Cast to standard data type

Format as YYYYMMDD

Format as YYYYMM
Format as YYYYQQ

Format as YYYY

You might also like