In Recovery... | How expensive are page splits in terms of transaction log?

Updated 4 months, 2 weeks ago

Source: http://www.sqlskills.com/

In the example, I'm going to create a table with approximately 1000-byte long rows:

USE pagesplittest;

CREATE CLUSTERED INDEX BigRows_CL ON BigRows (c1);

INSERT INTO BigRows VALUES (2, 'a');

INSERT INTO BigRows VALUES (3, 'a');

INSERT INTO BigRows VALUES (4, 'a');

INSERT INTO BigRows VALUES (6, 'a');

INSERT INTO BigRows VALUES (7, 'a');

I've engineered the case where the clustered index data page has space for one more row, and ...

  • 5 comments on this story
PRO

50% positive

Showing 1 relevant reaction out of 5.

#ktprecon #sqlpass How expensive are page splits in terms of transaction log? http://bit.ly/MqUgU

4 months, 2 weeks ago by paulrandal on Twitter

© uberVU Ltd. 2010

Terms of use
FEEDBACK