Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2002
    Posts
    18

    Unanswered: Index Page and Row locking choices

    For MSSQL 2005, is there any reason to not have indexes use the default behaviour of allowing row or page locking?

    Thanks for any help.

    MSP

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Can you expand on what you are asking?

    Are you talking about (NOLOCK)???
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    No Brett, I think pellet is talking about the options at creaetion time:

    ALLOW_ROW_LOCKS
    ALLOW_PAGE_LOCKS
    George
    Home | Blog

  4. #4
    Join Date
    Feb 2002
    Posts
    18
    Yes the options at create time. By default they are both on. I'm just wondering if that may not necessarily be a good thing for certain situations.

  5. #5
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    Depends on your locking\concurrency scheme and how you feel about isolation levels. my current system uses wildly optimistic concurrency.
    “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.

Posting Permissions

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