• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • 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 McCauleyData and Analytics 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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