Solved

SLQ2005 Rebuilding index failed

Posted on 2009-04-06
2
907 Views
Last Modified: 2012-05-06
I have recently moved (detach-reattach) some database from 1 server to another sersers. These databases are huges and i need to put them on a dedicated SQL box. They are both 64 bits with x64 SQL enterprise. They have 32 GB of ram each...but now when i try to run the maintanance task (rebuild index) it fails everytime with a weird message "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly. "

Please look at the attached file

Huy
Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted

04/06/2009 10:32:53,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:01:53,0,0,,,,0

04/06/2009 10:32:53,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...e query "ALTER INDEX [IX_EDocs] ON [dbo].[EDocs] REBUILD WITH ( PAD_INDEX  = OFF<c/> STATISTICS_NORECOMPUTE  = OFF<c/> ALLOW_ROW_LOCKS  = ON<c/> ALLOW_PAGE_LOCKS  = ON<c/> SORT_IN_TEMPDB = OFF<c/> ONLINE = OFF )  " failed with the following error: "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  Progress: 2009-04-06 10:34:40.67     Source: Rebuild Index Task      Executing query "USE [H90021]  ".: 0% complete  End Progress  Progress: 2009-04-06 10:34:40.70     Source: Rebuild Index T...  The package execution fa...  The step failed.,00:01:53,0,0,,,,0

04/06/2009 10:31:29,LDHSQL04 - Week User DB Optimize.Subplan_1,Unknown,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job succeeded.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:00:20,0,0,,,,0

04/06/2009 10:31:29,LDHSQL04 - Week User DB Optimize.Subplan_1,Unknown,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ... Progress  Progress: 2009-04-06 10:31:47.07     Source: Rebuild Index Task      Executing query "USE [H94000]  ".: 25% complete  End Progress  Progress: 2009-04-06 10:31:47.07     Source: Rebuild Index Task      Executing query "ALTER INDEX [PK_EDocsReview] ON [dbo].[EdocsReview".: 26% complete  End Progress  Progress: 2009-04-06 10:31:47.08     Source: Rebuild Index Task      Executing query "USE [H94000]  ".: 26% complete  End Progress  Progress: 2009-04-06 10:31:47.08     Source: Rebuild Index Task      Executing query "ALTER INDEX [PK_eDocsReviewFlags] ON [dbo].[eDocsR".: 27% complete  End Progress  Progress: 2009-04-06 10:31:47.08     Source: Rebuild Index Task      Executing query "USE [H94000]  ".: 28% complete  End Progress  Progress: 2009-04-06 10:31:47.08     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocsReviewHist] ON [dbo].[EDocsRe".: 28% complete  End Progress  Progress...  The package executed successf...  The step succeeded.,00:00:20,0,0,,,,0

04/06/2009 10:30:00,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:00:03,0,0,,,,0

04/06/2009 10:30:00,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. uild Index Task Execute SQL Task     Description: Executing the query "ALTER INDEX [IX_EDocs] ON [dbo].[EDocs] REBUILD WITH ( PAD_INDEX  = OFF<c/> STATISTICS_NORECOMPUTE  = OFF<c/> ALLOW_ROW_LOCKS  = ON<c/> ALLOW_PAGE_LOCKS  = ON<c/> SORT_IN_TEMPDB = OFF<c/> ONLINE = OFF )  " failed with the following error: "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  10:30:00 AM  Finished: 10:30:01 AM  Elapsed:  1.25 seconds.  The package execution failed.  The step failed.,00:00:03,0,0,,,,0

04/06/2009 10:18:14,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:00:04,0,0,,,,0

04/06/2009 10:18:14,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. uild Index Task Execute SQL Task     Description: Executing the query "ALTER INDEX [IX_EDocs] ON [dbo].[EDocs] REBUILD WITH ( PAD_INDEX  = OFF<c/> STATISTICS_NORECOMPUTE  = OFF<c/> ALLOW_ROW_LOCKS  = ON<c/> ALLOW_PAGE_LOCKS  = ON<c/> SORT_IN_TEMPDB = OFF<c/> ONLINE = OFF )  " failed with the following error: "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  10:18:14 AM  Finished: 10:18:16 AM  Elapsed:  1.969 seconds.  The package execution failed.  The step failed.,00:00:04,0,0,,,,0

04/06/2009 10:16:32,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:00:04,0,0,,,,0

04/06/2009 10:16:32,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...e query "ALTER INDEX [IX_EDocs] ON [dbo].[EDocs] REBUILD WITH ( PAD_INDEX  = OFF<c/> STATISTICS_NORECOMPUTE  = OFF<c/> ALLOW_ROW_LOCKS  = ON<c/> ALLOW_PAGE_LOCKS  = ON<c/> SORT_IN_TEMPDB = OFF<c/> ONLINE = OFF )  " failed with the following error: "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  Progress: 2009-04-06 10:16:34.75     Source: Rebuild Index Task      Executing query "USE [H80073]  ".: 0% complete  End Progress  Progress: 2009-04-06 10:16:34.75     Source: Rebuild Index T...  The package execution fa...  The step failed.,00:00:04,0,0,,,,0

04/06/2009 10:09:39,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:05:36,0,0,,,,0

04/06/2009 10:09:39,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...e query "ALTER INDEX [IX_EDocs] ON [dbo].[EDocs] REBUILD WITH ( PAD_INDEX  = OFF<c/> STATISTICS_NORECOMPUTE  = OFF<c/> ALLOW_ROW_LOCKS  = ON<c/> ALLOW_PAGE_LOCKS  = ON<c/> SORT_IN_TEMPDB = OFF<c/> ONLINE = OFF )  " failed with the following error: "This index operation requires 4096 KB of memory per DOP. The total requirement of 32768 KB for DOP of 8 is greater than the sp_configure value of 26624 KB set for the advanced server configuration option "index create memory (KB)".  Increase this setting or reduce DOP and rerun the query.  The statement has been terminated.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  Progress: 2009-04-06 10:14:52.89     Source: Rebuild Index Task      Executing query "USE [H70012]  ".: 0% complete  End Progress  Progress: 2009-04-06 10:14:52.92     Source: Rebuild Index T...  The package execution fa...  The step failed.,00:05:36,0,0,,,,0

04/03/2009 16:16:06,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:25:23,0,0,,,,0

04/03/2009 16:16:06,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...s] REBUILD WI".: 7% complete  End Progress  Progress: 2009-04-03 16:18:41.54     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 8% complete  End Progress  Progress: 2009-04-03 16:18:41.56     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_1] ON [dbo].[EDocs] REBUILD ".: 8% complete  End Progress  Progress: 2009-04-03 16:18:41.56     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 9% complete  End Progress  Progress: 2009-04-03 16:18:41.56     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_2] ON [dbo].[EDocs] REBUILD ".: 10% complete  End Progress  Progress: 2009-04-03 16:18:41.56     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 10% complete  End Progress  Progress: 2009-04-03 16:18:41.56     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_3] ON [dbo].[EDocs] REBUILD ".: 11% complet...  The package execution fa...  The step failed.,00:25:23,0,0,,,,0

