-
Back after a hiatus
Posted on November 3rd, 2009 No commentsAm back! Its been a long time since I wrote something technical. Currently am focusing on the Business Objects suite and its integration with SAP suite. Also, in the near future, I expect to do a bit of research on the open source BI / DW tools like Talend, Pentaho Kettle, etc. Stay tuned!
-
Future of BODI / BODS?
Posted on February 4th, 2009 No commentsWhat do you think is the future of BODI / BODS?
I have almost stopped working on BODS. Well, almost… except for a fix here or there… once in a while. Most of my focus is now on SAP BI.
But I have a soft side towards BODI/BODS. It is a tool that I know very well. It is also a tool that has a lot of potential, but is underestimated a lot. It has undergone a sea of changes since the ACTA days. And it equates well with the Informatica’s and IBM Information Server’s of the world.
Personally, I feel that this tool has a good future. It has shaped up pretty well, has added more functionality, and integrates well with SAP R/3, but more importantly is non-SAP in focus. It should do well in the next few years.
Okay, here is an interesting discussion on the same. And Werner’s comments are promising. Need to keep a tab on the developments.
-
Gartner BI Summit summary
Posted on February 3rd, 2009 No commentsPlease visit this site for an excellent summary on the recent Gartner BI Summit.
-
Logic behind implementing SCD 2
Posted on October 7th, 2008 No commentsLets talk about the logic behind SCD type 2 today.
We know that SCD 2 is about preserving all the changes in the dimension records. Let us see the logic behind how we can implement it.
NOTE: The steps below assume SCD 2 having a Begin_date and End_date and a Current_Flag column
- Check if the incoming row is already present in the target table (dimension) using the source primary key
- If it doesn’t exist in the target dimension
- Generate a surrogate key
- Enter source record’s date as the Begin_date
- Enter the default end date (which could be 31/12/2099) as the End_date
- If you have a Current_flag column, set it as ‘Y’ or ’1′ (or whatever you want)
- Insert into the dimension
- If the row exists in the target
- Check if the incoming and target current record are different (at least for one chosen attribute)
- If they are same, do nothing
- If they are different, do the following
- For the record in the target table, change (update) the End_date to source record’s date and set the Current_flag to ‘N’ or ’0′ or whatever
- Take the incoming record, generate a surrogate key, enter source record’s date as the Begin_date and the default date as the End_date. Also set the Current_flag to ‘Y’ or ’1′. Insert into the dimension
NOTE: The End_date of the previous record and the Begin_date of the current record are assumed to be the same. But some people prefer them to be different dates ie) End_date is 1 day lesser than the next records Current_date.
-
Staging area: Necessary or overhead?
Posted on September 23rd, 2008 No commentsIn this article, let us see what a staging area is, its types and the reason to have one in your data warehouse.
Ok, what is a stage area?
It is that part of a data warehouse where data is stored physically (in database or in files), but as an intermediate step before loading the target data warehouse / data marts. It is where activities like cleansing, de-duplication, etc take place. It is like a pit stop for a racing car before reaching the destination.
Some characteristics of the staging area are
- accessible to and owned by ETL / DW team
- OLAP / reporting teams do not have access to it
- indexed very little
- ETL developers are usually free to create / drop tables, controlled though (by the architect or modeling team)
Types of staging areas:
- Persistent staging – stage data is not deleted, if you want to maintain history.
- Transient staging – stage data is deleted after each ETL load
Most data warehouses have one or more staging areas, the types being either persistent or transient or both.
But should you really have a stage area? Can’t you do without it? After all these days, ETL tools are more capable of handling more data in memory fully.
Is staging necessary or is it an overhead?
-
ETL effort estimation: Points to factor-in
Posted on September 23rd, 2008 No commentsEstimation of ETL effort is not always fun (as with any estimation).
There are several ways to estimate the effort needed to complete an ETL job. Work Breakdown Structure (WBS) is popular. And so is Function Point Analysis (FPA).
But the most widely used is the one that factors in complexity based on the understanding of things like source, target, resources on project, etc.
Though I haven’t really seen anyone use this method to perfection, it is a good place to start with. Some people argue against this method, but I see this as a complementary option to whatever method you have.
So, here is a list of points that I think would be useful when you do any ETL effort estimation. I have grouped it under 5 heads: Source, target, transformations, resources, other.
Source based:
- No of different sources & types
- Incremental extraction needs
- Profiling of data sources
- Cleansing / de-duplication dirty data sources
- Availability of documentation / transition of knowledge of source data
- Access control & management, if needed
- Data volumes for unit testing
-
Decfloat datatype not supported in BODI / BODS
Posted on July 12th, 2008 No commentsRecently I was working with a few DB2 UDB 9.5 tables and discovered that decfloat datatype columns were not recognized even though I had checked the option to recognize unsupported datatypes as varchar.
-
Why surrogate key?
Posted on July 4th, 2008 No commentsWhy should we use surrogate keys in a data warehouse?
Here is why.
1. To separate the DWH from the operational environment
Think of this. You have a dimension loading from transactional tables. All of a sudden, the OLTP people decide to re-use all closed / inactive account id’s. For them, it wont matter a bit. For the DWH team, it will.
Read the rest of this entry » -
Handling many to many relationships (corrections made)
Posted on April 30th, 2008 No comments(There were issues with the design in my original post. Those have been corrected. I have let the errors stay and have highlighted where I have made corrections so that you can understand better)
Consider this situation.
2 new guys Ravi and Raj go to our bank and open new savings accounts 101 and 102. And Ravi deposits 100 and Raj deposits 144. This can be represented by the following.
CLICK ON THE IMAGES BELOW TO SEE A LARGER PICTURE
Now suddenly, Ramu and Ramya come to the bank and open a joint account 103. And they deposit 1000. How will you represent this? What will you enter for CUST_KEY ? Will you enter 3 or 4? It was the same transaction of Rs 1000. But which customer to indicate? What will you fill in the red ? position below? -
Migration of a DW solution from Oracle to DB2
Posted on April 26th, 2008 No commentsRecently we migrated an entire DW module from Oracle to DB2. And our ETL was done using Business Objects Data Integrator.
Below is a sequence of steps that we followed to migrate the entire solution (including data structures, ETL code and universe)
Assumption:
–>All estimates done for 4 DB2 databases, 3 federated systems, 62 tables, 33 indexes, 6 DI jobs, 110 data flows, 151 transformations, 16 SQL transforms, 34 SQL() scripts, 220 objects in 23 classes and 2 reports.
–>Add 20% time as buffer for unexpected issues.
–>Some tasks can be executed in parallel, while some have strong dependency on completion of previous tasks.Work breakdown of migration and rough estimation:
1. Initiation & planning : 40 Hrs
Establish objectives and goals
Requirements gathering
Establish scope
Plan resources
Identify development environment2. Assessment : 40 Hrs
Assess tool and technology needs
Assess and understand technical requirements
Establish technical guidelines
Finalize tools and development environmentBODI, BODS, Business Intelligence, DB2, Data Integration, Data Modelling, Data warehouse, Database, Dimensional modelling, EIM, ETL, Metadata, Oracle, SAP BODI, BODS, Business objects, Data Integration, Data Modelling, Data Quality, Database, DB2, Dimensional modelling, DWH, Effort estimation, EIM, ETL, Metadata, Oracle, SAP-BO



