Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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 Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 10:33 PM
Points: 47, Visits: 143
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-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Yesterday @ 7:30 PM
Points: 36,766, Visits: 31,222
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."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

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

Add to briefcase

Permissions Expand / Collapse