Professional Documents
Culture Documents
Building Your Etl Framework With Biml
Building Your Etl Framework With Biml
Building Your Etl Framework With Biml
Begin at the
Beginning
Meagan Longoria
Business Intelligence Consultant at
BlueGranite
Organizer of SQL Saturday Kansas City
(Oct 3, 2015)
</Package>
</Packages>
</Biml>
Demo
Created a blank package
Created connections
Process
Use the BIMLScript include
BIMLScript CallBIMLScript
Demo
3 schemas: Audit, Stage, Prod (whatever the project/subject area
is called, ex: HR)
Audit schema contains two tables:
PackageControl: Package execution details for easy querying and
restartability
PackageDependency: lists packages in groups and orders them for
execution
My SSIS Staging tables include all columns from source table for thin
Framework tables, select columns for wide tables, + audit fields
Views used to transform data and do lookups for dims and facts
Master packages for staging, dims, facts use package dependency
for order and concurrency and package control for restartability
Demo
BIML files are included with each new SSIS project for source
control
You decide whether you source control BIML, SSIS packages, or
both. The right answer depends on your work processes.
My BIML My recommendation: Although you could describe tables in BIML,
it is best to continue use of database projects to contain your table
Library schemas, views, stored procedures
Troubleshooting and updates tend to occur in the database rather
than the package once your design patterns are set.
Get ready to bang your head a few times. It’s fine. You won’t break
anything.
Meagan Longoria
Final Blog: datasavvy.wordpress.com
Questions and Twitter: @mmarie
Comments LinkedIn: www.linkedin.com/in/meaganlongoria/
Company Website: http://www.blue-granite.com/