?
Solved

SQL Job Error in SSIS Package

Posted on 2016-10-21
2
Medium Priority
?
111 Views
Last Modified: 2016-10-25
Hi guys,

I have created a job in SQL Server Agent. My SSIS project is deployed in SSISDB. I have got a wrapper package which is being executed by this job. Now the job fails and complains about the package BookingRevision.dtsx

When i run this package from my local it runs successfully but fails in the job. The only difference between this package and other successful packages within job is that this package is using a Data Conversion.

I am relatively new to SSIS so really unable to understand that why is this package not giving any error from local but when i run it from the server it comes up with the error message.

I have attached the error file
Report.docx
0
Comment
Question by:shah36
2 Comments
 
LVL 14

Accepted Solution

by:
Nakul Vachhrajani earned 2000 total points
ID: 41854535
It appears that your server is running low on resources (memory or disk). This is based on the following line from your error log (thank-you for sharing it).

Either not enough memory is available to the pipeline because not enough is installed, other processes are using it, or too many buffers are locked.

The reason it works on your local machine is probably because no other packages, processes or client connections are open on your machine (or you may not be using the same amount of data when running your package).

Try reducing blocking transformations (e.g. Sort + Merge) and replace them with non-blocking ones (e.g. downloading data into temporary tables and using standard T-SQL to perform the JOIN). Also, see how you can minimize the data being exchanged across the data pipe (apply filters when fetching data from the source itself rather than doing so towards the end).
0
 

Author Closing Comment

by:shah36
ID: 41858185
Thanks a lot. Yes Server was low on resources. There was no way that we were going to upgrade the resources. So i split my wrapper package into multiple wrapper packages and especially those one containing high volume of data transfer and it works.

regards
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question