Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

Practical demo required

Is there any practical demo for creating the page split and tracking the changes happening in GAM,SGAM?

Is there any practical demo for creating the ROW_IN_DATA and after creation will include column will varchar(max) causing the row_overflow_data to introduced in the page. I would like to see the introduction of 24 byte pointer pointing from original page row_offset to row_overflow_data allocation unit?
0
VIVEKANANDHAN_PERIASAMY
Asked:
VIVEKANANDHAN_PERIASAMY
1 Solution
 
Ryan McCauleyDatabase and Reporting ManagerCommented:
This is some pretty specific knowledge - would it be out of line to ask what you're trying to learn from it? It's all internal structure to the SQL Engine, and while it's interesting, i'm not sure how you'd use it in troubleshooting.

That said, here are some links to a bit more reading you can do:

http://sqlserverpedia.com/wiki/Data_Pages_%26_Extents
http://msdn.microsoft.com/en-us/library/ms190969(v=sql.105).aspx
http://msdn.microsoft.com/en-us/library/ms189087(v=sql.105).aspx

Also, you should be able to demonstrate this by running through a few steps:

1. Create a table with a VARCHAR(MAX) column
2. Insert something into that column that's less than 8K in length. This data will be stored in the row itself.
3. Update that column so that it's longer than 8K - SQL will move this data to long object storage, and include a pointer in the row in its place.

Is there something more specific that you're looking for?
0
 
VIVEKANANDHAN_PERIASAMYAuthor Commented:
I'm reading this topic.Will come back on this question within 2 days.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now