The Type and Number of Products OR Services Provided By the Bank Can Be Much More and Will Differ From One Bank to the Other Bank. The Current Business Requirements Document (BRD) Starts with a Very Simplistic Schema Which is The First Stage of The System to Be Applied as a Pilot Project to the Client. Then The System Will Be Explored With Several Schema Extensions As The State Of The Requirements From The Client Are Increasing. The Extensional Schemas can include handling of The Bank's Broad Portfolio And A Set of Heterogeneous Products That Vary Significantly By Line of Business The Bank Actually Carries According To The Span of The System. The Current Document Will Guide You with Complete Awareness of Dimension Modeling That Becomes an Essentiality for Kick Starting the System for Analysis and Implementing Data Warehouse.
Note: In this project we will be covering many scenarios which we face in banking domain. As we move ahead with the project we request you to understand properly the Data-warehousing concepts, which will help you understand the actual working of a data-warehousing project using ETL tool.
Work Environment
Dimension Overview
Based on The Business Requirements The Client Has Listed, The Grain And Dimensionality of The Initial Model Begins To Emerge. We Start With A Core Fact Table That Records The Primary Balances of Every Account At The End of Each Month. Clearly, The Grain of The Fact Table is One Row for Each Account at the End of Each Month. Based on This Grain of Declaration and Analysis, We Initially Envision a Design with Only Two Dimensions Month Dimension Account Dimension A Data-Centric Designer Might Argue That All The Other Description Information, Such As Household, Branch, And Product Characteristics, Should Be Embedded As Descriptive Attributes of The Account Dimension Because Each Account Has Only One Household, Branch, And Product Associated With it, All The Descriptive Attributes of The Relational OR Transactional System Will Never Come into The System of Data Warehouse As All The Attributes Do Not Play Key Role in The System For Business Intelligence. While The Current Schema Designed And Developed Accurately Represents Many-To-One And Many-To-Many Relationships in The Concept of Snapshot Data Taken From The Business System, It Does Not Adequately Reflect The Natural Business Dimensions That Are Important To The Core Data Warehouse. Schema Collapses Everything into A Huge Account Dimension Table, and Additional Analytic Dimensions Such As Product And Branch Mirror The Instinctive Way That Banking Users Think About Their Businesses. The Supplemental Dimensions Like Products, Branch Provide Much Smaller Points of Entry To The Fact Table. These Dimensions Address Both The Performance And Usability Objectives of A Dimensional Model. The Master Account Dimension in A Big Bank May Approach 10 Million Members, Then The Management And Maintenance Can Be Out of The Process Hence To Keep The System in Control We Should Follow Type 2 Slowly Changing Dimension (SCD) For Managing The Huge Dimension into Something That Can Look Like A Workable Process. The Product and Branch Attributes Are Convenient Groups of Attributes To Be Removed from Account Dimension in Order To cut Down the Side effects on The Type 2 SCD Implementation. Later well Squeeze the Changing Demographics and Behavioral Attributes Out of The Account Dimension For Managing The System To Be Under Operational Control At Information Management Level.
Transaction Dimension
The Transaction Dimension Consists of A Simple Transaction Hierarchy, that Describes The Entire Bank's Transactions, Including the Name of The Transaction, Transaction Type, And Transaction Category. The Need to Construct a Generic Transaction Categorization in The Bank is To Promote and Identify the State of Hierarchy in The System. The Bank Develops a Large Number of Customers Transaction Attributes for Each Transaction Type.
Account Dimension
The Account Status Dimension is A Useful Dimension to Record the Condition of The Account at the End of Each Month. The Account Status Dimension Records Whether the Account is Active OR Inactive OR Whether a Status Change Occurred during the Month. The Account Status Change Can Be A New Account Opening OR An Account Closure. Rather Than Whipsawing The Large Account Dimension OR Merely Embedding A Cryptic Status Code OR Abbreviation Directly in The Fact Table, We Treat Status As A Full-Fledged Dimension With Descriptive Status Decode Groupings And Status Reason Descriptions As Appropriate. In Many Ways We Could Consider The Account Status Dimension To Be Another Example of A Mini Dimension.
Time Dimension
The Client So Far Has Restricted His Discussions to the Financial Services Chapter To Month-End Balance Snapshots as the Client Thinks This Level of Detail Typically is Sufficient for His Business Analysis. If Required according To Situations the Client is Interested To Supplement The Monthly-Grained Snapshot in Fact Table within A Second Fact Table That Provides Merely The Most Current Snapshot As of The Fort Nightly Update OR Perhaps is Extended To Provide Daily-Balance Snapshots For The Last Week OR Month. Clients Major Area of Concentration is What Will Be The Strategy if We Face The Requirement To Report An Account's Balance At Any Arbitrarily Picked Historical Point in Time? As Raised By The Situation. Creating Daily-Balance Snapshots For A Large Bank Over A Lengthy Historical Time Span Would Be Overwhelming Given The Density of The Snapshot Data. On A Practical Calculation if The Bank Has 10 Million Accounts, Daily Snapshots Translate into Approximately 3.65 Billion Fact Rows Per Year. Assuming That Business Requirements Already Have Driven The Need To Make Transaction Detail Data Available For Analysis, We Could Leverage This Transaction Detail To Determine An Arbitrary Point-in-Time Balance. To Simplify Matters, We Will Analyze the Account Transaction Fact Table Down To An Extremely Simple Design. The Transaction Type Key Joins to A Small Dimension Table of Permissible Transaction Types. The Transaction Sequence Number is A Continuously Increasing Numeric Number Running for Lifetime of the Account. The Final Flag Indicates Whether This is The Last Transaction for an Account on A Given Day. The Transaction Amount is Self-Explanatory. The Balance Fact is The Ending Account Balance Following the Transaction Event. To Manage the Demandable Situation we consider this as a Special Situation and Make it Possible by Integrating with a Surrogate Date Key.
Fact Overview
The Heterogeneous Transaction Technique that is discussed in The Previous Paragraphs is Suitable for Fact Tables in Which A Single Logical Row Contains Many Transaction-Specific Facts. On The Other Hand, Transaction-Grained Fact Tables Often Have A Single Fact That is Generically The Target of A Particular Transaction. In Such Cases The Fact Table Has An Associated Transaction Dimension That Interprets The Amount Column.