Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    18

    Unanswered: Indexing on Insert Query

    Dear masters,

    I want to know about indexing on insert query. I've read MSDN - Index Structures, but I don't find what I want. This is the case.

    I have a table that only have an index. We know that when an insert query is executed, SQL Server will insert it on table AND index. My table is a heap (just contain non-clustered index).

    What SQL Server do to an (non-clustered) index that newly inserted? When SQL Server split a leaf that becoming full? And how SQL Server maintain that insert? I want for more detail explanation.

    Code:
    http://en.wikipedia.org/wiki/B-tree#Insertion
    SQL Server don't do an insert like this one (wikipedia). So, how SQL Server do to an insert query? do to 1000 insert queries? and last question, how to see it? I used showplan, but I just got very little information.

    Thx for your expertise.

    Regards,
    Wiwin.

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    read books by Kalen Delaney.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Jan 2009
    Posts
    18
    I found this:
    Code:
    http://blogs.msdn.com/sqlcat/archive/2006/02/13/531339.aspx
    I hope it will useful for another users who read this thread. Thx.

    Regards,
    Wiwin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •