Batch processing Transnational Data Suggestions


hello,

i have requirement data comes in flat file format.  this data need go through various step of transformations , lookup . have broke down process in steps.  1. stage 2. collect needed data 3. validate data 4. store them in incremental order future use. 5. generate more transaction related incoming rows. 6 send target system.  

through out process data going across many tables , servers , have following requirement.

1. need create process in case of failure  if data has not gone through steps  and in target system need  process start left off , finish processing data target.  ( requirement ask not use check point in ssis)

2. in case failure require process same file again data should wipe cleaned in step 1 5 , new file should process  

i have looked in batch processing in steps batch id there need better suggestions. please let me know if have suggestion or route should avoid.

i advise against using transactions long transaction not advisable.

however using audit tables capture load success updated when tasks completed.

if success do:

  1. archive source files
  2. update load status success

if failure:

  1. leave file in source
  2. update load status fail

when job run next time, check status above, if success start new process, else run same process again.

note: need have way capture file names processed , failures rerun. maintain in log table along loadid. on next run check files load id not success , run jobs files in foreah loop if need.


my blog    |      ask me     |      ssis basics     



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

BIT Version

SQL Server PSProvider SQL Server Authentication

Getting error when using Excel Destination