I have a problem with some SSIS packages. I use SSIS to extract data from a server that is hosted by someone else. The query extracts about 2 000 000 rows and it has been running for several years. When the source server was upgraded from SQL 2005 to SQL 2008 R2 the SSIS package failed with the following message:
"Could not allocate a new page for database 'TEMPDB' because of insufficient disk space in filegroup 'DEFAULT'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup."
I can´t do anything about the size of TempDB since I´m not hosting it. I´m trying to see if there is anything else I can do to make it work. I have tried setting Maximum Insert Commit Size in the package as well as Rows per Batch (and I´m using OpenRowset Using FastLoad) with no luck.
The query looks something like this:
SELECT dbo.Kund.Personummer, dbo.Avtal.Status, dbo.Avtal.PartIdbolag, dbo.Avtal.AvtalTypNamn,
FROM dbo.AvtalPart INNER JOIN
dbo.Avtal ON dbo.AvtalPart.AvtalId = dbo.Avtal.AvtalId INNER JOIN
dbo.Kund ON dbo.AvtalPart.PartId = dbo.Kund.PartIdKund INNER JOIN
dbo.Engagemang ON dbo.Avtal.AvtalId = dbo.Engagemang.AvtalId
WHERE (dbo.Avtal.Status = 'Gällande') AND (dbo.Kund.PartIdbolag = 6)
Can someone please give me som advise on what to do next? Is there anything I can do to make it work?