Task:
You are working an ETL developer in an organization; you are
responsible for creating different SSIS Packages for data loads and keep them
running smooth in production. In case of failure, figure out the issue and work
the team to solve the problem.
So how it starts?
All Lazy:
What do I mean by that?
I have worked in
organizations where people develop SSIS Packages, Deploy SSIS Packages and then
forget about them. Nobody noticed that the Job is failing every day till
business users stop by to tell you that they are not finding updated data.
Smart DBA:
If your organization has the team of DBAs or a DBA who
really take care of things seriously. When the job will be created for your
SSIS Package then he will add notification to it on failure. So if your package failed at night or day,
DBA will be the person who will notify you that the job has failed with some basis error information that he received or got from SQL Server Agent Job History.
Smart Me!
As ETL developer if I am smart and follow best practices, when
I deploy my SSIS Package, I will add following items to it
- · On Failure Email Notification
- · Logging for detail error information
If I have done that then if any of SSIS Package fails, I
will get the email. I can add the team members in email so if I am not around then other developers do get the email and start looking into the problem.
From Where to Get Error Information?
Here are the different ways to get error information once
your SSIS Package failed.
- If you have not set up error email notification in your SSIS Package, Then DBA will be sending you the initial information from Job History (SQL Server Agent Job). Your company might be using different scheduler than SQL Server Agent. Most of the scheduler those I have worked with do provide Job History and Error Message Information.
- If you have set up the Error Email notification from SSIS Package itself, you will get the email from your SSIS Package with error information. Here is the link how to set up that.
- If we want to further look into error details, we need to check the logging file or log records in table. SSIS Provide different type of logging such as text file, SQL server table, xml etc. Here is the link how to set up Logging in SSIS Package. You should have access to see the information. If your SSIS Package is logging execution information to file system, then you need read permission to the folder where the log files are created. If you are logging information in SQL Server Table then you need read permission on table. When you deploy your Package to Production, Make sure you get the permissions so when your SSIS Package fails, you can go to those locations and look into log files or table to find out error.
What’s next?
Once you have all the error information
then you take steps accordingly
Let’s consider few of common issues
1-Connection Failed:
If package was not able to make connection
to Database or file due to network issue, you can ask the DBA to rerun the SSIS
Package after making sure it is saved to rerun.
2- File is being used by Another Process:
If your SSIS Package is reading some Excel
file to load data and that file is opened by another user, you can get this
type of error. In those scenarios, you have to find out who has opened the file
and then ask them to close the file or make a copy and leave the original for
SSIS Package to use.
3-Row yielded no match during lookup:
Your incoming data could not find the
matching record from lookup and you have configured the lookup to fail in case data
does not match. In this case you can make sure the lookup table (reference
Table) has the required data for match.
These were few of the examples just to
start debugging. There could be problems in which you have to take your SSIS
Package from Production and run with same data in UAT/QA to further debug
issue. You can use Break Points, Data Viewer etc. to further look into the
issue by debugging your SSIS Package in BIDS or SSDT.
To summarize this topic, I will suggest my
fellow ETL developers to implement Error Notification in SSIS Package and ask
the DBA to add notification to Job on failure. Always have Logging setup for
your SSIS Package. If you have above in your SSIS Package, Finding Error will
be much easier and less time consuming.
Thanks for posting keep updating it.
ReplyDeleteInformatica MDM Training in Chennai
Informatica mdm training
french courses in chennai
pearson vue
Blockchain Training in Chennai
Spoken English Course in Chennai
Informatica MDM Training in Velachery
Informatica MDM Training in Tambaram
Great Article Artificial Intelligence Projects
DeleteProject Center in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai
Fabulous post admin, hats off to your creativity. I got lots of information here.
ReplyDeleteWeb Designing Course in chennai
web designing training in chennai
Web Designing Institute in Chennai
Ethical Hacking Training in Chennai
PHP Training in Chennai
Angular 6 Training in Chennai
Web Designing Course in Porur
Web Designing Course in Tambaram
Web Designing Course in Adyar
Lovely post!!! Thanks for sharing! I like people to comprehend just how good this data is in your blog. This is a very interesting content and Good job.
ReplyDeletePower BI Training in Chennai
Power BI Training
Unix Training in Chennai
Oracle Training in Chennai
Tableau Training in Chennai
Advanced Excel Training in Chennai
PEGA Training in Chennai
Corporate Training in Chennai
Linux Training in Chennai
Primavera Training in Chennai
Power BI Training in Thiruvanmiyur
Power BI Training in Tambaram
This stays as one of the best and attractive post I have read yet. Great sharing this post.
ReplyDeleteSpoken English Classes in Anna Nagar
Spoken English Classes in Porur
Spoken English Class in Kodambakkam
Spoken English Class in Adyar
Best Spoken English Classes in Chennai
IELTS Coaching Centre in Chennai
Spoken English Classes in Mumbai
English Speaking Course in Mumbai
IELTS Coaching in Mumbai
IELTS Mumbai
Popular Fashion Blogs in Surat
ReplyDeleteFashion Blogger in Surat
Surat Blogger
Indian Fashion Blogger
Fashion Blogger in India
this is just the info I am finding everywhere. but thanks for the nice blog.
ReplyDeleteBest Aviation Training Institute in Chennai
I never comment on blogs but your article is so best that I never stop myself to say something about it. You’re amazing Man, I like it Database Errors... Keep it up
ReplyDeleteGreat post with exclusive information. This blog will really helpful for me to develop my skills in a right way. Thanks for sharing, keep update with your blogs.
ReplyDeletehow to store multiple select values in database using php
Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing on Msbi online training
ReplyDeleteMsbi online training Hyderabad
Msbi online training India
Msbi online course
Msbi course
Msbi training
Msbi certification training
Nice Post...I have learn some new information.thanks for sharing. oracle training in chennai
ReplyDeleteThe languages which are used in this field are Python, Java, SQL, etc. Before you step into a world of data science, it is important that you have a good amount of knowledge of mathematics and computer science along with these languages. Both can be considered as the basic requirement of this subject. data science course in hyderabad
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteNicely written-This post is equally informative as well as interesting. Thanks for nice information you have shared. Get the Web Design Services for Small Businesses in New Jersey at an affordable price. for more information visit our site. We provide Responsive Web Design Services in New Jersey at an affordable price, for more information, visit our site.
ReplyDeleteClipping Xpert
ReplyDeleteClipping Xpert India
Paragon Clipping Path
Clipping Path Service
Image Editing Company
Ecommerce Image Editing Service
Clipping path company
Clipping Path Service
Image Editing Company
Ecommerce Image Editing Service
Clipping path company
Clipping Path Service
Image Editing Company
Ecommerce Image Editing Service
Clipping path company
Too Good article ,Thank You For Sharing.
ReplyDeleteKeep Updating...
MSBI Training
Vé máy bay Aivivu, tham khảo
ReplyDeletevé máy bay đi Mỹ khứ hồi
săn vé máy bay giá rẻ tết 2021
vé máy bay đi San Francisco
vé máy bay đi Pháp giá rẻ 2021
vé máy bay từ việt nam sang anh
vé máy bay đi Los Angeles bao nhiêu tiền
combo intercontinental đà nẵng
combo đà lạt tháng 11
visa trung quốc
đăng ký cách ly khách sạn