Solved

10774: Forwarded Record Count and avg_fragmentation_in_percent

Posted on 2014-11-24
3
79 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 45

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 45

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now