Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ALTER INDEX REORGANIZE Compacts pages that contain large object (LOB) data. Does rebuilding also do it? Expand / Collapse
Author
Message
Posted Sunday, April 27, 2014 2:18 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Yesterday @ 6:56 AM
Points: 106, Visits: 264
hi,
ALTER INDEX REORGANIZE Compacts pages that contain large object (LOB) data.
Does rebuilding also do it?

yours sincerely
Post #1565397
Posted Sunday, April 27, 2014 7:41 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 12:01 PM
Points: 40,532, Visits: 37,770
Wow! Great question. Books Online specifically identifies what will occur with LOBs during a REORGANIZE but says nothing specific about LOBs during REBUILDs. It does say that the index is actually dropped and rebuilt and one can infer that will include any LOB information either in the Clustered Index or INCLUDEs of non-Clustered Indexes but, lately, I'm a little gun-shy and I hate to make an assumption like that.

Let's hope that Gail Shaw sees this. She's an MCM and has probably forgotten more about internals like this than most of us will ever learn.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

Helpful Links:
How to post code problems
How to post performance problems
Post #1565434
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse