Solved

10774: Forwarded Record Count and avg_fragmentation_in_percent

Posted on 2014-11-24
3
86 Views
Last Modified: 2014-11-25
Hi experts;

What is the relationship or difference between the Forwarded Record Count and avg_fragmentation_in_percent. Since in both cases should make REBUILD
0
Comment
Question by:enrique_aeo
  • 2
3 Comments
 
LVL 48

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 40462494
Forwarded Records usually happens when the table doesn't has a clustered index, so the first option is to create a clustered index and only if isn't possible then you should go for a REBUILD.

avg_fragmentation_in_percent it's the index fragmentation level and depending on the value of this columns the recommended actions are:
If avg_fragmentation_in_percent > 5% and < 30%, then use ALTER INDEX REORGANIZE
If avg_fragmentation_in_percent > 30%, then use ALTER INDEX REBUILD
0
 

Author Comment

by:enrique_aeo
ID: 40462537
The "Forwarded Record Count" could cause fragmentation? or is an entirely different problem?
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40462574
Yes, it can cause and that's why a REBUILD can solve the problem but only with a clustered index you'll be sure that the problem won't appear again in a near future.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tempdb log keep growing 7 33
SQL Server / Update DB? 22 36
SQL R 21 25
Run Stored Procedure uisng ADO 5 20
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

840 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