?
Solved

10774: Forwarded Record Count and avg_fragmentation_in_percent

Posted on 2014-11-24
3
Medium Priority
?
97 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 51

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 2000 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 51

Accepted Solution

by:
Vitor Montalvão earned 2000 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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Suggested Courses

762 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