dbTalk Databases Forums  

Multiple data warehouse etl scripts, abstraction for code re-use

comp.databases comp.databases


Discuss Multiple data warehouse etl scripts, abstraction for code re-use in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TagSoup@gmail.com
 
Posts: n/a

Default Multiple data warehouse etl scripts, abstraction for code re-use - 08-29-2006 , 09:24 AM






Hello,

I have about 150 teradata BTEQ scripts run on a nightly basis,
some to do updates/inserts/etc from other various tables in order to
populate/maintain/update our data warehouse. (If your unfamiliar with
a td bteq script, i think its similar to a DB2 CLP script)

Being typical TD BTEQ scripts, each one has information such as
"login/password" on the first line, some simple error trapping and
notification messages in each script, and quite a bit of code copied
into each of the scripts.

In retrospect, after development, I wonder if there are better
solutions such as a single application to dynamically create text from
a single script/application and execute the script. This way,
isolating much of the code/testing in a single place and abstracting
the business logic for DML behaviors for the data warehouse.

Does anyone have any experience with maintaining many ETL scripts and
what levels of abstraction have you including in the scripting?

Any suggestions appreciated.


Reply With Quote
  #2  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Multiple data warehouse etl scripts, abstraction for code re-use - 08-29-2006 , 03:01 PM







TagSoup (AT) gmail (DOT) com wrote:
Quote:
Hello,

I have about 150 teradata BTEQ scripts run on a nightly basis,
some to do updates/inserts/etc from other various tables in order to
populate/maintain/update our data warehouse. (If your unfamiliar with
a td bteq script, i think its similar to a DB2 CLP script)

Being typical TD BTEQ scripts, each one has information such as
"login/password" on the first line, some simple error trapping and
notification messages in each script, and quite a bit of code copied
into each of the scripts.

In retrospect, after development, I wonder if there are better
solutions such as a single application to dynamically create text from
a single script/application and execute the script. This way,
isolating much of the code/testing in a single place and abstracting
the business logic for DML behaviors for the data warehouse.

Does anyone have any experience with maintaining many ETL scripts and
what levels of abstraction have you including in the scripting?

Any suggestions appreciated.
Coming from an Oracle perspective, a lot of common functionality was
kept in stored procedures in big projects I worked on,especially the
Translation step logic. Source control outside the DB, and Oracle has
PACKAGES which group functions together, so every package included a
WHOAMI function that returned revision information.

HTH,
Ed



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.