Generating ETL processes with BIML

// Business Intelligence

noventum data warehouses purse a standardised layer architecture

 

The creation of data warehouses allows for relying on standardised elements at different spots. Depending on the project, there is a high degree of standardisation in some layers while others contain customer-specific business logic throughout. To implement the standardised layers as quickly as possible and in high quality means – for each project – a stable basis and motivation for the often difficult individual aspects that have to be worked on subsequently.

ETL process for the SQL Server are created as SSIS packages; these are XML files, but they were never designed for manual handling. Therefore, it is not efficiently possible to generate these files directly. To ease this process, there has been the Business Intelligence Modelling Language (BIML) for some time now. 

BIML has been gaining momentum, especially this year. The SQL Server Conference in February, organised by PASS (Professional Association for SQL Server), made this clear. With a contribution of its own, „meta data driven development with BIML“, noventum was able to move the topic forward with an accent of its own at the PASS meeting in Hanover in May 2015. This year‘s SQL Saturday in St. Augustin is promising four presentations on the topic of BIML.

What is BIML?

BIML is a description of SSIS package in legible XML source text. This provides for initial advantages with respect to versioning and cooperation. But the whole potential of the BIML idea can only exploited with BIMLScript. With BIMLScript, BIML files can be generated dynamically. E.g., the developer can say „generate five packages for me that each look completely identical and are merely based on a different source table.“

What can be achieved by this?

From a source/target mapping, meta data can be derived that allows for generating therefrom a whole ETL process for loading a DWH. Since it is generated, the latter does – of course – exactly adhere to the project‘s naming conventions. A steadily growing toolbox of stored best practices regarding package creation supplements these options. This special noventum know-how does encompass, for example, the loading from the source system through delta methods or different historisation methods.

Advantages

BIML allows for shorter project duration while opening-up new sources. It establishes a degree of standardisation that massively improves the maintainability of the DWH. Added value can be achieved for the customers through the automatic creation, which, in a manual implementation, would have exceeded the project budget, for instance in the area of historisation. The legible XML source text makes a versioning and therewith cooperation easier. BIML generates normal SSIS packages so that these later can be reviewed and executed with the SQL Server Data Tools (SSDT BI). If manual changes are desired, they can therefore also be implemented. BIML is part of the free SSDT BI plug-in BIDShelper that is being utilised on all noventum projects. With its help, packages can be generated for SQL Server versions from 2005 to 2014. A technical insight into the topic is afforded by the PASS presentation. To the present day, the methodology described has been used in corresponding customer projects with great success. In this, the custom part repeatedly turned out to be surprisingly small and was realisable at reasonable expenditure.

 

Felix Möller

 

Go back