|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, July 13, 2010 5:27 AM
Points: 14,
Visits: 54
|
|
when I rebuild index with (online =on ),the avg_fragmentation_in_percent decrease;but,when I rebuild index without use online Options,it can't affect,this confused me for many days ,who can tell me why?
thanks!
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, July 13, 2010 5:27 AM
Points: 14,
Visits: 54
|
|
| may be related to the number of rows in the table ?when rows is small,it will not affect,but ,when rows is much ,it will affect.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:24 AM
Points: 1,871,
Visits: 2,692
|
|
run this first: ========= DBCC SHOWCONTIG (table_name,index_name) GO =========
note the fragmentation and scan density.....
The execute; ============== DBCC DBREINDEX('table_name',index_name,54) ==============
see any difference in logical frag and extent scan frag? is your scan density = 100% ? is your "Avg Pages per extend = 8" ?
---------------------------------------------- Msg 8134, Level 16, State 1, Line 1 Divide by zero error encountered.
|
|
|
|