Answered by:
Rebuilding BizTak database's Indexes

Question
-
Hi,
We have SQL server 2005 EE x64 with SP3 having BizTalk server 2006 R2 databases. I went through the below links, before performing index rebuild for BizTalk databases.
http://msdn.microsoft.com/en-us/library/cc296811%28BTS.10%29.aspx
http://support.microsoft.com/kb/917845
As per the above links, we CANNOT reorganize indexes for BizTalk databases and BizTalk supports only Index rebuilds:
1. When NO BizTalk data processing is running
2. We must use only the BizTalk provided stored procedures to rebuild the indexes
and I read MSDN forums that we should
3. Stop the SQL Agent and run the Index rebuild stored procedures (bts_RebuildIndexes, dtasp_RebuildIndexes )
Questions:
Is that true that we need to STOP SQL Agent before running the above Stored procedures?
Did you stop the BizTalk data processing every time you rebuild indexes?
I appreciate your inputsMonday, February 15, 2010 5:44 PM
Answers
-
Hi,
To answer your question: "Is that true that we need to STOP SQL Agent before running the bts_RebuildIndexes, dtasp_RebuildIndexes?" Yes that is true, Microsoft only supports rebuilding database indexes during BizTalk Server downtime. (http://support.microsoft.com/default.aspx/kb/917845/). Did you stop the BizTalk data processing every time you rebuild indexes? Yes, see prevent SQL Server issue (see provided link).
Regards,Steef-Jan Wiggers
MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk Server- Proposed as answer by Andrew_ZhuModerator Monday, February 22, 2010 9:23 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, February 23, 2010 1:24 AM
Monday, February 15, 2010 7:12 PMModerator -
I would expect to also stop the BizTallk applications and hosts too as well as the Enterprise Single Sign-On Windows service because these can cause data changes that would affect your index rebuilding.
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline- Proposed as answer by Andrew_ZhuModerator Monday, February 22, 2010 9:23 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, February 23, 2010 1:24 AM
Tuesday, February 16, 2010 4:14 PMModerator
All replies
-
Hi,
To answer your question: "Is that true that we need to STOP SQL Agent before running the bts_RebuildIndexes, dtasp_RebuildIndexes?" Yes that is true, Microsoft only supports rebuilding database indexes during BizTalk Server downtime. (http://support.microsoft.com/default.aspx/kb/917845/). Did you stop the BizTalk data processing every time you rebuild indexes? Yes, see prevent SQL Server issue (see provided link).
Regards,Steef-Jan Wiggers
MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk Server- Proposed as answer by Andrew_ZhuModerator Monday, February 22, 2010 9:23 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, February 23, 2010 1:24 AM
Monday, February 15, 2010 7:12 PMModerator -
I would expect to also stop the BizTallk applications and hosts too as well as the Enterprise Single Sign-On Windows service because these can cause data changes that would affect your index rebuilding.
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline- Proposed as answer by Andrew_ZhuModerator Monday, February 22, 2010 9:23 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, February 23, 2010 1:24 AM
Tuesday, February 16, 2010 4:14 PMModerator