Home All Groups Group Topic Archive Search About

Clustered index on Identity field

Author
2 Sep 2005 6:43 PM
Pradeep Kutty
Hi All,

I have heard that if you create a clustered index on identity column(PK
also) it would decrease the page splits. But how?

Thanks,
Pradeep

Author
8 Sep 2005 3:27 PM
Andrew J. Kelly
It will eliminate page splits on inserts since all new rows get appended to
the end of the current page.  It does not stop pagespilts due to updates on
existing rows on columns with variable lengths.  But in any case that should
not be your sole motivation for where you place the Clustered Index. You can
also avoid or minimize page splits with a proper fill factor.

--
Andrew J. Kelly  SQL MVP


Show quote
"Pradeep Kutty" <prade***@healthasyst.com> wrote in message
news:eW2tO%23HtFHA.2656@TK2MSFTNGP10.phx.gbl...
> Hi All,
>
> I have heard that if you create a clustered index on identity column(PK
> also) it would decrease the page splits. But how?
>
> Thanks,
> Pradeep
>

AddThis Social Bookmark Button