February 27, 2013 at 2:26 am
Hi
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,
dbo.Avtal.ProduktId, dbo.Engagemang.Engagemangsnr
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?
February 27, 2013 at 3:16 am
This was removed by the editor as SPAM
February 27, 2013 at 3:23 am
Hi
Thanks for the reply, but my problem is, as I mentioned in my question, that I can´t do anything about the space on the source server. Thats why I wondered if there was anything else I can do to make it work. The DBA on the source server only tells me to optimaze my question....
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply