Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL 2008 R2 Problem with TempDB when running SSIS Expand / Collapse
Author
Message
Posted Wednesday, February 27, 2013 2:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 23, 2014 3:31 AM
Points: 2, Visits: 77
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?

Post #1424406
Posted Wednesday, February 27, 2013 3:16 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 20, 2014 4:16 AM
Points: 121, Visits: 1,248
Please check this article on this error provided by Pinal Dave: http://blog.sqlauthority.com/2007/05/02/sql-server-fix-error-1101-could-not-allocate-a-new-page-for-database-because-of-insufficient-disk-space-in-filegroup/

SQL Database Recovery Expert
Post #1424427
Posted Wednesday, February 27, 2013 3:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 23, 2014 3:31 AM
Points: 2, Visits: 77
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....
Post #1424428
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse