Database

  • Hi,

    I have one database App with having bulk logged recovery model.one customer raised a question that in this database which operation will run very firstly

    one operation is going to perform insertion of 1000 records and other operation of deleting 1000 records from database which operation will run fast

  • Probably neither.

    http://www.sqlservercentral.com/articles/Recovery+Model/89664/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Arjun SreeVastsva (3/27/2015)


    Hi,

    I have one database App with having bulk logged recovery model.one customer raised a question that in this database which operation will run very firstly

    one operation is going to perform insertion of 1000 records and other operation of deleting 1000 records from database which operation will run fast

    Sounds like an interview question.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply