22
www.sqlbits.com Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form] Lunch Time Sessions: [Idera in Everest, Quest in Memphis, Grok in Chic 1 and Learn & Enjoy [Put your phone on Vibrate!] Ask The Experts [Sessions need to finish on time, take questions to the ATE a

Platinum Gold Silver Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

  • View
    214

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

www.sqlbits.com

Group BY: [Food and Drink at Reading Bowl, see you there!]

Feedback Forms: [Voucher for £30 book on return of Form]

Lunch Time Sessions: [Idera in Everest, Quest in Memphis, Grok in Chic 1 and 2]

Learn & Enjoy [Put your phone on Vibrate!]

Ask The Experts[Sessions need to finish on time, take questions to the ATE area]

Page 2: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

HandlingEarly Arriving Facts

Presented By Sutha Thiru

Edenbrook

ETL Capability Lead

[email protected]

6th October 2007

Page 3: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Agenda

• Typical Warehouse Architecture

• Early Arriving Facts

• Handling early arriving facts

• Demo

• Two Fact Tables Per One Fact Table

• BISC

• Resources

• Q & A06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 3

Page 4: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Typical Warehouse Architecture

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 4

SQL ServerSQL

Server

CSV Files /

Text Files

OracleOracle

DB2DB2

ODSODS StageStage WarehouseWarehouse AS CubeAS

Cube

Reporting ServicesPro Clarity

Performance PointShare Point

Excel

Reporting ServicesPro Clarity

Performance PointShare Point

Excel

Page 5: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Early Arriving Facts

• “An Early arriving fact takes place when the activity measurement arrives at the data warehouse without its full context. In other words, the statuses of the dimensions attached to the activity measurement are ambiguous or unknown for some period of time”

Kimball Design Tip #57

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 5

Page 6: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Early Arriving Facts (Contd.)

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 6

WarehouseSource Data Stage

Fact Record – Joe Bloggs, £100 Dimension – 1, John Smith

SSIS SSIS

Page 7: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Early Arriving Facts (Contd.)

• We are running a real-time business.

• When will we get the rest of the data.

• Example for early arriving fact, Sales Transaction for £100 for Customer “Joe Bloggs”. We do not have “Joe Bloggs” in our customer dimension table.

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 7

Page 8: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Points To Be Aware

• Late arriving facts vs early arriving facts.

• Dimensions are “not accurate”.

• Business Intelligence Service Centre (BISC) will get all the exception reports highlighting default dimensions as well as rejected facts.

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 8

Page 9: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Handling Early Arriving Facts

• 3 Options

–Reject early arriving facts altogether.

–Map early arriving facts to default Surrogate key.

–Generate dimension on the fly and map the surrogate key to the fact record.

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 9

Page 10: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Handling Early Arriving Facts DEMO

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 10

Page 11: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

2 Fact Tables

• Why do we recommend two fact tables?–When default surrogate key (-1) is mapped we

don’t load the main fact table.

–We load them into separate fact tables.

– BISC is responsible to fix these default surrogate key fact records.

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 11

Page 12: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

2 Fact Tables (Contd.)

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 12

Page 13: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

2 Fact Tables (Contd.)

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 13

Why do we do this?

Page 14: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Business Intelligence Service Centre (BISC)

• The objective of the BISC is to support the business in deriving maximum value from the Business Intelligence solution as well as working with IT to ensure the solution evolves on a sound technical foundation

• Key Personnel BISC Manager

Data Manager

BI Senior Analyst

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 14

Page 15: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

BI Skills & Processes

Data & Technology

BISC

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 15

BusinessBusiness

The Success of BISC dependant on Placing Business at the heart of BISC.

Page 16: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

BISC Responsible For

• Provides BI Roadmap Governance

• Facilitate communication

• Standardise internal and external reporting

• Support business users in self service reporting

• Provides a central unit for a data stewardship

• Validating specification for reports

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 16

Page 17: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

BISC Is Not Responsible For

• Data not in the BI Framework

• Cleaning the data

• Authoring Reports

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 17

Page 18: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

BISC Roles

• BISC Manager– Overall responsibility for BISC

– BI Roadmap Management

– Benefits Realisation

• Data Manager–Meta Data Management

– Organise Data Cleansing Process

– Define Data Management approach

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 18

Page 19: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

BISC Roles (Contd.)

• BI Senior Analyst– Gather requirements for future phases

– Support business to create reports

– Liaise with key users in the business

– Intermediary role between IT and business

– Perform advanced analysis where required

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 19

Page 20: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Resources

• http://www.rkimball.com/html/designtipsPDF/

• http://sqlblogcasts.com/

• http://www.sqlis.com/

• http://blogs.conchango.com/jamiethomson/

• http://cwebbbi.spaces.live.com/

• http://www.sqlserverfaq.com/

• http://forums.microsoft.com/msdn/showforum.aspx?forumid=80&siteid=1

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 20

Page 21: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

Thank You

Q & A

06/10/2007 http://sqlblogcasts.com/blogs/tsutha/ 21

Page 22: Platinum Gold Silver  Group BY: [Food and Drink at Reading Bowl, see you there!] Feedback Forms: [Voucher for £30 book on return of Form]

www.sqlbits.comwww.SQLBits.com[Conference Web site]

www.SQLBlogCasts.com[Becoming the premier Blogging site for SQL professionals]

www.SQLServerFAQ.com[UK SQL Server Community Website]

UK SQL Bloggerscwebbbi.spaces.live.comsqlblogcasts.com/blogs/simonssqlblogcasts.com/blogs/tonyrogerson

Feedback Forms!!