Solved

critical components:Fragmentatation Critical

Posted on 2011-02-27
2
337 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

786 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