Table variable in stored proc - query plan reuse

  • Tom Brown (11/15/2011)


    As I understand it - correct me if I'm wrong, its a very recent copy of the DB - but its read-only, so you can run queries in almost real time, without any of the production locks - or is that replication?

    That's a database snapshot. Nothing to do with snapshot isolation (other than in the unfortunate naming)

    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

Viewing post 16 (of 15 total)

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