[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Rebuild Index Task fails

Posted on 2007-07-26
2
Medium Priority
?
1,345 Views
Last Modified: 2012-08-13
Hello,
I have a rebuild index task in a maintenance plan that keeps failing with the following error:
Error: 0xC002F210 at Rebuild Index Task, Execute SQL Task: Executing the query "ALTER INDEX [apinvdtl#_#progress_recid] ON [dbo].[apinvdtl] REBUILD WITH ( PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, SORT_IN_TEMPDB = OFF, ONLINE = OFF )
" failed with the following error: "The transaction log for database 'MfgSys80' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
The statement has been terminated.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Rebuild Index Task
SSIS package "SQL1Backup.dtsx" finished: Success.

I've checked the  log_reuse_wait_desc column in sys.databases and it's set to NOTHING. I can't seem to find a good explanation of what NOTHING means in MSDN.  I manually truncated my log file yesterday, so I'm not sure how it could be out of space already.
Any insights would be greatly appreciated.
Thanks
Chad
0
Comment
Question by:ChadMarsh
2 Comments
 
LVL 12

Accepted Solution

by:
patrikt earned 2000 total points
ID: 19574829
Because Reindex operation is producing large amount of logged operations you can get full log by reindex itself.
Add more space to your logfile or add another logfile.
0
 
LVL 2

Author Comment

by:ChadMarsh
ID: 19575609
Thanks. That seemed to do the trick
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

830 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