220 likes | 235 Views
Platinum. Learn & Enjoy [Put your phone on Vibrate!]. www.sqlbits.com. Group BY: [Food and Drink at Reading Bowl, see you there!]. Gold. Feedback Forms: [Voucher for £30 book on return of Form]. Silver. Lunch Time Sessions: [Idera in Everest, Quest in Memphis, Grok in Chic 1 and 2].
E N D
Platinum Learn & Enjoy [Put your phone on Vibrate!] www.sqlbits.com Group BY: [Food and Drink at Reading Bowl, see you there!] Gold Feedback Forms: [Voucher for £30 book on return of Form] Silver Lunch Time Sessions: [Idera in Everest, Quest in Memphis, Grok in Chic 1 and 2] Ask The Experts[Sessions need to finish on time, take questions to the ATE area]
HandlingEarly Arriving Facts Presented By Sutha Thiru Edenbrook ETL Capability Lead sutha@suthathiru.com 6th October 2007
Agenda • Typical Warehouse Architecture • Early Arriving Facts • Handling early arriving facts • Demo • Two Fact Tables Per One Fact Table • BISC • Resources • Q & A http://sqlblogcasts.com/blogs/tsutha/
Typical Warehouse Architecture SQL Server AS Cube Oracle ODS Stage Warehouse DB2 CSV Files / Text Files Reporting Services Pro Clarity Performance Point Share Point Excel http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
Early Arriving Facts (Contd.) Warehouse Source Data Stage SSIS SSIS Fact Record – Joe Bloggs, £100 Dimension – 1, John Smith http://sqlblogcasts.com/blogs/tsutha/
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. http://sqlblogcasts.com/blogs/tsutha/
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. http://sqlblogcasts.com/blogs/tsutha/
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. http://sqlblogcasts.com/blogs/tsutha/
Handling Early Arriving Facts DEMO http://sqlblogcasts.com/blogs/tsutha/
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. http://sqlblogcasts.com/blogs/tsutha/
2 Fact Tables (Contd.) http://sqlblogcasts.com/blogs/tsutha/
2 Fact Tables (Contd.) Why do we do this? http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
BISC BI Skills & Processes Business Data & Technology The Success of BISC dependant on Placing Business at the heart of BISC. http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
BISC Is Not Responsible For • Data not in the BI Framework • Cleaning the data • Authoring Reports http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
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 http://sqlblogcasts.com/blogs/tsutha/
Thank YouQ & A http://sqlblogcasts.com/blogs/tsutha/
Platinum www.SQLBits.com[Conference Web site] www.sqlbits.com www.SQLBlogCasts.com[Becoming the premier Blogging site for SQL professionals] Gold www.SQLServerFAQ.com[UK SQL Server Community Website] Silver UK SQL Bloggers cwebbbi.spaces.live.comsqlblogcasts.com/blogs/simonssqlblogcasts.com/blogs/tonyrogerson Feedback Forms!!