Solved

critical components:Fragmentatation Critical

Posted on 2011-02-27
2
338 Views
Last Modified: 2012-08-14
Hei!
  i am getting the following error on my production DB, which is an Datamart.

"critical components:Fragmentatation Critical"

What do i do?

//shanj
0
Comment
Question by:shanj
2 Comments
 
LVL 15

Expert Comment

by:derekkromm
ID: 34994814
This is a good article to read through to understand fragmentation and how to fix it. Keep in mind this is a multi-page article - the "Next Page" isn't very visible compared to the rest of the page.

http://www.sql-server-performance.com/articles/per/Analyze_and_Fix_Index_Fragmentation_in_SQL_Server_2008_p1.aspx

0
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 34997902
I would use Microsoft own where they give you code sample how to detect it and how to REBUILD the fragmented index:

http://msdn.microsoft.com/en-us/library/ms189858.aspx

Just keep in mind you would want to do that with option ONLINE = ON on live production databases because your queries will run slow due to locking/blocking.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server 2012 rs - Field1 and Field2 add 1 to Total 4 21
SQL Server tables join on parse list 6 34
Query Syntax 17 43
SQL Server 2008 R2, need a pivot/cross tab query... 4 29
     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

828 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