04/03/2009 15:06:29,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:34:27,0,0,,,,0

04/03/2009 15:06:29,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...s] REBUILD WI".: 7% complete  End Progress  Progress: 2009-04-03 15:15:41.23     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 8% complete  End Progress  Progress: 2009-04-03 15:15:41.24     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_1] ON [dbo].[EDocs] REBUILD ".: 8% complete  End Progress  Progress: 2009-04-03 15:15:41.24     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 9% complete  End Progress  Progress: 2009-04-03 15:15:41.24     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_2] ON [dbo].[EDocs] REBUILD ".: 10% complete  End Progress  Progress: 2009-04-03 15:15:41.24     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 10% complete  End Progress  Progress: 2009-04-03 15:15:41.24     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_3] ON [dbo].[EDocs] REBUILD ".: 11% complet...  The package execution fa...  The step failed.,00:34:27,0,0,,,,0

03/31/2009 15:02:23,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User LDATAHOU\Administrator.  The last step to run was step 1 (Subplan_1).,00:07:49,0,0,,,,0

03/31/2009 15:02:23,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ...s] REBUILD WI".: 7% complete  End Progress  Progress: 2009-03-31 15:04:04.36     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 8% complete  End Progress  Progress: 2009-03-31 15:04:04.38     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_1] ON [dbo].[EDocs] REBUILD ".: 8% complete  End Progress  Progress: 2009-03-31 15:04:04.38     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 9% complete  End Progress  Progress: 2009-03-31 15:04:04.38     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_2] ON [dbo].[EDocs] REBUILD ".: 10% complete  End Progress  Progress: 2009-03-31 15:04:04.38     Source: Rebuild Index Task      Executing query "USE [iomodel]  ".: 10% complete  End Progress  Progress: 2009-03-31 15:04:04.38     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_EDocs_3] ON [dbo].[EDocs] REBUILD ".: 11% complet...  The package execution fa...  The step failed.,00:07:49,0,0,,,,0

03/28/2009 05:00:00,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,0,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by Schedule 1 (LDHSQL04 - Week User DB Optimize.Subplan_1).  The last step to run was step 1 (Subplan_1).,00:07:12,0,0,,,,0

03/28/2009 05:00:00,LDHSQL04 - Week User DB Optimize.Subplan_1,Error,1,LDHSQL04,LDHSQL04 - Week User DB Optimize.Subplan_1,Subplan_1,,Executed as user: LDATAHOU\Administrator. ....3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  5:00:00 AM  Progress: 2009-03-28 05:00:04.26     Source: {ED11A2E8-B079-4A55-A73B-A0DD8D072C39}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  End Progress  Progress: 2009-03-28 05:01:40.76     Source: Rebuild Index Task      Executing query "USE [LDControl]  ".: 0% complete  End Progress  Progress: 2009-03-28 05:01:40.77     Source: Rebuild Index Task      Executing query "ALTER INDEX [PK_Clients] ON [dbo].[Clients] REBUIL".: 1% complete  End Progress  Progress: 2009-03-28 05:01:40.77     Source: Rebuild Index Task      Executing query "USE [LDControl]  ".: 2% complete  End Progress  Progress: 2009-03-28 05:01:40.77     Source: Rebuild Index Task      Executing query "ALTER INDEX [IX_Defaults] ON [dbo].[Defaults] REBU".: 2% complete  End Progress  Progress: 2009-03-28 05:01:...  The package execution fa...  The step failed.,00:07:12,0,0,,,,0

Open in new window

SQL.log
0
Comment
Question by:moonzappa
  • 2
2 Comments
 

Author Comment

by:moonzappa
Comment Utility
Also, where i right click on the SQL name and choose the property. Under memory i see a awe memory which i set for 26 gb to 28 Gb. Underneath that is a tab called other memory. with the other SQL box is is at 0-1024 but with this server box it says "index creatation memory 26 gb min and 28 gb max just as the server memory option
0
 

Accepted Solution

by:
moonzappa earned 0 total points
Comment Utility
i found the answer to my problem. I changed the "other memory" - " indexing memory creation" back to 0 min and 1024 max and it working fine now..thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now